
Stephan Lauffer wrote:
hi muttis, hi martin!
On Mon, Apr 05, 2004 at 08:58:07PM +0200, Martin Edenhofer wrote:
Date: Mon, 5 Apr 2004 20:58:07 +0200 From: Martin Edenhofer
To: Development community of OTRS Subject: Re: [dev] Programming LDAP Auth API X-Mailer: Muttis Mailer / Mutt 1.4i (2002-05-29) On Mon, Apr 05, 2004 at 12:11:39PM -0600, Tyler Hepworth wrote:
Which modules contain the code for authenticating against LDAP and creating
martin: and c) creating in SyncLDAP2Database() of Kernel/System/User.pm, nor?!
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)
Thank you Martin and Stephan. Tyler
participants (1)
-
Tyler Hepworth