Samba Password Authentication is failing
Peter Salzman
p at dirac.org
Sun Jan 31 17:44:59 UTC 2010
On Sun, Jan 31, 2010 at 11:51 AM, Johnneylee Rollins
<johnneylee.rollins at gmail.com> 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 192.168.0.103, try in your windows
> explorer to go to
> \\192.168.0.103\p
> replacing that ip with the ip of the real machine.
For reference:
Satan Linux 192.168.1.2
Lucifer WinXP 192.168.1.3
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
C:\WINDOWS\system32\drivers\etc\lmosts.sam
C:\WINDOWS\system32\drivers\etc\hosts
contain:
192.168.1.2 satan
and as such, from Lucifer, I can "ping satan" and "ping 192.168.1.2"
successfully. That's no surprise.
However, this is a surprise: From Windows explorer,
\\192.168.1.2\tmp
works! I get a listing of my Linux /tmp directory. However, when I
try to use this in the Windows explorer:
\\satan\tmp
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
error NT_STATUS_WRONG_PASSWORD
[2010/01/31 12:38:27, 1] smbd/service.c:1047(make_connection_snum)
lucifer (192.168.1.3) 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!
Pete
More information about the ubuntu-users
mailing list