svn commit: samba r18875 - in branches/SAMBA_3_0/source/groupdb: .

tridge at tridge at
Mon Sep 25 03:05:51 GMT 2006


 > I think we could allow empty strings when using tdb, but then we would
 > be incompatible with ldap. 

any thoughts on doing it in ldb_msg_add_string() ? That can't break
any existing code, as currently any code passing an empty string into
there will get an error. Just to be sure I have tested and make test

It also will not affect anything we do as an ldap server.

 > I never really liked ldb_msg_sanity_check() either but I don't think we
 > should be silently removing attributes, we may hide a real bug that way.

how could the ldb_msg_add_string() change hide a real bug? Do you
really think we have code that relies on getting back an error when an
empty string is added to a ldb message ?

Cheers, Tridge

More information about the samba-technical mailing list