Customer User Backend with Novell eDirectory

Hi i'm trying to configure otrs with our eDir - this should be just like any other ldap-server, but it doesn't work: when i search for a user when starting a phone-message, it simply returns nothing - no error, but no results found. in the syslog htere is also no information... pls help:) thx Grey the relevant parts of my config.pm and a sample ldapsearch ... i $Self->{CustomerUser} = { Module => 'Kernel::System::CustomerUser::LDAP', Params => { # ldap host Host => 'lacerta.boku.ac.at', # ldap base dn BaseDN => 'o=lacerta', # search scope (one|sub) SSCOPE => 'sub', # The following is valid but would only be necessary if the # anonymous user does NOT have permission to read from the LDAP tree UserDN => 'cn=ldap,o=lacerta', UserPw => 'pw', }, # customer uniq id CustomerKey => 'dn', # customer # CustomerID => 'bOKUMailSMA', CustomerUserListFields => ['uid', 'cn', 'bOKUMailSMA'], CustomerUserSearchFields => ['uid', 'cn', 'bOKUMailSMA'], CustomerUserPostMasterSearchFields => ['bOKUMailSMA'], CustomerUserNameFields => ['givenname', 'sn'], Map => [ # note: Login, Email and CustomerID needed! # var, frontend, storage, shown, required, storage-type [ 'UserSalutation', 'Title', 'title', 1, 0, 'var' ], [ 'UserFirstname', 'Firstname', 'givenName', 1, 1, 'var' ], [ 'UserLastname', 'Lastname', 'sn', 1, 1, 'var' ], [ 'UserLogin', 'Login', 'uid', 1, 1, 'var' ], [ 'UserEmail', 'Email', 'bOKUMailSMA', 1, 1, 'var' ], [ 'UserCustomerID', 'CustomerID', 'bOKUMailSMA', 0, 1, 'var' ], [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ], [ 'UserAddress', 'Address', 'postaladdress', 1, 0, 'var' ], [ 'UserComment', 'Comment', 'description', 1, 0, 'var' ], ], }; # ldapsearch -h lacerta -D cn=ldap,o=lacerta -w pw -x uid=grey version: 2 # # filter: uid=grey # requesting: ALL # # grey, lacerta dn: cn=grey,o=lacerta bOKUMailSMA: gregor.weissmann@boku.ac.at bOKUMailDrop: grey@regulus.boku.ac.at bOKUMailAddress: gw@boku.ac.at bOKUMailAddress: grey@boku.ac.at bOKUMailAddress: grey@leo.boku.ac.at bOKUMailAddress: virus-alert@boku.ac.at bOKUMailAddress: listmaster@leo.boku.ac.at nGWVisibility: 2 nGWObjectID: grey nGWPostOffice: cn=Erde,o=lacerta nGWFileID: 274 nGWGroupWiseID: Sonne.Erde.grey{106}2A828E00-14E7-0000-8BF2-65004B00F800 mail: grey@lacerta.boku.ac.at uid: grey givenName: Gregor fullName: Gregor Weissmann Language: ENGLISH sn: Weissmann securityEquals: cn=administrator,o=lacerta passwordAllowChange: TRUE objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: person objectClass: ndsLoginProperties objectClass: top networkAddress:: MSON9Adl networkAddress:: MSON9AZH eMailAddress:: NyNncmV5QFNvbm5lLkVyZGUA loginTime: 20030701140844Z loginDisabled: FALSE groupMembership: cn=SNISERVMAN,o=lacerta cn: grey ACL: 2#subtree#cn=grey,o=lacerta#[All Attributes Rights] ACL: 6#entry#cn=grey,o=lacerta#loginScript ACL: 2#entry#[Public]#messageServer ACL: 2#entry#[Root]#groupMembership ACL: 6#entry#cn=grey,o=lacerta#printJobConfiguration ACL: 2#entry#[Root]#networkAddress ACL: 29#subtree#[Root]#[Entry Rights] ACL: 47#subtree#[Root]#[All Attributes Rights] # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 -- Gregor Weissmann - Zentraler Informatikdienst(ZID) der Boku/Wien gregor.weissmann@boku.ac.at (phone) +43 1 47654 2142 (fax) +43 1 47654 2149

Hi Gregor, On Wed, Jul 02, 2003 at 05:23:58PM +0200, Gregor Weissmann wrote:
i'm trying to configure otrs with our eDir - this should be just like any other ldap-server, but it doesn't work: when i search for a user when starting a phone-message, it simply returns nothing - no error, but no results found. in the syslog htere is also no information...
[config settings]
It looks like perfect. -=> Did you restart the webserver after changing Kernel/Config.pm? (if you use mod_perl then Kernel/Config.pm is compiled just one time)
Grey
-Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ --
participants (2)
-
Gregor Weissmann
-
Martin Edenhofer