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!

CommentFileSizeAuthor
#1 ldapdata.patch533 bytesacrollet

Comments

acrollet’s picture

StatusFileSize
new533 bytes

Hi 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

miglius’s picture

Assigned: Unassigned » miglius
Status: Active » Needs review
Issue tags: +ldapdata
miglius’s picture

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

I believe that this issue is fixed in the dev version. Could you verify it?

miglius’s picture

Status: Needs review » Postponed (maintainer needs more info)
miglius’s picture

Status: Postponed (maintainer needs more info) » Fixed

Closing as it is fixed in the dev version.

Status: Fixed » Closed (fixed)
Issue tags: -ldapdata

Automatically closed -- issue fixed for 2 weeks with no activity.