s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate"
authorMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 4 Mar 2011 09:44:22 +0000 (10:44 +0100)
committerMatthias Dieter Wallnöfer <mdw@samba.org>
Fri, 4 Mar 2011 21:07:24 +0000 (22:07 +0100)
commit349b9b72ec36194a1275eaa42ca145071256b623
tree1727c1db47c347aae354f796bcbc3a13c00810c8
parent746194cfc4e0c119e1947f79ffc7cb50d50b9f43
s4:dsdb - we don't need to check if a DN != NULL if we call "ldb_dn_validate"

"ldb_dn_validate" is NULL-safe and does the check implicitly.

Reviewed by: Tridge
source4/dsdb/samdb/ldb_modules/simple_ldap_map.c
source4/lib/ldb/pyldb.c
source4/rpc_server/drsuapi/getncchanges.c