ldap without root password

Get help from other users here.

Moderators: Developer, Contributor

Post Reply
mdpetry
Posts: 1
Joined: 29 Mar 2007, 20:10

ldap without root password

Post by mdpetry »

Hi all

I'm trying use LDAP autentication to access Mantis, but every documentation needs some information for $g_ldap_bind_dn and $g_ldap_bind_passwd variables, but these variables is for root access, and i can't use this data!

is there another way to authenticate ladap user? my config files is:
$g_login_method = LDAP;
$g_ldap_server = 'ldap://ldap.ucs.br:389';
$g_ldap_root_dn = 'ou=people,dc=ucs,dc=br';
$g_ldap_organization = '';
$g_ldap_uid_field = 'uid';
$g_ldap_bind_dn ='';
$g_ldap_bind_passwd = '';
$g_use_ldap_email = OFF;
the version of mantis is 1.0.6
Bijesz
Posts: 4
Joined: 03 Aug 2007, 19:56

Post by Bijesz »

Hi mdpetry,

Although it's an old post and you probably found the answer I reply it to avoid confusion.

The variables $g_ldap_bind_dn $g_ldap_bind_passwd is because secure LDAP systems configured to not allow anonymous browsing of the directory. Hence if you not provide a valid account then you won't be able to connect to the LDAP. If your LDAP is configured to allow anonymous access you can ommit these variables.
W2K3 AD domains do not allow anonymous access.
Post Reply