diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-03-22 19:16:36 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-03-22 19:16:36 +0000 |
commit | 49c0726fca900e0b368bb25788b2a2880b093ea2 (patch) | |
tree | 8b96636e3d16c000c01e5b435812b59bb6973195 /testsuite | |
parent | 1f499a79f5468e87d26b60ffe3aa375b91cadbef (diff) | |
download | samba-49c0726fca900e0b368bb25788b2a2880b093ea2.tar.gz samba-49c0726fca900e0b368bb25788b2a2880b093ea2.tar.bz2 samba-49c0726fca900e0b368bb25788b2a2880b093ea2.zip |
This changes the way we do LDAP updates. We don't use LDAP_MOD_MODIFY
anymore, but instead look at what is currently stored in the
database. Then we explicitly delete the existing attribute and add the
new value if it is not NULL or "". This way we can handle appearing
and disappearing attributes quite nicely.
This currently breaks pdbedit -o, as this does not set the CHANGED
flag on the SAM_ACCOUNT.
Jelmer suggested that we set all the fields on CHANGED in
context_add_sam_account. This sounds not too unreasonable.
Volker
(This used to be commit a75015c9ce8246670ee7c7d73df585390696fe95)
Diffstat (limited to 'testsuite')
0 files changed, 0 insertions, 0 deletions