
On 25/6/04 11:33 am, Varsani, Rajendrakumar (PSD)
Hi Xavier,
I hope you don't mind me emailing you directly, but how DID you get OTRS to authenticate against LDAP? I'm new to LDAP so I have no idea.
Rajendrakumar Premji Varsani BSc (Hons)
It is very easy. You have to install the Net::LDAP perl modules first. Since I'm one of the Net::LDAP developers I already had these :-) Then you modify your Kernel/Config.pm file and add: $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP'; $Self->{'AuthModule::LDAP::Host'} = 'your-ldap-server-name'; $Self->{'AuthModule::LDAP::BaseDN'} = 'some-subtree'; $Self->{'AuthModule::LDAP::UID'} = 'uid'; What it does is it binds anonymously to the LDAP server on your-ldap-server-name, and then search the subtree some-subtree for an entry with uid equal to whatever the user logs in as. It then does a bind as that user. Essentially some-subtree must be an object higher up in your directory than all your users. Cheers, Chris