Samba Password Authentication is failing

Peter Salzman p at
Sun Jan 31 17:44:59 UTC 2010

On Sun, Jan 31, 2010 at 11:51 AM, Johnneylee Rollins
<johnneylee.rollins at> wrote:
>> No, I'm sitting at a Windows machine trying to mount /tmp from Linux.
>> The browser settings (wasn't 100% sure of this, but I think this is correct):
>>   # Win Networking stuff
>>   domain master    = yes
>>   local master     = yes
>>   preferred master = yes
>> That was a good suggestion.  I tried setting the username as
>> "ipOfSatan\p" but it still didn't work.
> Did you possibly use the ip address of the linux system you wish to
> access followed by \p?
> supposing the machine's ip was, try in your windows
> explorer to go to
> \\\p
> replacing that ip with the ip of the real machine.

For reference:
Satan    Linux
Lucifer   WinXP

Partial success.   Now I'm more confused than ever because what's
happening contradicts what I think I know about windows networking.

First of all, the two files


contain: satan

and as such, from Lucifer, I can "ping satan" and "ping"
successfully.   That's no surprise.

However, this is a surprise: From Windows explorer,


works!  I get a listing of my Linux /tmp directory.   However, when I
try to use this in the Windows explorer:


I get an error msg saying "\\satan\tmp is not accessible.  Logon
failure: unknown user name or bad password".

How can one work and the other one not work?

And one other question.  In the Samba logs, I see (seemingly)
conflicting information:

[2010/01/31 12:38:22,  2] smbd/reply.c:451(reply_special)
  netbios connect: name1=SATAN           name2=LUCIFER

[2010/01/31 12:38:22,  2] smbd/reply.c:458(reply_special)
  netbios connect: local=satan remote=lucifer, name type = 0

[2010/01/31 12:38:22,  2] auth/auth.c:320(check_ntlm_password)
  check_ntlm_password:  Authentication for user [p] -> [p] FAILED with

[2010/01/31 12:38:27,  1] smbd/service.c:1047(make_connection_snum)
  lucifer ( connect to service tmp initially as user p
(uid=1000, gid=1000) (pid 14826)

How is it possible that "authentication failed" with "wrong password"
and then the very next thing says "connect to service tmp" with the
correct username?   The uid and gid are correct.

Any idea?

Thank you so much!


More information about the ubuntu-users mailing list