[otrs-de] User-Authentifizierung ueber LDAP]

Robert Kehl robert.kehl at otrs.de
Mon Mar 8 19:11:47 CET 2004


On Monday, March 08, 2004 8:18 AM
Nora Bernhard <n.bernhard at efkon.com> wrote:
>>     # (customer user ldap backend and settings)
>>     $Self->{CustomerUser} = {
>>         Name => 'LDAP Backend',
>>         Module => 'Kernel::System::CustomerUser::LDAP',
>>         Params => {
>>             # ldap host
>>             Host => 'localhost',
>>             # ldap base dn
>>             BaseDN => 'ou=people,dc=efkon,dc=com',
>>             # 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 => '',
>> #            UserPw => '',
>>             },
>>         # customer uniq id
>>         CustomerKey => 'cn',
>>         # customer #
>>         CustomerID => 'uid',
>>         CustomerUserListFields => ['cn', 'mail'],
>>         CustomerUserSearchFields => ['uid', 'cn', 'mail'],
>>         CustomerUserPostMasterSearchFields => ['uid', 'mail'],
>>         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', 'mail', 1, 1, 'var' ],
>>             [ 'UserCustomerID', 'CustomerID', 'uid', 1, 1, 'var' ],
>>             [ 'UserPhone', 'Phone', 'telephonenumber', 1, 0, 'var' ],
>> #            [ 'UserAddress', 'Address', 'postaladdress', 1, 0,
>>             'var' ], [ 'UserComment', 'Comment', 'description', 1,
>>         0, 'var' ], ],
>>     };

Lass' die beiden letzten Kommentare mal weg. Kontrolliere, ob Deine
originale Config.pm ebenfalls solche Zeilensprünge hat, wie obiges -
auch korrigieren. Besser nun?

Werden Dir die CustomerUser denn angezeigt bei:
http://localhost/otrs/index.pl?Action=AdminCustomerUser

Immer noch fröhlich grüßt

Robert Kehl

--
((otrs.de)) :: OTRS GmbH :: Norsk-Data-Str. 1 :: 61352 Bad Homburg
         http://www.otrs.de/ :: Tel. +49 (0)6172 4832388

--
Im Großen und Ganzen war es ein Spiel, das, wenn es anders läuft, auch
anders hätte ausgehen können.
Eike Immel