From 8003c93a278d5f892bd3bca032a00985e7012703 Mon Sep 17 00:00:00 2001 From: Michael Adam Date: Tue, 29 Jul 2008 10:17:15 +0200 Subject: dssync keytab: add debugging output when skipping an object. Michael (This used to be commit f3c110097f2f6c5dd329f2ca595644c6a368a552) --- source3/libnet/libnet_dssync_keytab.c | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'source3/libnet') 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; } -- cgit