Fix setting passwords in pdb_ads
authorVolker Lendecke <vl@samba.org>
Sat, 20 Jun 2009 09:46:42 +0000 (11:46 +0200)
committerVolker Lendecke <vl@samba.org>
Sat, 20 Jun 2009 10:15:21 +0000 (12:15 +0200)
commit62eb817c06458070d090c1698e9c0a99914c6d78
tree548fccb93f17e823c85802b8719bb11d6011a107
parentf24e63af2c27fdb68dfe3151eac30960316157c2
Fix setting passwords in pdb_ads

The samba4 password_hash module does not allow changing the password fields via
the "delete oldval" -> "add newval" set of modify operations, it requires a
single "replace with newval" operation.

Andrew, Samba3 by default uses that delete/add pair to detect if between
fetching the old value and storing the new one the old value has changed. This
is lost by using the "replace" operation.

Would it make sense to add this to the password_hash module?

Volker
source3/passdb/pdb_ads.c