<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-family:"Calibri","sans-serif";}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal">I am trying to import all my LDAP account into RT and put them into groups. The test doesn’t seem to be working.<o:p></o:p></p>
<p class="MsoNormal">Here is the debug information<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">Testing group import<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[Thu Feb 16 22:39:24 2012] [debug]: Processing group Students (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)<o:p></o:p></p>
<p class="MsoNormal">Found existing group Students to update<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">No members found for Students in Member_Attr<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[Thu Feb 16 22:39:24 2012] [debug]: Processing group STAFF (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)<o:p></o:p></p>
<p class="MsoNormal">Found existing group STAFF to update<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">No members found for STAFF in Member_Attr<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[Thu Feb 16 22:39:24 2012] [debug]: Processing group FACULTY (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)<o:p></o:p></p>
<p class="MsoNormal">Found existing group FACULTY to update<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">No members found for FACULTY in Member_Attr<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[Thu Feb 16 22:39:24 2012] [debug]: Processing group Technology (/opt/rt4/local/plugins/RT-Extension-LDAPImport/lib/RT/Extension/LDAPImport.pm:855)<o:p></o:p></p>
<p class="MsoNormal">Found existing group Technology to update<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">No members found for Technology in Member_Attr<o:p></o:p></p>
<p class="MsoNormal">[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)<o:p></o:p></p>
<p class="MsoNormal">Finished test<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Here is my configuration…<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Set($LDAPHost,'xxxx.xxx.edu');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPUser,'CN=LDAPRT,OU=CampusServices,DC=xxxxxx,DC=xxx,DC=edu');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPPassword,'xxxxxxxxx');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPBase, 'OU=xxx,DC=xxxxxx,DC=xxx;DC=EDU');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPCreatPrivileged, 1);<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPFilter, '(&(objectCategory=person)(objectClass=user)( !(userAccountControl:1.2.840.113556.1.4.803:=2)))');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPMapping, {Name => 'sAMAccountName',<o:p></o:p></p>
<p class="MsoNormal"> EmailAddress => 'mail',<o:p></o:p></p>
<p class="MsoNormal"> Organization => 'physicalDeliveryOfficeName',<o:p></o:p></p>
<p class="MsoNormal"> RealName => 'cn',<o:p></o:p></p>
<p class="MsoNormal"> ExternalAuthId => 'sAMAccountName',<o:p></o:p></p>
<p class="MsoNormal"> Gecos => 'sAMAccountName',<o:p></o:p></p>
<p class="MsoNormal"> WorkPhone => 'telephoneNumber',<o:p></o:p></p>
<p class="MsoNormal"> Address1 => 'streetAddress',<o:p></o:p></p>
<p class="MsoNormal"> City => 'l',<o:p></o:p></p>
<p class="MsoNormal"> State => 'st',<o:p></o:p></p>
<p class="MsoNormal"> Zip => 'postalCode',<o:p></o:p></p>
<p class="MsoNormal"> Country => 'co'});<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPGroupBase, 'CN=Users,DC=xxxxxx,DC=xxx,DC=edu');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPGroupFilter, '(|(CN=Technology)(CN=FACULTY)(CN=STAFF)(CN=STUDENTS))');<o:p></o:p></p>
<p class="MsoNormal">Set($LDAPGroupMapping, {Name => 'cn', Member_attr => 'member'});<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Van Howell<o:p></o:p></p>
<p class="MsoNormal">System Administrator<o:p></o:p></p>
<p class="MsoNormal">Lubbock Christian University<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</body>
</html>