How to debug Samba authorization (authentication) procedure

  • set logging in smb.conf to level 2 or higher, e.g.

    log level = 3

  • watch log files - usually in /var/log/samba/

    tail -F /var/log/samba/log.[client-machine-name]

  • look for "authentication for user" ... and context