
On Mon, Apr 05, 2004 at 12:11:39PM -0600, Tyler Hepworth wrote:
Which modules contain the code for authenticating against LDAP and creating a new user based off of the LDAP Query? I need to reprogram them to work against Active Directory. I don't believe AD is "PosixAccount" or "inetOrgPerson" compliant (am I wrong)? Even if it is, my AD entries certainly are not compliant with these structures. My AD entries typically consist of a username and displayname. The display name contains the persons full name. None of the other fields are filled in. I plan to rewrite the modules so that displayname is queried and then broken up into proper first/last name. I already have the code to do this, I just need to know where to put it.
a) [Kernel/Config.pm] # UserSyncLDAPMap # (map if agent should create/synced from LDAP to DB after login) $Self->{UserSyncLDAPMap} = { # DB -> LDAP Firstname => 'givenName', Lastname => 'sn', Email => 'mail', }; b) Kernel/System/Auth/LDAP.pm (http://doc.otrs.org/1.2/en/html/dev-custom-modules-aauth.html)
Tyler Hepworth
Martin Edenhofer -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!