[MRBS-general] LDAP bind issue
Brought to you by:
jberanek
From: Steve B. <SB...@ei...> - 2013-09-30 21:26:59
|
HI All, Firstly I have zip knowledge of programing let alone PHP! I have set up MRBS on an IIS7.5 server that talks to both a MySQL DB server & a Microsoft AD Server 2008 R2 server. I've confirmed the LDAP Bind User via Softerra's LDAP Browser on the IIS Server and I'm able to browse the AD tree with the bind users credentials, yet when I attempt a log on I get "Unknown User". The PHP error log has the following for each attempt: PHP Notice: Undefined variable: s in C:\inetpub\wwwroot\mrbs\config.inc.php on line 96 authLdapAction: Got LDAP connection authLdapAction: Result of initial bind is authValidateUserCallback: base_dn 'OU=Users,OU=SUPPORT,OU=xxx,DC=xxx,DC=CAMPUS' dn '' user 'sbluck' authValidateUserCallback: Bind to '' failed Config.inc.php LDAP settings with line number: 87. $ldap_debug = true; //for debugging, turn off when working 88. //$ldap_tls = true; 89. $ldap_host = "x.x.x.x"; 90. $ldap_port = 636; 91. $ldap_v3 = true; 92. $ldap_base_dn[] ="OU=Users,OU=SUPPORT,OU=xxx,DC=xxx,DC=CAMPUS"; 93. $ldap_user_attrib[] = "cn"; 94. $ldap_dn_search_attrib = "sAMAccountName"; 95. $ldap_dn_search_dn = "CN=LDAP,OU=Users,OU=SUPPORT,OU=xxx,DC=xxx,DC=CAMPUS"; 96. $ldap_dn_search_password = "%w)1d=Q#Ta3RRqpxf8$s"; 97. $ldap_dn_search_attrib = "sAMAccountName"; 98. $ldap_disable_referrals = TRUE; 99. $ldap_get_user_email = TRUE; 100. $ldap_email_attrib = 'mail'; 101. $ldap_admin_group_dn = 'OU=Users,OU=SUPPORT,OU=xxx,DC=xxx,DC=CAMPUS'; 102. $ldap_group_member_attrib = 'memberOf'; My guess is that the special characters in the password are the issue? Or am I missing something else? Any help would be appreciated! Cheers Steve |