Hello,
Could someone help about the meaning of uid?
My ldap administrator tell me that users should use their mail adresses (firstname.lastname@domain.com) but when i try to create new account, I can't write a full mail adress (too many characters) , or i can't write a name like firstname.lastname because Mantis don't trust the dot.
Thank you in advance for all your help.
ldap for mantis
Moderators: Developer, Contributor
Hi,
I'm not an LDAP guru, so I might be talking complete nonsense here. If so, please disregard this message :)
It looks like your LDAP admin uses e-mail addresses to identify users (is that Active Directory btw?) instead of a login. If his scheme doesn't have unique fields like "uid" or "cn" to identify users, I think you have a problem. If it does, I think you should try to use that.
Greetings,
Hans
I'm not an LDAP guru, so I might be talking complete nonsense here. If so, please disregard this message :)
It looks like your LDAP admin uses e-mail addresses to identify users (is that Active Directory btw?) instead of a login. If his scheme doesn't have unique fields like "uid" or "cn" to identify users, I think you have a problem. If it does, I think you should try to use that.
Greetings,
Hans
-
cjk
ldap for mantis
Hello,
Thank you for your answer.
In fact, I 've seen an extraction of an ldif entry for the ldap server we use and it seems that uid is the mail adress. Maybe I can expect for a future version of mantis that allow email adress as a user login.
Thank you for your answer.
In fact, I 've seen an extraction of an ldif entry for the ldap server we use and it seems that uid is the mail adress. Maybe I can expect for a future version of mantis that allow email adress as a user login.
-
cjk
ldap for mantis
Hi Narcissus
Thanks for this answer, I'm going to try this on monday!
Just one thing, Do you know how can i bypass the limitation of 32 characters for the username (changing the size of the field in mysql?)
Thanks a lot!
Thanks for this answer, I'm going to try this on monday!
Just one thing, Do you know how can i bypass the limitation of 32 characters for the username (changing the size of the field in mysql?)
Thanks a lot!
-
shawnwe
Having problems with LDAP myself
Everything works with LDAP and the machine as far as authentication, but have been unable to get it to work with Mantis. POSIX, Samba, SSH, etc...
$g_ldap_server = 'ldap://ldap.machinename.com/';
$g_ldap_port = '389';
$g_ldap_root_dn = 'dc=machinename, dc=com';
$g_ldap_uid_field = 'uid'; # Use 'sAMAccountName' for Active Directory
$g_ldap_bind_dn = 'ou=People, dc=machinename, dc=com';
$g_ldap_bind_passwd = '*******';
ldapsearch returns
dn: uid=evanssh,ou=People,dc=machinename,dc=com
$g_ldap_server = 'ldap://ldap.machinename.com/';
$g_ldap_port = '389';
$g_ldap_root_dn = 'dc=machinename, dc=com';
$g_ldap_uid_field = 'uid'; # Use 'sAMAccountName' for Active Directory
$g_ldap_bind_dn = 'ou=People, dc=machinename, dc=com';
$g_ldap_bind_passwd = '*******';
ldapsearch returns
dn: uid=evanssh,ou=People,dc=machinename,dc=com