
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. Thanks, Tyler Hepworth

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!

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)
Tyler Hepworth
Martin Edenhofer
-- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
_______________________________________________ OTRS mailing list: dev - Webpage: http://otrs.org/ Archive: http://lists.otrs.org/pipermail/dev To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
-- Liebe Gruesse, with best regards Stephan Lauffer [ Pedagogical University Freiburg - Germany ] [ http://www.ph-freiburg.de/zik/ ] [ Fon/ Fax: +49 761 682 -459/ -486 ]

Hi Stephan, On Mon, Apr 05, 2004 at 08:57:56PM +0200, Stephan Lauffer wrote:
Date: Mon, 5 Apr 2004 20:58:07 +0200 Subject: Re: [dev] Programming LDAP Auth API
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?!
Yes. Thanks! Martin -- ((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg http://www.otrs.de/ :: Manage your communication!
participants (3)
-
Martin Edenhofer
-
Stephan Lauffer
-
Tyler Hepworth