[Rt-devel] RT-3.8.1 - How to generate LDAP users automatically before they login

Michael Bieniek michael at bilderhelden.de
Thu Oct 30 05:21:42 EDT 2008


Hi,
i've installed this extension. Now i want to run the ldap import but
all i got back were these 4 lines:

rtinstall:/opt/rt3/local/lib/RT/Extension# perl LDAPImport.pm
Name "RT::LDAPGroupName" used only once: possible typo at
LDAPImport.pm line 340, <DATA> line 275.
Name "RT::LDAPUpdateUsers" used only once: possible typo at
LDAPImport.pm line 276, <DATA> line 275.
Name "RT::LDAPPassword" used only once: possible typo at LDAPImport.pm
line 54, <DATA> line 275.

What i do wrong? My RT_SiteConfig.pm:
# LDAP IMPORT SCRIPT (RT-Extension-LDAPImport)
Set($LDAPHost,'172.30.76.167');
Set($LDAPUser, 'rtldap');
Set($LDAPPassword, '******');
Set($LDAPBase, 'OU=Scanplus,DC=scanplus,DC=local');
Set($LDAPUpdateUsers,1);
Set($LDAPFilter, '(&(sAMAccountName = *))');
Set($LDAPMapping, {Name         => 'sAMAccountName',
                  EmailAddress => 'mail',
                  RealName     => 'cn',
                  WorkPhone    => 'telephoneNumber',
                  Organization => 'departmentName'});

What is wrong? Can anyone help me?

regards
Michael


More information about the Rt-devel mailing list