r25225: Add a debug message.
authorMichael Adam <obnox@samba.org>
Wed, 19 Sep 2007 12:05:47 +0000 (12:05 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:30:52 +0000 (12:30 -0500)
Michael

source/rpc_client/cli_lsarpc.c

index bb1b67ce1a605b00008b95ff8029b1448767ab92..1e751089dd4701a209906002300f46c160f3443b 100644 (file)
@@ -171,6 +171,9 @@ static NTSTATUS rpccli_lsa_lookup_sids_noalloc(struct rpc_pipe_client *cli,
                        lsa_io_r_lookup_sids,
                        NT_STATUS_UNSUCCESSFUL );
 
+       DEBUG(10, ("LSA_LOOKUPSIDS returned '%s', mapped count = %d'\n",
+                  nt_errstr(r.status), r.mapped_count));
+
        if (!NT_STATUS_IS_OK(r.status) &&
            !NT_STATUS_EQUAL(r.status, NT_STATUS_NONE_MAPPED) &&
            !NT_STATUS_EQUAL(r.status, STATUS_SOME_UNMAPPED))