Add debug output in error path.
authorMichael Adam <obnox@samba.org>
Wed, 2 Jan 2008 23:53:34 +0000 (00:53 +0100)
committerMichael Adam <obnox@samba.org>
Thu, 3 Jan 2008 00:29:43 +0000 (01:29 +0100)
Michael

source/libnet/libnet_conf.c

index 514fd245ad881e11edbbf332db97aa6909ae507c..7980dbbe4c2021f57c6cd8a6598f6fe9dd827663 100644 (file)
@@ -371,6 +371,7 @@ WERROR libnet_smbconf_drop(void)
        enum winreg_CreateAction action;
 
        if (!(token = registry_create_admin_token(mem_ctx))) {
+               DEBUG(1, ("Error creating admin token\n"));
                /* what is the appropriate error code here? */
                werr = WERR_CAN_NOT_COMPLETE;
                goto done;