Displaying 4 results from an estimated 4 matches for "dbgc_class".
2019 Nov 18
1
logging of ldap queries
Hi everyone,
I am looking at a way to easily trace ldap queries to easily single out computers that have buggy software that download the whole AD (like a getent passwd with winbind enum users = yes for example). Increasing the debug level to 5 gives me the result I am looking for, however it is very very talkative and it fills up the log partition way too fast. I wanted to try to single out one
2017 Dec 02
1
logline of account becoming NT_STATUS_ACCOUNT_LOCKED_OUT
Hi Andrew,
On 12/02/2017 07:20 PM, Andrew Bartlett via samba wrote:
> I'm sorry, but while we do log it, the news isn't good.
>
> DEBUG(5, ("Locked out user %s after %d wrong passwords\n",
> ldb_dn_get_linearized(user_msg->dn), badPwdCount));
>
> That will show up with level 5 globally.
Ok, patches are difficult now, as we've sponsored quite a
2004 Sep 22
1
Log level and debug classes
Hi, I quote from the smb.conf man page:
------------------------------------
log level (G)
The value of the parameter (a astring) allows the debug level (logging
level) to be specified in the smb.conf file. This parameter has been
extended since the 2.2.x series, now it allow to specify the debug level
for multiple debug classes.
[...]
Example: log level = 3 passdb:5 auth:10 winbind:2
2006 Jul 12
1
updated samba-3.0.23/examples/pdb/test.c
...ore details.
*
* You should have received a copy of the GNU General Public License along with
* this program; if not, write to the Free Software Foundation, Inc., 675
* Mass Ave, Cambridge, MA 02139, USA.
*/
#include "includes.h"
static int testsam_debug_level = DBGC_ALL;
#undef DBGC_CLASS
#define DBGC_CLASS testsam_debug_level
/***************************************************************
Start enumeration of the passwd list.
****************************************************************/
static NTSTATUS testsam_setsampwent(struct pdb_methods *methods, BOOL update, uint32 acb...