CVS update: samba/source/passdb
vlendec at samba.org
vlendec at samba.org
Sun Mar 23 06:16:36 EST 2003
Date: Sat Mar 22 19:16:36 2003
Author: vlendec
Update of /data/cvs/samba/source/passdb
In directory dp.samba.org:/tmp/cvs-serv4877
Modified Files:
Tag: SAMBA_3_0
pdb_ldap.c
Log Message:
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
Revisions:
pdb_ldap.c 1.28.2.22 => 1.28.2.23
http://www.samba.org/cgi-bin/cvsweb/samba/source/passdb/pdb_ldap.c?r1=1.28.2.22&r2=1.28.2.23
More information about the samba-cvs
mailing list