
Some more info (sorry it was line 279) Here the code from LDAP.pm and line 279 in bold. - - if ($UserSyncInitialGroups) { my %Groups = $Self->{GroupObject}->GroupList(); for ( @{$UserSyncInitialGroups} ) { my $GroupID = ''; for my $GID ( keys %Groups ) { if ( $Groups{$GID} eq $_ ) { $GroupID = $GID; } } next if !$GroupID; $Self->{GroupObject}->GroupMemberAdd( GID => $GroupID, UID => $UserID, Permission => { rw => 1, }, UserID => 1, ); } - - Best,. Dave On 11 dec 2009, at 11:25, Dave Lageweg wrote:
Hi All,
I have setup LDAP for Agent login almost successfully. Login is working but when i use this code in my config.pm to add the user standard to the group users.
- - $Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = { 'users', }; - -
I receive the following error when a user tries to login for the first time..
- - Software Error:
Not an ARRAY reference at /opt/otrs//Kernel/System/Auth/Sync/LDAP.pm line 27 - -
IUser is created but not added to the group. I'm using OTRS 2.4.5. does anyone have any idea what this could be?
Thanks!
Best, Dave --------------------------------------------------------------------- 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
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW! http://www.otrs.com/en/support/enterprise-subscription/