This line is plaguing me!
warning: ldap_modify() [function.ldap-modify]: Modify: Referral in ****/modules/ldap_integration/includes/LDAPInterface.inc on line 257.
From LDAPInterface.inc, line 257:
function writeAttributes($dn, $attributes) {...
....
ldap_modify($this->connection, $dn, $attributes);
}
Recreate:
1) User logs in and authenticates to LDAP directory.
2) User clicks "My Account > Edit > LDAP entry"
3) User changes information and clicks "Save" then gets the above error with the LDAP repopulating the old information.
Maybe I'm just not understanding how Data's Attributes works, but this is what I have for my settings:
givenName|text|textfield|First Name|64|64
sn|text|textfield|Last Name|64|64
I am connecting to our Mac OS X 10.5.7 OpenDirectory LDAP server. BINDing with a limited user that allows data manipulation and password changes only. IT has the master controlled without the ability for users to update their own data. Also, I cannot get the password field to update either.
I have done a lot of research and digging into the code and have been able to populate users and groups, but I'm still not getting why saving back to the LDAP isn't working. And I know that ldap_modify() is a PHP function and you really don't have anything to do with that, but is it possible that someone the attributes aren't getting arranged correctly in the array?
And not to sound rude or anything, because I really DO appreciate how hard you guys work, but are going to provide real documentation regarding this module? Or at least updating your ChangeLog??? The last dated change in your 6.x-1.x-dev was 2007-08-29!!
I guess the other reason for posting this is to see if there are any other Mac OS X 10.5.7 users that have this module installed and working correctly... all the googling i've done hasn't turned up anything and I've already spent weeks trying to get mod to work right... ;(
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | 502590-ldap_integration-writeAttributes_debugging.patch | 875 bytes | john franklin |
Comments
Comment #1
markhalliwellobviously no one checks these things... jeez
Comment #2
vincetingey commentedWas there a fix for this?
I'm getting this now on my production server running php 5.3. I'm not getting this error on the development server that is running php 5.2.
Comment #3
cgmonroe commentedClosing because it can't be reproduced with the current dev... and with few people reporting this problem, plus a little Googling for the message showing this message is generally related to php talking to ldap... I'm pretty sure this is due to site specific LDAP's security setting or maybe replication/relocation problem.
I'd suggest getting a tool like JXPlorer and using this to test the configuration info. E.g., if you're binding with the user info to do the update, try using a normal user's dn/password and editing attributes in JXP, and the like. This will let you work with your LDAP admin to get things set up correctly.
Comment #4
kash83 commentedHey guys,
I've got the same problem with saving the fields in my user-profile back to LDAP (its an active directory server with win 2003).
Im using drupal 6.26 with PHP 5.3.8.
I tried it via an domain-admin account which can edit ldap entries. but this doesnt work.
I dont know how to fix this...
Comment #5
john franklin commentedThese are usually configuration issues, such as misspelled attributes, or an LDAP object class requires a field that is not provided, or the syntax of the data provided doesn't conform to LDAP's spec.
Unfortunately, there is not enough information provided by LDAP Integration to determine the culprit. The attached patch calls watchdog with the LDAP error and, if ldapauth_debug is set, a var_export of the attributes array.