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

Discussion in 'Linux Networking' started by Andrew Schulman, Nov 2, 2003.

  1. 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
    username.

    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
    \[testuser]@[CLIENT] with the new password interface
    [2003/11/02 06:55:03, 3] auth/auth.c:check_ntlm_password(219)
    check_ntlm_password: mapped user is: [SERVER]\[testuser]@[CLIENT]

    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)
    check_ntlm_password: Checking password for unmapped user []\[]@[CLIENT]
    with the new password interface
    [2003/11/02 06:55:32, 3] auth/auth.c:check_ntlm_password(219)
    check_ntlm_password: mapped user is: [SERVER]\[]@[CLIENT]

    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?
    Thanks,
    Andrew.
     
    Andrew Schulman, Nov 2, 2003
    #1
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.