Re: [Samba] getpwuid failed for single user on single file share
- Date: Wed, 14 Feb 2018 23:34:18 +0100
- From: Arne Zachlod via samba <samba@xxxxxxxxxxxxxxx>
- Subject: Re: [Samba] getpwuid failed for single user on single file share
On 02/14/2018 09:35 PM, Rowland Penny via samba wrote:
> On Wed, 14 Feb 2018 20:43:20 +0100
> Arne Zachlod via samba <samba@xxxxxxxxxxxxxxx> wrote:
>>> If you run 'smbclient -L adfs02.int.becit.de -U
>>> firstname.lastname@example.org' on 'adfs02', does this work
>> no, same error:
>> root@adfs02:~# smbclient -L adfs02.int.domain -U email@example.com
>> Enter firstname.lastname@example.org's password:
>> session setup failed: NT_STATUS_UNSUCCESSFUL
>> but I forgot the most important part, in /var/log/samba/__1.log on
>> adfs02 it says:
>> [2018/02/14 18:51:29.614082, 1]
>> SID S-1-5-21-456140246-2344957557-3140247660-1174 -> getpwuid(10026)
>> [2018/02/14 18:51:29.614128, 1]
>> Failed to generate session_info (user and group token) for session
>> setup: NT_STATUS_UNSUCCESSFUL
>>> Have you tried changing the password again ?
>> I don't know exactly what the user did, but I changed the password
>> afterwards (as in after the bug report) and it works on our other
>> fileshares, just not on adfs02.
> This sounds like a problem with something on the fileserver, have you
> tried running 'net cache flush' on the fileserver and/or restarting
> Samba and/or the fileserver ?
'net cache flush' helped, thanks a lot Rowland.
For future people who find this via google: I tried restarting both,
samba and the whole machine and it didn't help.
To unsubscribe from this list go to the following URL and read the