Re: how avoid logspam "pam_unix(samba:session): session closed for user nobody" ?

RolandK via samba <[email protected]> Tue, 24 Mar 2026 16:26:15 +0100
Newsgroups gmane.network.samba.general
Message-ID <[email protected]>
that was a good pointer,

i was able to stop the logspam with:

# cat /etc/pam.d/samba
session [success=1 default=ignore] pam_succeed_if.so quiet uid = 65534
@include common-auth
@include common-account
@include common-session-noninteractive


Am 24.03.26 um 15:04 schrieb Rowland Penny via samba:
> On Tue, 24 Mar 2026 14:42:47 +0100
> RolandK via samba<[email protected]> wrote:
>
>> thanks, but unfortunately that does not help
>>
>> the issue does not seem to be related to process restart or whatever,
>> i don't see pid of smbd process changing at all.
>>
>> roland
> Your log messages have nothing to do with Samba as such, they are
> coming from PAM.
>
> Try reading this:
>
> https://www.reddit.com/r/linuxquestions/comments/jqzjvi/stop_samba_from_spamming_varlogauthlog/
>
> Rowland
>
-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba