[rt-users] import ldap users in RT with RT::Authen::ExternalAuth

Gary Greene ggreene at minervanetworks.com
Fri Jul 3 16:43:22 EDT 2009


On 7/3/09 1:15 PM, "Natxo Asenjo" <natxo.asenjo at gmail.com> wrote:

> On Fri, Jul 3, 2009 at 9:51 PM, Gary Greene<ggreene at minervanetworks.com>
> wrote:
>> On 7/3/09 11:30 AM, "Natxo Asenjo" <natxo.asenjo at gmail.com> wrote:
> 
>>> The settings in RT_SiteConfig.pm are:
>>> 
>>> Set($LDAPHost,'host.domain.tld');
>>> Set($LDAPUser, 'cn=user,dc=domain,dc=tld');
>>> Set($LDAPPassword, 'password');
>>> Set($LDAPBase, 'ou=users,dc=domain,dc=tld');
>>> Set($LDAPFilter, 'cn = *');
>>> Set($LDAPMapping, {Name         => 'uid',
>>>                     EmailAddress => 'mail',
>>>                     RealName     => 'cn',
>>>                     WorkPhone    => 'telephoneNumber',
>>>                     Organization => 'departmentName'});
> 
> [knip]
> 
>> Your filter is incomplete. Are you using AD or OpenLDAP?
> 
> openldap. So any tips about how the filter should look like?
> 
> TIA,
> 
> Natxo
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Community help: http://wiki.bestpractical.com
> Commercial support: sales at bestpractical.com
> 
> 
> Discover RT's hidden secrets with RT Essentials from O'Reilly Media.
> Buy a copy at http://rtbook.bestpractical.com

You'll likely want to do something like this:

(&(objectClass = person)(uid = *))




More information about the rt-users mailing list