r18910: Change ldb_msg_add_string() to not actually add an attribute if the
commit7a1db8c2a432b9ab59b29ee1bfce6c8fe8e981a2
authorAndrew Tridgell <tridge@samba.org>
Tue, 26 Sep 2006 01:21:34 +0000 (26 01:21 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:20:20 +0000 (10 14:20 -0500)
tree8576771784771b05d7f688e676b2b870a4092ddc
parent3ce1796eb4cca7fd78366ee540a998a1ca377866
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 :-)
source/lib/ldb/common/ldb_msg.c