Dear both,

the UserSyncLDAPMap configuration has been changed since OTRS 2.4.
Please have a look into the Defaults.pm on line 429 (OTRS 2.0.6) or just search 
for “AuthSyncModule” (this is the new name).

The UserSyncLDAPMap is not enough anymore, now you need to specify the LDAP 
params again.
The actual mapping is done with:

    # AuthSyncModule::LDAP::UserSyncMap
    # (map if agent should create/synced from LDAP to DB after successful login)
#    $Self->{'AuthSyncModule::LDAP::UserSyncMap'} = {
#        # DB -> LDAP
#        UserFirstname => 'givenName',
#        UserLastname  => 'sn',
#        UserEmail     => 'mail',
#    };

Starting at line 445 in Defaults.pm (OTRS 3.0.6)

Cheers, Nils

On 31.03.2011, at 17:46, Gerald Young wrote:

> Agents need to be added manually before they can be authenticated. 
> 
> On Thu, Mar 31, 2011 at 10:21 AM, Neil Simpson <[email protected]> wrote:
> Hello All,
> 
> i've been trying to google for an answer to this likely easy issue:
> 
> i configured otrs-ldap to fetch users from AD but i get "Panic, user 
> authenticated but no user data can be found in OTRS DB!! Perhaps the user is 
> invalid."
> 
> my config.pm file looks like this:
> $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
>     $Self->{'AuthModule::LDAP::Host'} = 'BLANKED.com';
>     $Self->{'AuthModule::LDAP::BaseDN'} = 'DC=BLANKED,DC=com';
>     $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';
> 
>     # Check if the user is allowed to auth in a posixGroup
>     # (e. g. user needs to be in a group xyz to use otrs)
>     $Self->{'AuthModule::LDAP::GroupDN'} = 
> 'CN=BLANKED,CN=Users,DC=BLANKED,DC=com';
>     $Self->{'AuthModule::LDAP::AccessAttr'} = 'member';
> 
>     # The following is valid but would only be necessary if the
>     # anonymous user do NOT have permission to read from the LDAP tree
>     $Self->{'AuthModule::LDAP::SearchUserDN'} = '[email protected]';
>     $Self->{'AuthModule::LDAP::SearchUserPw'} = 'BLANKED;
> 
>     $Self->{'AuthModule::LDAP::UserLowerCase'} = 0;
> 
>     $Self->{UserSyncLDAPMap} = {
>         # DB -> LDAP
>         UserFirstname => 'givenName',
>         UserLastname => 'sn',
>         UserEmail => 'mail',
>     };
> 
>     $Self->{'AuthModule::LDAP::Die'} = 1;

-- 
Nils Leideck
http://webint.cryptonode.de / a Fractal project

---------------------------------------------------------------------
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