When I enable LDAP Data it shows this:
* user warning: Data truncated for column 'ldapdata_rwattrs' at row 1 query: ALTER TABLE ldapauth CHANGE ldapdata_rwattrs `ldapdata_rwattrs` TINYTEXT NOT NULL in /path/to/drupal/includes/database.mysql-common.inc on line 520.
* user warning: Data truncated for column 'ldapdata_roattrs' at row 1 query: ALTER TABLE ldapauth CHANGE ldapdata_roattrs `ldapdata_roattrs` TINYTEXT NOT NULL in /path/to/drupal/includes/database.mysql-common.inc on line 520.
* user warning: Data truncated for column 'ldapdata_mappings' at row 1 query: ALTER TABLE ldapauth CHANGE ldapdata_mappings `ldapdata_mappings` TINYTEXT NOT NULL in /path/to/drupal/includes/database.mysql-common.inc on line 520.
Comments
Comment #1
miglius commentedCan you please test a dev version, those issues should be solved there.
Comment #2
jfha73 commentedI tried, but it is not solved on the dev version either.
Comment #3
miglius commentedHave you uninstalled previous version before installing the dev one, or did you just overwrite the code?
Comment #4
jfha73 commentedyes I did and ran update.php after copying the module's folder too.
I other words, here is how I did it:
And it still shows.
Comment #5
jfha73 commentedOK, I finally got it to work using the dev version, but now the problem is when I add fields to the LDAP data such as:
department|text|textfield|Department|64|64
streetAddress|text|textfield|Street Address|64|64
l|text|textfield|City|64|64
st|text|textfield|State|64|64
postalCode|text|textfield|Zip Code|64|64
telephoneNumber|text|textfield|Phone Numner|64|64
It shows no information taken from LDAP in the user's account.
I configured these fields to use a Domain admin account to edit the fields so the users can edit them.
Is there anything I'm missing here?
Thanks in advance for any information you can provide.
Comment #6
jfha73 commentedOne more thing,
I noticed that after a user logs out and tries to log back in it doesn't allow to login and it locks out the domain admin account used for authentication.
Comment #7
miglius commentedLDAP server can be configured in many ways. I would suggest running LDAP server in the debug mode or sniff the traffic. Then you will know exactly what's going on, which search queries are executed and what results are given back.
Comment #8
jfha73 commentedI don't think that's possible, because this LDAP is an AD server being used and it cannot be stopped for reconfiguration.
Do you have any other suggestion.
Comment #9
cgmonroe commentedClearing out old support requests - reopen if problem still exists in newest code