From: Michael Adam Date: Tue, 29 Jul 2008 08:17:15 +0000 (+0200) Subject: dssync keytab: add debugging output when skipping an object. X-Git-Tag: samba-3.3.0pre1~325 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f3c110097f2f6c5dd329f2ca595644c6a368a552;p=thirdparty%2Fsamba.git dssync keytab: add debugging output when skipping an object. Michael --- diff --git a/source/libnet/libnet_dssync_keytab.c b/source/libnet/libnet_dssync_keytab.c index 526bb736471..e6cf08933d7 100644 --- a/source/libnet/libnet_dssync_keytab.c +++ b/source/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; }