diff options
author | Volker Lendecke <vlendec@samba.org> | 2003-03-22 19:15:50 +0000 |
---|---|---|
committer | Volker Lendecke <vlendec@samba.org> | 2003-03-22 19:15:50 +0000 |
commit | a9aa2cb025e382ac5801d78462cc6e017e41a438 (patch) | |
tree | b2089a61f33f05bb0df7867c5f8aa8a1beb6bb52 /source3/rpc_parse | |
parent | 5050e8ee1a1fd3280d65d22c079ac90cf7e454e9 (diff) | |
download | samba-a9aa2cb025e382ac5801d78462cc6e017e41a438.tar.gz samba-a9aa2cb025e382ac5801d78462cc6e017e41a438.tar.bz2 samba-a9aa2cb025e382ac5801d78462cc6e017e41a438.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 f7149cf500d2b10ee72163c018a39fdd192d7632)
Diffstat (limited to 'source3/rpc_parse')
0 files changed, 0 insertions, 0 deletions