
Hi Eivind, On Tue, Jan 13, 2004 at 10:10:58AM +0100, Eivind Arnesen wrote:
In order to authenticate customers against active directory, I had to modify /opt/otrs/Kernel/System/CustomerAuth/LDAP.pm.
if (!$LDAP->bind(dn=>'validuser@mydomain,mydomain', password=>'validpassword')) {
instead of: if (!$LDAP->bind(dn => $Self->{SearchUserDN}, password => $Self->{SearchUserPw}))
I expect that this should not be neccessary....
Like Thomas wrote. And it isn't neccessary. You can use config options for search users his. [Kernel/Config.pm] # The following is valid but would only be necessary if the # anonymous user do NOT have permission to read from the LDAP tree $Self->{'Customer::AuthModule::LDAP::SearchUserDN'} = ''; $Self->{'Customer::AuthModule::LDAP::SearchUserPw'} = ''; [...]
Eivind
Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!