diff options
author | Andrew Bartlett <abartlet@samba.org> | 2009-11-16 18:40:24 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2009-11-17 10:38:02 +1100 |
commit | 39b8f31d669d157ab750e11952c7c1d26ad5e29f (patch) | |
tree | b43decc36c42c32ca424bec766d37b35b5bcc215 /source4/libnet | |
parent | 6710becbd46020512a14a262d39d5085d06458fe (diff) | |
download | samba-39b8f31d669d157ab750e11952c7c1d26ad5e29f.tar.gz samba-39b8f31d669d157ab750e11952c7c1d26ad5e29f.tar.bz2 samba-39b8f31d669d157ab750e11952c7c1d26ad5e29f.zip |
s4:dsdb Load objectGUID and extended DN defaultObjectCategory into the schema
The load of defaultObjectCategory as an extended DN means we need to
use the common parsing functions I just split out, rather than the
GET_DS_DN macro.
The objectGUIDs are loaded so that we can create the extended DN when
we load from LDIF (and are loaded for the other cases for
consistency).
Also adapt callers to API changes needed for common parsing code
Andrew Bartlett
Diffstat (limited to 'source4/libnet')
-rw-r--r-- | source4/libnet/libnet_vampire.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/libnet/libnet_vampire.c b/source4/libnet/libnet_vampire.c index 2f30826cce..fa7e0bf179 100644 --- a/source4/libnet/libnet_vampire.c +++ b/source4/libnet/libnet_vampire.c @@ -276,7 +276,7 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s, sc = talloc_zero(s->self_made_schema, struct dsdb_class); NT_STATUS_HAVE_NO_MEMORY(sc); - status = dsdb_class_from_drsuapi(s->self_made_schema, &cur->object, s, sc); + status = dsdb_class_from_drsuapi(s->ldb, s->self_made_schema, &cur->object, s, sc); if (!W_ERROR_IS_OK(status)) { return werror_to_ntstatus(status); } |