[Samba] LDAP authentication logging
abartlet at samba.org
Tue May 26 22:14:26 UTC 2020
On Tue, 2020-05-26 at 14:17 +0100, Adam Weremczuk via samba wrote:
> Hi all,
> I'm running old Sernet samba 4.0.9 on Debian and trying to set up
> authentication for
> To cut a long story short about half of users can log in and half
> without any obvious reasons that ldapsearch comparisons would reveal.
> So I really want to see what the server is saying.
> I've set "log level = 5" in /etc/samba/smb.conf followed by
> all reload-config"
Sadly the 'samba' daemon does not support reloading the configuration
on the fly, so you must restart it to get a new settings.
> The only mention in smb.conf is:
> log file = /var/log/samba/log.%m
> I started spawning login attempts and hunting for entries in
> followed by:
> but couldn't find anything.
> What am I doing wrong?
Modern Samba versions have extensive, clear authentication logging.
Please do upgrade, it will be much easier to debug this on a modern
In the meantime, after setting the 'log level = 5', once you restart
Samba then some errors will be in that log.%m file.
If you need help upgrading, see the other thread about upgrading from
Samba 4.1 or engage a commercial support provider, as this is a very
long way behind our current versions.
Andrew Bartlett https://samba.org/~abartlet/
Authentication Developer, Samba Team https://samba.org
Samba Developer, Catalyst IT
More information about the samba