Samba on 22.04

Karl Auer kauer at biplane.com.au
Tue Dec 12 13:41:13 UTC 2023


On Tue, 2023-12-12 at 07:55 -0500, Jerry Geis wrote:
> The error I see is this:
> Authentication for user [my.user] -> [my.user] FAILED with error
> NT_STATUS_NO_SUCH_USER, authoritative=1

Well, that's conclusive.

> doing ls -l /home
> my.user is there
> doing grep my.user /etc/passwd - my.user is there

With the correct case? 

If you are using the (case-sensitive) correct user, then I suggest
seeing what happens if you add your test user with smbpasswd:

sudo smbpasswd -L -U my.user

I seem to remember having to do that at one point. Something to do with
the way passwords are encrypted in /etc/shadow.

If that lets your test user log in, then add the other users as well. I
think they will then be kept synched through e.g. password changes.

Regards, K.


-- 
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Karl Auer (kauer at biplane.com.au)
http://www.biplane.com.au/kauer






More information about the ubuntu-users mailing list