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: [EMAIL PROTECTED] 
bOKUMailDrop: [EMAIL PROTECTED] 
bOKUMailAddress: [EMAIL PROTECTED] 
bOKUMailAddress: [EMAIL PROTECTED] 
bOKUMailAddress: [EMAIL PROTECTED] 
bOKUMailAddress: [EMAIL PROTECTED] 
bOKUMailAddress: [EMAIL PROTECTED] 
nGWVisibility: 2
nGWObjectID: grey
nGWPostOffice: cn=Erde,o=lacerta
nGWFileID: 274
nGWGroupWiseID:
Sonne.Erde.grey{106}2A828E00-14E7-0000-8BF2-65004B00F800
mail: [EMAIL PROTECTED] 
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
[EMAIL PROTECTED] 
(phone) +43 1 47654 2142 
(fax) +43 1 47654 2149
_______________________________________________
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

Reply via email to