Author: vlendec Date: 2006-01-16 17:45:01 +0000 (Mon, 16 Jan 2006) New Revision: 12966
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=12966 Log: Only increase debuglevel if necessary, dont decrease Modified: trunk/source/passdb/passdb.c Changeset: Modified: trunk/source/passdb/passdb.c =================================================================== --- trunk/source/passdb/passdb.c 2006-01-16 17:42:44 UTC (rev 12965) +++ trunk/source/passdb/passdb.c 2006-01-16 17:45:01 UTC (rev 12966) @@ -972,7 +972,10 @@ /* Might not exist in /etc/passwd. */ - DEBUGLEVEL = 1; + if (tmp_debug < 1) { + DEBUGLEVEL = 1; + } + result = pdb_init_sam_new(&sam_pass, user_name); DEBUGLEVEL = tmp_debug; if (NT_STATUS_EQUAL(result,