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

miglius’s picture

Status: Active » Postponed (maintainer needs more info)
Issue tags: +ldapdata

Can you please test a dev version, those issues should be solved there.

jfha73’s picture

Version: 6.x-1.0-alpha2 » 6.x-1.x-dev

I tried, but it is not solved on the dev version either.

miglius’s picture

Have you uninstalled previous version before installing the dev one, or did you just overwrite the code?

jfha73’s picture

yes I did and ran update.php after copying the module's folder too.

I other words, here is how I did it:

  1. Disable and Uninstall the old version
  2. copy the module folder to the server
  3. Ran Update.php
  4. Enable the new version

And it still shows.

jfha73’s picture

OK, 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.

jfha73’s picture

One 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.

miglius’s picture

LDAP 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.

jfha73’s picture

I 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.

cgmonroe’s picture

Status: Postponed (maintainer needs more info) » Closed (fixed)

Clearing out old support requests - reopen if problem still exists in newest code