s4-ldb: use a helper function for single valued checking
authorAndrew Tridgell <tridge@samba.org>
Sun, 13 Feb 2011 23:07:21 +0000 (10:07 +1100)
committerAndrew Tridgell <tridge@samba.org>
Mon, 14 Feb 2011 06:55:08 +0000 (17:55 +1100)
commita48328a8282d116d17515cfe681c1b41f6541d39
treebe1a0cdc1cd41ce7b526fe1761e9c4d55b10344b
parenta26f8b8ae6e147b59747cb140dbde2eddef8c970
s4-ldb: use a helper function for single valued checking

this gives us a single piece of logic for single value checking in the
tdb backend

Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
source4/lib/ldb/ldb_tdb/ldb_tdb.c