Hello,

Here is our configuration :
- Open Atrium 1.0
- ldap_integration 6.x-1.x-dev
- extended_ldapgroups 6.x-1.x-dev
- cas 6.x-3.x-dev
- cas_attributes 6.x-3.0-beta2
- PHP 5.2
- MySQL 5.1

With the LDAP module, when listing users or going to user/(userId)/edit ->

warning: array_fill() [function.array-fill]: Number of elements must be positive in sites/all/modules/ldap_integration/ldapdata.module on line 224.

warning: implode() [function.implode]: Invalid arguments passed in sites/all/modules/ldap_integration/ldapdata.module on line 224.

user warning: You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ') AND type = 'date'' at line 1 query: SELECT name, options from profile_fields WHERE name IN () AND type = 'date' in sites/all/modules/ldap_integration/ldapdata.module on line 225.

Any ideas or comments would be very usefull.

Comments

johnbarclay’s picture

Without debugging the code itself, I would try the beta2 version next to debug this, or some snapshot in between the two (see http://drupalcode.org/project/ldap_integration.git/shortlog/refs/heads/6...)

Alot of patches were committed the last week or so and that will help isolate the problem.

ridfactys’s picture

Hello johnbarclay,

Thanks for your answer.
The registration with the LDAP_integration module on git repository does not return any error message, it seems good.
git clone git://drupalcode.org/project/ldap_integration.git

But there is still the same error on registration.
At admin/user/cas, when "User Account" is set to "Automatically create Drupal accounts", the account of a new user is created in LDAP and in drupal's user table, but when on login with CAS the following errors is displayed :

A new account could not be created for "user". The username is already in use on this site.

Thanks for the git version, it solved the displaying of errors messages.

Do you know if it was produced by fixing the php/mysql trouble or by just disabling the return of errors messages ?

Anyway, the version solved this issue, thanks a lot.
The trouble was solved here http://drupal.org/node/1246412#comment-4875088

ridfactys’s picture

Status: Active » Closed (fixed)