s4-ldb: validate the type of the ldb argument to ldb_dn_new()
authorAndrew Tridgell <tridge@samba.org>
Fri, 8 Jan 2010 22:03:08 +0000 (09:03 +1100)
committerAndrew Tridgell <tridge@samba.org>
Fri, 8 Jan 2010 23:15:12 +0000 (10:15 +1100)
commit39a4e2a38d0a6767ebca13efaee0ac61297ad45b
treee6dfd6f18c4996f517d238ebc55e5c1295fbf90c
parent7eee8e053b22b9be8cd6de5a27efb19fe914039a
s4-ldb: validate the type of the ldb argument to ldb_dn_new()

It has been a common bug to get the first two arguments the wrong way
around
source4/lib/ldb/common/ldb_dn.c