Closed (won't fix)
Project:
LDAP integration
Version:
5.x-1.3
Component:
User interface
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
27 Mar 2007 at 14:39 UTC
Updated:
6 Aug 2011 at 18:56 UTC
I have search everywhere but i cant get any help. I have drupal installed and works perfect with my ldap server. It syncs and authenticates the passwords with no problem. But the problem is that drupal only changes de user password. Can i make drupal change the samba password at the same time. I am running a pdc wich authentificates with ldap also.
Thanks a lot in advance.
Comments
Comment #1
scafmac commentedNot that I'm aware of. This is an LDAP/AD module - maybe in a future release. On our site there is already a password reset service/policy, so we disabled password change and redirect them to the prior-existing site.
Comment #2
scafmac commentedOn reviewing the post, I see you feel this is urgent. Both Kreaper and I are pretty busy and barely able to keep on top of patches. If you want to submit a patch, we'd look at it. Or if you wanted to sponsor a patch, contact me directly by clicking on my username and emailing.
Comment #3
fams commentedi posted a patch to do it
http://drupal.org/node/127935
Comment #4
alakad commentedyes, i have allready seen that patch, but is it compatible with 5.x, and how do i applied. Thanks a lot
Comment #5
alakad commentedI have tried the patch with 5.1 drupal and its doesnt work at all. I also tried the patch with the 4.7 version of drupal but when i change the password i keep getting this error. I use php5
* warning: array_merge() [function.array-merge]: Argument #2 is not an array in /var/www/drupal/modules/ldap_integration/ldapdata.module on line 451.
* warning: array_merge() [function.array-merge]: Argument #1 is not an array in /var/www/drupal/modules/ldap_integration/ldapdata.module on line 455.
Comment #6
fams commentedsorry for the late
strange behaviour... send me your ldapdata.module
Comment #7
geste commentedI'm curious to know if another revision of this patch was produced or maybe merged.
My situation: I am running Drupal 5.2 with Fedora Directory Server LDAP. LDAP is also password back-end for our Samba 3 domain. We also use Webserver_auth module that trusts our university PubCookie system.
Sooooo, it would be great to have a Drupal page that would allow folks to change Unix password and Samba password simultaneously. Your patch seems like the way to do it, but I was unsure of situation/status.
Thanks,
Jim
Comment #8
Cantalamessa commentedI have a fast solution, while we wait for a working patch, which requires that DRUPAL and SMB are on the same server
In function ldapdata_user_update_drupal_account() of the ldapdata.module, put the following code
and edit with visudo the sudoers file, adding the following line
where wwwrun should be the user running the HTTP server and hostname should be the name of the host.
This "patch" script may present some security issues, thus use it only if you know what you are doing.
Comment #9
johnbarclay commentedClosing 5.x issues to clean out issue queue.
Comment #10
johnbarclay commentedClosing 5.x issues to clean out issue queue.