From: kmet <km...@ga...> - 2006-04-12 07:45:13
|
Mike Craig napisa=C5=82(a): > Ok, no attachment then...=20 > [Mike Craig]=20 >=20 > With the settings below, Mantis just hangs when I access the My Account= page and the Sign Up page. >=20 > ________________________________________ > From: Mike Craig=20 > Sent: Monday, April 10, 2006 1:47 PM > To: 'man...@li...' > Subject: Active Directory Support >=20 > (Ok 3rd question for the day, this should be my last) >=20 > I've read the section in the Manual about LDAP authentication, but am s= till fuzzy on it.=20 >=20 > Has anyone written a How To on this?=20 >=20 > Here is the section from my config_inc.php file: >=20 > $g_login_method =3D 'LDAP'; > $g_ldap_server =3D 'ldap://swfdc01.chp.local/'; > $g_ldap_root_dn =3D 'OU=3DUser OU,DC=3DCHP,DC=3DLOCAL'; > $g_ldap_uid_field =3D 'sAMAccountName'; > $g_ldap_bind_dn =3D 'CN=3DUnrestricted Users,OU=3DUser OU,D= C=3DCHP,DC=3DLOCAL'; > $g_use_ldap_email =3D OFF; >=20 > And a screen shot of the AD control panel (let me know if this doesn't = come through, I can email it directly if you'd like) >=20 >=20 > I have a user in Mantis, that I created with a User ID and PWD that mat= ches my domain user account. (ie. Craimx1) >=20 > What else do I need to do to make this work? Do I need special LDAP ext= ensions in PHP? In Apache? >=20 > Thanks I have a "working AD authentication" in this way : $g_ldap_server =3D '192.168.0.10'; $g_ldap_port =3D '389'; $g_ldap_root_dn =3D 'dc=3Dmydoamin,dc=3Dlocal'; $g_ldap_organization =3D ''; $g_ldap_uid_field =3D 'sAMAccountName'; $g_ldap_bind_dn =3D'CN=3DLDAP,CN=3DUsers,DC=3Dmydoamin,= DC=3Dlocal'; $g_ldap_bind_passwd =3D 'clear_text_password'; I have a user in AD : LDAP password : 'clear_text_password' Mantis use this user to "read AD" and to authenticate other AD users. I had to create users in mantis (actually I put them directly to=20 database - (300 users)). I have php4-ldap module installed. regards Kmet |