samba error: “session setup failed: NT_STATUS_LOGON_FAILURE” when adding new user

it really strange when i use samba for the first time this error not happened.

but when i add new user to share samba it didn’t work, it continue to produce “session setup failed: NT_STATUS_LOGON_FAILURE”

i tried both using straight connection smb://server/sharename or by smbclient connection.

this error because of failed connection LAN/hosts problem, wrong user name or password, or because of not adding domain name/workgroup (if you tried to connect to windows share).

it turn out my problem is that the password from linux password is not synced with samba password, so you need to add it using the command:

Continue reading

Advertisements