s4-ldb: fixed error on single value error
commit9c1e230bc217e7d1ce0ef713a17982a8536584a1
authorAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 2009 07:57:06 +0000 (6 18:57 +1100)
committerAndrew Tridgell <tridge@samba.org>
Tue, 6 Oct 2009 07:57:06 +0000 (6 18:57 +1100)
tree248584ff07d46f1f1405fd80d2229825a3c47ef0
parentb43479741a3d9ae1abb91a5297a36f9d5e6d864b
s4-ldb: fixed error on single value error

When you try to add a 2nd value to a single valued attribute you get
LDB_ERR_ATTRIBUTE_OR_VALUE_EXISTS. w2k8-r2 join to s4 relies on this
error, doing a replace after it sees the error
source4/lib/ldb/ldb_tdb/ldb_tdb.c