s4:dsdb Add debug
authorAndrew Bartlett <abartlet@samba.org>
Thu, 10 Jun 2010 11:34:48 +0000 (21:34 +1000)
committerAndrew Bartlett <abartlet@samba.org>
Sat, 12 Jun 2010 01:19:13 +0000 (11:19 +1000)
source4/libnet/libnet_vampire.c

index d083fc9ba92977e297bea64a6f6b1caa8255ef8b..06387a9a781a5f96a681a19226327d425e71920f 100644 (file)
@@ -288,6 +288,7 @@ static NTSTATUS vampire_apply_schema(struct vampire_state *s,
        /* attach the schema to the ldb */
        ret = dsdb_set_schema(s->ldb, s->self_made_schema);
        if (ret != LDB_SUCCESS) {
+               DEBUG(0,("Failed to attach schema from DRS.\n"));
                return NT_STATUS_FOOBAR;
        }
        /* we don't want to access the self made schema anymore */