[Samba] new server: NT_STATUS_LOGON_FAILURE

John H Terpstra jht at samba.org
Wed Dec 14 18:10:20 GMT 2005

On Wednesday 14 December 2005 10:12, Mathew D. Watson wrote:
> I've googled, RTFMed, and I still can't fix this. Hoping someone here
> can offer a suggestion. I'm learning, so please explain a little if you
> can.
> I installed samba on a Ubuntu 5.10 machine (named mog). My XP machine
> "sees" it, but the username/password dialog fails.
> I've traced it down to what I think is an authentication problem:
> mat at mog:/etc/samba$ smbclient -L mog -U mat
> Password: <I enter my password here>
> session setup failed: NT_STATUS_LOGON_FAILURE
> If I replace -U mat with -N I get a typical smbclient -L listing, so I
> know something is working.
> Another fact is that I have an older Ubuntu (Hoary) machine that also
> serves samba and works. I copied its /etc/samba/smb.conf to the machine
> having trouble; the two machines are the same (config, username, and
> password). Right now the workgroup names are different on the two
> machines, but that didn't make a difference.
> I'm stumped.


Please follow the official Samba documentation. Suggest you follow the 
examples and the step-by-step deployment information in  the book "Samba-3 by 
Example". You can purchase hard copy from Amazon.Com, or download the PDF 


If you have a problem with any step, in any chapter of this book please email 
me the datails so I can improve the documentation.

- John T.

More information about the samba mailing list