modifyTimestamp on samba-3.0.3

Stefan (metze) Metzmacher metze at samba.org
Thu May 6 14:27:53 GMT 2004


Jim McDonough schrieb:

> 
> 
> 
> 
>>We cannot remove the \"modifyTimestamop\" from atrrib_map_v30[], because
> 
> this
> 
>>attribute list will be used in ldapsam_getsampwnam to get the ldap entry
>>which is used in init_sam_from_ldap. If an attribute is not in that entry,
> 
> 
>>the call ldap_get_values will fail. This is why the bad_password_count
> 
> didn\'t
> 
>>work on 3.0.3, in which the ldapsam_get_entry_timestamp will always fail.
> 
> I haven't yet verified that this is the source of your problems, but the
> patch you included breaks all systems where you don't have "ldap delete dn
> = yes", because we will try to delete all the attributes rather than the
> entire dn, and you can _never_ delete an operation attribute.
> 
> This patch as submitted must not be included until the code is modified to
> handle not deleting certain attributes.

Thanks Jim!!!
I didn't thought about that...



-- 
metze

Stefan Metzmacher <metze at samba.org> www.samba.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 194 bytes
Desc: OpenPGP digital signature
Url : http://lists.samba.org/archive/samba-technical/attachments/20040506/fa818ea4/signature.bin


More information about the samba-technical mailing list