meaning of AuthSyncModule::LDAP::UserSyncInitialGroups

Moderator: crythias

Locked
MarekK
Znuny newbie
Posts: 4
Joined: 27 Jun 2014, 15:03
Znuny Version: 3.3.8
Company: ITMarka

meaning of AuthSyncModule::LDAP::UserSyncInitialGroups

Post by MarekK »

I have in my Config.pm lines concerning AuthSyncModule::LDAP::UserSyncInitialGroups

To be precise:
After:

Code: Select all


# Enable LDAP lookups for Agent logins.
    $Self->{'AuthModule'} = 'Kernel::System::Auth::LDAP';
    $Self->{'AuthModule::LDAP::Host'} = 'dc1.cpddb.local';
    $Self->{'AuthModule::LDAP::BaseDN'} = 'dc=cpddb,dc=local';
    $Self->{'AuthModule::LDAP::UID'} = 'sAMAccountName';

    $Self->{'AuthModule::LDAP::SearchUserDN'} = 'CN=search,OU=IT,OU=External,DC=cpddb,DC=local';
    $Self->{'AuthModule::LDAP::SearchUserPw'} = 'pass';


# Enable LDAP lookups of Agent account informations and default roles.

    $Self->{'AuthSyncModule'} = 'Kernel::System::Auth::Sync::LDAP';
    $Self->{'AuthSyncModule::LDAP::Host'} = 'dc1.cpddb.local';
    $Self->{'AuthSyncModule::LDAP::BaseDN'} = 'dc=cpddb,dc=local';
    $Self->{'AuthSyncModule::LDAP::UID'} = 'sAMAccountName';

    $Self->{'AuthSyncModule::LDAP::SearchUserDN'} = 'CN=search,OU=IT,OU=External,DC=cpddb,DC=local';
    $Self->{'AuthSyncModule::LDAP::SearchUserPw'} = 'pass';
I have:

Code: Select all

 $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'}=[
        'users',
    ];
I thought that it puts all newly created Agents (when they first log in) to the "Users" OTRS group
but it doesn't. In my opinion Agent is created but is not put in any of groups.

Now I think it is some kind of necessary line that is needed for initialization of newly created agent but to make it adding to Users group there are some more lines necessary.

Can anyone explain me that mystery?
Or at least link me to the documentation where all that parameters are well described?

thanks
Marek
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: meaning of AuthSyncModule::LDAP::UserSyncInitialGroups

Post by crythias »

http://otrs.github.io/doc/manual/admin/ ... h-backends

Don't forget:

Code: Select all

# defines AuthSyncBackend (AuthSyncModule) for AuthModule
# if this key exists and is empty, there won't be a sync.
# example values: AuthSyncBackend, AuthSyncBackend2
$Self->{'AuthModule::UseSyncBackend'} = 'AuthSyncBackend';
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
MarekK
Znuny newbie
Posts: 4
Joined: 27 Jun 2014, 15:03
Znuny Version: 3.3.8
Company: ITMarka

Re: meaning of AuthSyncModule::LDAP::UserSyncInitialGroups

Post by MarekK »

Thank you Crythias
Locked