
Hi Rémi, On Tue, Jul 01, 2003 at 10:10:00AM +0200, remi.seguy@laposte.net wrote:
your line in LDAP.pm :
# bind with user data -> real user auth. # -- $Result = $LDAP->bind(dn => $UserDN, password => $Param{Pw});
my line in LDAP.pm : I need this syntax to work with my Exchange LDAP auth
# bind with user data -> real user auth. # -- $UserDN = 'cn='.$Param{User}.',ou=GMN,o=MININT'; $Result = $LDAP->bind(dn => $UserDN , password => $Param{Pw});
I don't see how to set the $Self->{'AuthModule::LDAP::BaseDN'} in the config.pm so I've modified the source code.
If I see it correctly, add to the Kernel/Config.pm, after [...] # ----------------------------------------------------# # own config settings # # ----------------------------------------------------# [...] The LDAP agent auth stuff: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'your-ldap-exchange-server'; $Self->{'AuthModule::LDAP::BaseDN'} = 'ou=GMN,o=MININT'; $Self->{'AuthModule::LDAP::UID'} = 'cn'; For config file see also the online-doc (http://doc.otrs.org/ -> Config File).
Rémi
-Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --