samba: 'net view \\server' works, 'net view' fails

samba: 'net view \\server' works, 'net view' fails

Post by Andrew Schulma » Mon, 03 Nov 2003 21:07:17

From my WinXP client (using cygwin), I can browse the shares on a samba
server whose name I know.  But when I try to browse the whole network, I
get a logon failure and the smbd logs show that it's not seeing my

Browsing shares on \\server, from a different machine \\client (using
cygwin) while logged in as testuser:

$ net view '\\server'
Shared resources at \\server

Share name              Type   Used as  Comment
test                    Disk            
The command completed successfully.

But when I try to browse the whole network, I get a logon failure:

$ net view
System error 1326 has occurred.

Logon failure: unknown user name or bad password.

This is an authentication problem.  When I issue 'net view \\server' on the
client, the smbd log shows

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(216)
  check_ntlm_password:  Checking password for unmapped user [CLIENT

[2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(219)

But when I issue just 'net view', the smbd log instead shows

[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(216)

with the new password interface
[2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(219)

So for some reason the 'net view \\server' request is processing my user
name, but 'net view' isn't.

Any ideas what could cause this?

To reply by email, change "" to ""