
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) -----Original Message----- From: Xavier Scolard [mailto:testman57fr@yahoo.fr] Sent: Friday, June 25, 2004 8:41 AM To: otrs@otrs.org Subject: [otrs] LDAP and Multigroup Hello, I'm currently in the process of deploying an otrs system, and I found that I could use our already set up ldap server for user and customer authentification, along with customer data. That's already quite nice. But is there a way to use the "ou" field of the ldap entries to affect users "automagically" to the correct group (each group would be a predefined department like IT, sales...), and make this work in a multi-group setup ? This way all employees would be "users", but only in their department, and customer of all others... If it needs a little programming, I'm ready to begin that, but I first need to know if it is feasible... Thanks in advance -- Xavier Scolard _______________________________________________ OTRS mailing list: otrs - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/otrs To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/otrs Support oder Consulting für Ihr OTRS System? => http://www.otrs.de/ Department for Environment, Food and Rural Affairs (Defra) This email and any attachments is intended for the named recipient only. Its unauthorised use, disclosure, storage or copying is not permitted. If you have received it in error, please destroy all copies and inform the sender. Whilst this email and associated attachments will have been checked for known viruses whilst within Defra systems we can accept no responsibility once it has left our systems. Communications on Defra's computer systems may be monitored and/or recorded to secure the effective operation of the system and for other lawful purposes.

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
participants (2)
-
Chris Ridd
-
Varsani, Rajendrakumar (PSD)