getpwuid(13891) failed Failed to finalize nt token

capricorn cap cool_capricorn80 at
Sun Mar 27 21:13:11 UTC 2022

Thats strange then how is samba share accessible to Active Directory users?
Yes we data on new server but its not in production for Samba yet. It does run some other application and I cannot upgrade it.
So thats why I am trying if I can make it working until we upgrade the new server. We need a change management and down time for it.
Can you suggest anything in my scenario?
My new server also has NIS the only difference is that its using ADS as security.
From: samba-technical <samba-technical-bounces at> on behalf of Rowland Penny via samba-technical <samba-technical at>
Sent: Friday, March 25, 2022 10:09 PM
To: samba-technical <samba-technical at>
Cc: Rowland Penny <rpenny at>
Subject: Re: getpwuid(13891) failed Failed to finalize nt token

On Fri, 2022-03-25 at 21:46 +0000, capricorn cap wrote:
> The old server doesn't have winbind in nsswitch.conf but I can see in
> samba documentation its stating to  have.
> passwd: files winbind
> group:  files winbind
> My old server has
> passwd: files nis
> group:  files nis
> Does this make any difference?

Yes, this means that your old server wasn't using Samba for
authentication, it was using NIS (also known as yp or yellow pages)

Is there actual data on the new computer, or do you need to copy data
to it ?


More information about the samba-technical mailing list