LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doublets
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Thu, 10 May 2012 14:18:37 +0000 (16:18 +0200)
committerAndrew Bartlett <abartlet@samba.org>
Tue, 21 Aug 2012 23:31:57 +0000 (01:31 +0200)
commit32cd618e6c0d44e0f64409ceda8451cc4665e625
tree2029a5fdf30cef2f38441f453037d3fd029e952e
parentcb63b34b053119fcab093e95f555840afa9cfdcf
LDB:ldb_tdb.c - deny multi-valued attributes manipulation with doublets

This refers to LDB add operations as well, we have only to be careful on
"@ATTRIBUTES" entries.

E.g.

dn: cn=testperson,cn=users,dc=...,dc=...
objectClass: person
url: www.example.com
url: www.example.com

should not work.

Signed-off-by: Andrew Bartlett <abartlet@samba.org>
lib/ldb/ldb_tdb/ldb_tdb.c