Hi,
It seems like LDAP authenticated users cannot use the BlogApi. On my server i can correctly blog as Admin but not with one of the LDAP authenticated users. It just gives a invalid user/password error (maybe caused by the random password written into the database).
Thr routine that logs in (blogapi_validate_user()) calls user_athenticated with the plaintext username/password from the xmlrpc request.
Any idea how to solve this?
Comments
Comment #1
miglius commentedIn order to authenticate against ldap instead of a drupal database, a ldapauth_authenticate() function should be called instead of user_authenticate().
Comment #2
miglius commentedComment #3
kacy commentedI did this little modification in the blogapi.module file, replacing line
by
which seems to be working...
I'm running drupal-6.11 and ldap_integration version = "6.x-1.x-dev" / datestamp = "1241828033"
Comment #4
jzornig commentedThis patch worked for me: Drupal 6.14 & LDAP integration 6.x-1.0-beta2
Pity the change has to be made to the blogapi.module and is not something that can be integrated into LDAP Integration module.
Comment #5
john franklin commentedWith Drupal 6.15 and LDAP Auth 6.x-1.0-beta2 I also had force the permission cache to be rebuilt.
Change:
To:
Comment #6
cgmonroe commentedClearing out old support requests - reopen if problem still exists in newest code