Hi Rory,
Thanks for you comments but that didn't helped.
I have tried the following config:
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = {
'users'
};
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = 'users';
$Self->{'AuthSyncModule::LDAP::UserSyncInitialGroups'} = {
'users',
};
But all are not working... :-(
Best,
Dave
On 11 dec 2009, at 12:25, Rory wrote:
Sorry, I should say that I'm talking about the comfig.pm parameter;
'users',
should be just;
'users'
All the best,
Rory
--
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/12/11 Rory <rclerkin@gmail.com>:
I think it might simply be that you need to remove the comma before
the closing bracket.
I expect that because of the comma it is passing the data through as
an array and doesn't like it.
I hope that helps,
Rory Clerkin
--
Support my 365 Challenge in aid of the Irish Cancer Society
www.365challenge.ie
2009/12/11 Dave Lageweg <dave@lageweg.eu>:
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/
---------------------------------------------------------------------
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/
---------------------------------------------------------------------
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/
---------------------------------------------------------------------
OTRS mailing list: otrs - Webpage:
http://otrs.org/Archive:
http://lists.otrs.org/pipermail/otrsTo unsubscribe:
http://lists.otrs.org/cgi-bin/listinfo/otrsNEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/