[rt-users] RE: LDAP (AD) supported?
Russell Mosemann
mose at ns.cune.edu
Thu Apr 21 09:03:07 EDT 2005
On Wed, 20 Apr 2005, Michael Pelletier wrote:
> I downloaded the LDAPSMB1.2_RT3 package and installed everything.
> However, I am having problems connecting to AD...I keep getting "Logon
> failed"
Have you tried the parameters by hand to make sure that they work?
> $LdapServer="servername.domain.com"; (Real name has been removed)
> $LdapUser="CN=my-account-name,OU=PGIC Users,DC=domain,DC=com";
> $LdapPass="my-password";
> $LdapBase="DC=domain,DC=com"; # search base
> $LdapUidAttr="SAMAccountName"; # attribute for RT user name
> $LdapFilter="(objectclass=*)"; # filter LDAP entries (e.g., only
ldapsearch -D "CN=my-account-name,OU=PGIC Users,DC=domain,DC=com" -w my-password -b "DC=domain,DC=com" "(&(objectclass=*)(SAMAccountName=some-username)"
> $LdapMap = { # map LDAP attributes to RT3
> # 'RT user paramater' => 'LDAP entry',
> 'Name' => $RT::LdapUidAttr,
> 'EmailAddress' => 'mail',
> 'RealName' => 'cn',
> };
The LDAP fields mail and cn exist?
----
Russell Mosemann, Ph.D. * Computing Services * Concordia University, Nebraska
"Spit happens" - seen on a bib
More information about the rt-users
mailing list