I've configured Drupal to connect and authenticate (anonymously) to my LDAP Server (openLDAP). When I log in everything is fine. When I go into My Account I get the following on my page:
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Server\htdocs\drupal\sites\all\modules\ldap_integration\ldapdata.module on line 355.
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Server\htdocs\drupal\sites\all\modules\ldap_integration\ldapdata.module on line 355.
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Server\htdocs\drupal\sites\all\modules\ldap_integration\ldapdata.module on line 355.
warning: in_array() [function.in-array]: Wrong datatype for second argument in C:\Server\htdocs\drupal\sites\all\modules\ldap_integration\ldapdata.module on line 355.
Here's my configuration:
Authentication:
-> mode = MIXED
-> conflict resolve procedure = Associate local account with the LDAP entry
-> Do not store users' passwords during sessions
-> Remove password change fields from user edit form
-> Remove email field from form
Data:
-> Should Drupal account fields be mapped to LDAP Attributes?: Same, but read-only mode.
-> Fields -> mail = mail, pass = userpassword, signature = sn (didn't know what else to put)
I have not configured groups. (It's not relevant?)
Anyways, am I not configuring properly?? Does it have to do with the Drupal fields? Any help would be appreciated!
Thanks!
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | ldapdata.patch | 533 bytes | acrollet |
Comments
Comment #1
acrollet commentedHi there,
this shows up if you haven't set up your ldapdata preferences at /admin/settings/ldapdata and specified which attributes may be viewed by the user... The patch I'm attaching fixed it for our installation.
-Adrian
Comment #2
miglius commentedComment #3
miglius commentedI believe that this issue is fixed in the dev version. Could you verify it?
Comment #4
miglius commentedComment #5
miglius commentedClosing as it is fixed in the dev version.