[rt-users] LDAP Import groups question
Howell, Van
van.howell at lcu.edu
Thu Feb 16 17:45:12 EST 2012
I am trying to import all my LDAP account into RT and put them into groups. The test doesn't seem to be working.
Here is the debug information
[Thu Feb 16 22:39:24 2012] [debug]: Imported 5221/5221 users (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Testing group import
[Thu Feb 16 22:39:24 2012] [debug]: searching with base => 'CN=Users,DC=xxxxxx,DC=xxx,DC=edu' filter => '(|(CN=Technology)(CN=FACULTY)(CN=STAFF)(CN=STUDENTS))' (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [debug]: search found 4 objects (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [debug]: Processing group Students (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Found existing group Students to update
[Thu Feb 16 22:39:24 2012] [debug]: Processing group membership for Students (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [warning]: No members found for Students in Member_Attr (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:874)
No members found for Students in Member_Attr
[Thu Feb 16 22:39:24 2012] [debug]: Imported 1/4 groups (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [debug]: Processing group STAFF (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Found existing group STAFF to update
[Thu Feb 16 22:39:24 2012] [debug]: Processing group membership for STAFF (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [warning]: No members found for STAFF in Member_Attr (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:874)
No members found for STAFF in Member_Attr
[Thu Feb 16 22:39:24 2012] [debug]: Imported 2/4 groups (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [debug]: Processing group FACULTY (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Found existing group FACULTY to update
[Thu Feb 16 22:39:24 2012] [debug]: Processing group membership for FACULTY (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [warning]: No members found for FACULTY in Member_Attr (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:874)
No members found for FACULTY in Member_Attr
[Thu Feb 16 22:39:24 2012] [debug]: Imported 3/4 groups (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [debug]: Processing group Technology (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Found existing group Technology to update
[Thu Feb 16 22:39:24 2012] [debug]: Processing group membership for Technology (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
[Thu Feb 16 22:39:24 2012] [warning]: No members found for Technology in Member_Attr (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:874)
No members found for Technology in Member_Attr
[Thu Feb 16 22:39:24 2012] [debug]: Imported 4/4 groups (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)
Finished test
Here is my configuration...
Set($LDAPHost,'xxxx.xxx.edu');
Set($LDAPUser,'CN=LDAPRT,OU=CampusServices,DC=xxxxxx,DC=xxx,DC=edu');
Set($LDAPPassword,'xxxxxxxxx');
Set($LDAPBase, 'OU=xxx,DC=xxxxxx,DC=xxx;DC=EDU');
Set($LDAPCreatPrivileged, 1);
Set($LDAPFilter, '(&(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2)))');
Set($LDAPMapping, {Name => 'sAMAccountName',
EmailAddress => 'mail',
Organization => 'physicalDeliveryOfficeName',
RealName => 'cn',
ExternalAuthId => 'sAMAccountName',
Gecos => 'sAMAccountName',
WorkPhone => 'telephoneNumber',
Address1 => 'streetAddress',
City => 'l',
State => 'st',
Zip => 'postalCode',
Country => 'co'});
Set($LDAPGroupBase, 'CN=Users,DC=xxxxxx,DC=xxx,DC=edu');
Set($LDAPGroupFilter, '(|(CN=Technology)(CN=FACULTY)(CN=STAFF)(CN=STUDENTS))');
Set($LDAPGroupMapping, {Name => 'cn', Member_attr => 'member'});
Van Howell
System Administrator
Lubbock Christian University
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20120216/a8648860/attachment.htm>
More information about the rt-users
mailing list