r18910: Change ldb_msg_add_string() to not actually add an attribute if the
authorAndrew Tridgell <tridge@samba.org>
Tue, 26 Sep 2006 01:21:34 +0000 (01:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:20 +0000 (14:20 -0500)
commit26ece8f69772a0991a7299cdef8403a9ad1ad48a
tree37bf44b0c941b2fcb476493fd0ab3da343d00c21
parent460679fd53dd47841b685907a586721f01a38b6f
r18910: Change ldb_msg_add_string() to not actually add an attribute if the
string is zero length. This allows callers to not have to worry about
creating an invalid ldap attribute.

See extensive discussion on samba-technical list :-)
(This used to be commit 7a1db8c2a432b9ab59b29ee1bfce6c8fe8e981a2)
source4/lib/ldb/common/ldb_msg.c