I had to use as a LDAP server the directory service of the Communigate Pro software. The only way to bind to this server was using only the username (not the dn).
This workaround to the code of the drupal ldap module in file "ldap_integration/ldap_integration/ldapauth.module" worked for me and will show you better than my words what I need...
line ~592:
// Get distinguished name
# $dn = _ldapauth_login2dn($login_name);
$dn = $login_name;
if (empty($dn)) {
continue;
Can you please make binding with plain username the default? Now if you don't setup any parameter it will default to some standard Active Directory binding "sAMAccountName=username".
Thanks in advance,
Lucio
Comments
Comment #1
13013 commentedComment #2
johnbarclay commentedClosing 5.x issues to clean out issue queue.