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 17:14:45 +0000 (12:14 -0500)
commit45c0a4874bcfc25f6ab28531d771ba0198191bbe
tree013dc3efa8a1177ede262eeff0411a3060466cda
parent28800c54dc835d8a3aa97299b1df989ddfd04df2
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 9e66df05a4df3d3c7b02048d80e2661103d1d40a)
source3/lib/ldb/common/ldb_msg.c