[Samba] force samba 4.12.5 to log failed and succeeding authentication

Andrew Bartlett abartlet at samba.org
Wed Sep 16 18:04:54 UTC 2020


https://wiki.samba.org/index.php/Setting_up_Audit_Logging

See eg (for password changes)
dsdb_password_json_audit:4@/var/log/samba/password.log

Sadly not yet fully documented in:
https://wiki.samba.org/index.php/Configuring_Logging_on_a_Samba_Server#Setting_Individual_Log_Levels_for_Debug_Classes

(but feel free to fix that).  I think it is in the man smb.conf 

Andrew Bartlett

On Wed, 2020-09-16 at 16:50 +0200, karel de macil via samba wrote:
> Hi all,
> 
> i'm strugling since a few hours to find what i can do to have some
> debug 
> information in samba on succesfull or unsccessful login attempt.
> I'm running the standard bulleye samba deb package.
> Systemd is installed and see some thing , but whatever i put in
> smb.conf
> 
> It seems like i can't have access to those information.
> 
> i have allready try :
> 
> -log level = 1 auth:5 winbind:5
> -log level = 5
> -log level = 10
> 
> neither the ip or the name of successful or unsuccessful login
> attempt 
> appear in any place.
> nor in journalctl -u samba-ad-dc nor in any file in /var/log/samba/
> 
> can any one help me on this one ?
> 
> best regards
> 
-- 
Andrew Bartlett                       https://samba.org/~abartlet/
Authentication Developer, Samba Team  https://samba.org
Samba Developer, Catalyst IT          
https://catalyst.net.nz/services/samba






More information about the samba mailing list