Rt-mailgate with external authentication

Hi,
I setup external authentication using apache NTLM module.
Everything is working fine except the mail ticket submission.
I configured my aliases file to use rt-mailgate and setup rt-mailgate
URL switch like http://user:password@hostname
http://user:password@hostname/ .
Apache error.log file gives the following error: missing/corrupt NTLM
header.
Is it any way to setup rt-mailgate with external apache authentication?
I will appreciate any help.
Regards,
Ely.

Is it any way to setup rt-mailgate with external apache authentication?
I will appreciate any help.

I saw some patches awhile ago that would let you do this. You could
also just tell apache not to require auth on the NoAuth stuff.

seph

I found a lot of problems with the NTLM plugin. I’m using the perl
module Apache::AuthenSmb. For mailgate and admin users I have a local
htpasswd. Here’s my relevant configuration:

If anyone notices flaws, please let me know!

AuthType Basic
AuthName “USE YOUR DOMAIN ACCOUNT LOG-ON”

next 5 lines to use NT domain authentication

PerlAuthenHandler Apache::AuthenSmb
PerlSetVar myPDC
PerlSetVar myPDC <primary- probably don’t need the redundancy :wink:
PerlSetVar myBDC
PerlSetVar myDOMAIN <domain here!>

next 2 lines to use htpasswd file authentication

AuthUserFile /usr/local/apache/conf/htpasswd.dat
AuthGroupFile /dev/null
require valid-user

AllowOverride None

AllowOverride AuthConfig
Options Indexes ExecCGI FollowSymLinks MultiViews
Order allow,deny
Allow from all

good luck!

rickOn Wed, 2004-08-18 at 06:19, Ely Zavin wrote:

Hi,

I setup external authentication using apache NTLM module.

Everything is working fine except the mail ticket submission.

I configured my aliases file to use rt-mailgate and setup rt-mailgate
URL switch like http://user:password@hostname.

Apache error.log file gives the following error: missing/corrupt NTLM
header.

Is it any way to setup rt-mailgate with external apache
authentication?

I will appreciate any help.

Regards,

Ely.



http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Be sure to check out the RT wiki at http://wiki.bestpractical.com
Rick Rezinas
Unix Systems Administrator
Qsent, Inc.

  • ely@txc.com (Ely Zavin) [Wed 18 Aug 2004, 15:20 CEST]:

I setup external authentication using apache NTLM module.
Everything is working fine except the mail ticket submission.

LWP::UserAgent doesn’t support NTLM authentication.

You can configure /NoAuth/ to not require authentication (the
mail-gateway script lives below here) as another poster noted,
or perhaps work around authentication in another way; several
options are available in Apache to selectively require authen-
tication from clients.

-- Niels.