dssync keytab: add debugging output when skipping an object.
authorMichael Adam <obnox@samba.org>
Tue, 29 Jul 2008 08:17:15 +0000 (10:17 +0200)
committerMichael Adam <obnox@samba.org>
Fri, 1 Aug 2008 14:04:42 +0000 (16:04 +0200)
Michael

source/libnet/libnet_dssync_keytab.c

index 526bb736471eb6b7c17ae347f4890deb0c07124d..e6cf08933d7f9b26ea9de4b0171fd105370daa30 100644 (file)
@@ -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;
        }