s4-ldap: Fixed a problem with NC's having a parentGUID attribute
authorNadezhda Ivanova <nivanova@samba.org>
Tue, 21 Sep 2010 16:10:54 +0000 (09:10 -0700)
committerNadezhda Ivanova <nivanova@samba.org>
Tue, 21 Sep 2010 16:10:54 +0000 (09:10 -0700)
commitaa57fd8224a09f26a0f6127024fe739b84eadf49
treee7d0488a84018261c6a7abe2defe1955a72c85f5
parent24cac1366644279be55dfce6e286f19da605e78e
s4-ldap: Fixed a problem with NC's having a parentGUID attribute

NC's other than default NC had a parentGUID, due to an incorrect check of whether
the object has a parent. Fixed by checking object's instanceType instead.
source4/dsdb/samdb/ldb_modules/operational.c
source4/dsdb/tests/python/ldap.py