summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMichael Adam <obnox@samba.org>2008-07-29 10:17:15 +0200
committerMichael Adam <obnox@samba.org>2008-08-01 16:04:42 +0200
commit8003c93a278d5f892bd3bca032a00985e7012703 (patch)
tree7eec3195fd6a2381aa8bae0f78221f8932abf8c2 /source3
parent18976c0129239b5352fca5e8c7e0e61b2cb5d0bf (diff)
downloadsamba-8003c93a278d5f892bd3bca032a00985e7012703.tar.gz
samba-8003c93a278d5f892bd3bca032a00985e7012703.tar.bz2
samba-8003c93a278d5f892bd3bca032a00985e7012703.zip
dssync keytab: add debugging output when skipping an object.
Michael (This used to be commit f3c110097f2f6c5dd329f2ca595644c6a368a552)
Diffstat (limited to 'source3')
-rw-r--r--source3/libnet/libnet_dssync_keytab.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/source3/libnet/libnet_dssync_keytab.c b/source3/libnet/libnet_dssync_keytab.c
index 526bb73647..e6cf08933d 100644
--- a/source3/libnet/libnet_dssync_keytab.c
+++ b/source3/libnet/libnet_dssync_keytab.c
@@ -242,7 +242,13 @@ static NTSTATUS parse_object(TALLOC_CTX *mem_ctx,
}
}
- if (!got_pwd || !name) {
+ if (!name) {
+ DEBUG(10, ("no name (sAMAccountName) found - skipping.\n"));
+ return NT_STATUS_OK;
+ }
+
+ if (!got_pwd) {
+ DEBUG(10, ("no password (unicodePwd) found - skipping.\n"));
return NT_STATUS_OK;
}