diff options
author | Andrew Tridgell <tridge@samba.org> | 2009-09-22 14:26:59 -0700 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2009-09-22 17:10:06 -0700 |
commit | bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa (patch) | |
tree | dbe0548e6ca98980dea6c1a01e4976b0a8040173 /source4/rpc_server/drsuapi/addentry.c | |
parent | 4a74b2839753aa248f1c60f3e2d1f2441c0ac891 (diff) | |
download | samba-bb3bdb3a62b3b895b9e0c013483a6356ecd7a3aa.tar.gz |
s4-ldb: added a bunch more debug for DC join
These additional debug messages were added to help us track down
w2k8->s4 domain join
Diffstat (limited to 'source4/rpc_server/drsuapi/addentry.c')
-rw-r--r-- | source4/rpc_server/drsuapi/addentry.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source4/rpc_server/drsuapi/addentry.c b/source4/rpc_server/drsuapi/addentry.c index 74de772f7a..c7c95821ab 100644 --- a/source4/rpc_server/drsuapi/addentry.c +++ b/source4/rpc_server/drsuapi/addentry.c @@ -57,6 +57,9 @@ static WERROR drsuapi_add_SPNs(struct drsuapi_bind_state *b_state, const char *ntds_guid_str; const char *dom_string; + DEBUG(6,(__location__ ": Adding SPNs for %s\n", + ldb_dn_get_linearized(dn))); + ret = ldb_search(b_state->sam_ctx, mem_ctx, &res, dn, LDB_SCOPE_BASE, attrs, "(objectClass=ntDSDSA)"); @@ -72,6 +75,9 @@ static WERROR drsuapi_add_SPNs(struct drsuapi_bind_state *b_state, continue; } + DEBUG(6,(__location__ ": serverReference %s\n", + ldb_dn_get_linearized(ref_dn))); + ntds_guid = samdb_result_guid(res->msgs[0], "objectGUID"); ntds_guid_str = GUID_string(res, &ntds_guid); |