Apache Auth, mailgate problems!

Hello!
I was doing a upgrade of our RT (2.0.15) to RT3.2.1. I have set up
everything and all seems to work.
The problem I’m having now, is that the place where RT resides requires
LDAP authentication. It seems that rt-mailgate requires access to the
webpage. How do I fix this? No mail is delivered to RT3 due to the LDAP
auth. All authentication is handled by apache.

/nisse

<±-// \–+>
Datorcentralen Luel� tekniska universitet
Name: Nils-Erik Svang�rd e-mail: nisse@dc.ltu.se
Ph: +46-920-49244 URL:http://www.dc.ltu.se
<±-\ //–+>

Nils-Erik Svang�rd wrote:

Hello!
I was doing a upgrade of our RT (2.0.15) to RT3.2.1. I have set up
everything and all seems to work.
The problem I’m having now, is that the place where RT resides requires
LDAP authentication. It seems that rt-mailgate requires access to the
webpage. How do I fix this? No mail is delivered to RT3 due to the LDAP
auth. All authentication is handled by apache.
RT has special code for /NoAuth dir handling.
You should disable LDAP auth for it in apache too or
hack rt-mailgate, LWP can handle HTTP auth protocols.

Hello!
I was doing a upgrade of our RT (2.0.15) to RT3.2.1. I have set up
everything and all seems to work.
The problem I’m having now, is that the place where RT resides requires
LDAP authentication. It seems that rt-mailgate requires access to the
webpage. How do I fix this? No mail is delivered to RT3 due to the LDAP
auth. All authentication is handled by apache.

I presume that you are talking about how rt-mailgate needs to pass the
authentication which your apache webserver is requiring?

One solution I have used for this is as follows in /etc/aliases:

rt: “|/usr/bin/rt-mailgate --queue home --action correspond --url \
https://webusername:webpassword@hostname.domainname.com

I also had to set up a webusername within RT to be able to have privileges.

rob

Ruslan U. Zakirov wrote:

Nils-Erik Svang�rd wrote:

Hello!
I was doing a upgrade of our RT (2.0.15) to RT3.2.1. I have set up
everything and all seems to work.
The problem I’m having now, is that the place where RT resides
requires LDAP authentication. It seems that rt-mailgate requires
access to the webpage. How do I fix this? No mail is delivered to RT3
due to the LDAP auth. All authentication is handled by apache.

RT has special code for /NoAuth dir handling.
You should disable LDAP auth for it in apache too or
hack rt-mailgate, LWP can handle HTTP auth protocols.

/nisse

Hmm I cant get it to work!
Now the LDAP auth wont work its prob. a simple error that I dont see.

ServerName rtsite.stuff.se DocumentRoot /info/install/rt3.2.1/share/html AuthType Basic AuthName 'stuff' AuthLDAPStartTLS On ... Require valid-user Option Indexes FollowSymLinks AllowOverride None order allow, deny allow from all Satisfy Any
 AllTheRT_Stuff On

This makes it authenticate to the ldapserver but RT wants me to login
anyway, even thoug I have externalauth on, if i turn off
internalfallback then I cant log in to RT.
ARRG… any ideas?
/nisse

<±-// \–+>
Datorcentralen Luel� tekniska universitet
Name: Nils-Erik Svang�rd e-mail: nisse@dc.ltu.se
Ph: +46-920-49244 URL:http://www.dc.ltu.se
<±-\ //–+>