No subject

Thu Jul 29 01:36:35 GMT 1999

Item Subject: cc:Mail Text
     Hi Mike, 
        I got almost the same problem as you when I was using 2.04b on 
     HP-UX 10.20 machine.  I can not map to \\servername\sharename to my 
     hpux machine from Win95 successfully when the sharename is different 
     from the client login name.  But it's successful on my WinNT. 
     I can not resolve this problem but have a workaround. Please check 
     your freeBSD unix account to make sure there is no account login name 
     same as login name on Win95. remove it from unix account then you 
     should can net use from your Win95. 
     wen-qing shen
     system engineer
     Hewlett Packard Singapore
     Date:   Tue, 27 Jul 1999 15:16:37 -0700 (PDT)
     From:   Mike Holling <myke at>
     To:     samba at
     Subject: Using //server/share%username ?
     Message-ID: <Pine.BSF.4.10.9907271509390.23017-100000 at>
     MIME-Version: 1.0
     Content-Type: TEXT/PLAIN; charset=US-ASCII
     I'm trying to get win9x clients to connect to a Samba 2.0.4b server on
     FreeBSD 3.2-STABLE.  Some of these machines have Windows logins 
     from the Unix user on the server, and the smb.conf manpage suggests 
     the "share%username" hack should be used in this case.  This seems to 
     fine on my old 1.9.18p8 server, but not on any of the newer ones.  
     debug level 5 I see the following when trying to access the share
     "//wallace/amzdev%amzdev" when logged in as user "myke" on the client
     [1999/07/27 14:57:01, 3] smbd/reply.c:reply_sesssetup_and_X(725)
     [1999/07/27 14:57:01, 5] passdb/smbpass.c:getsmbfilepwent(258)
       getsmbfilepwent: returning passwd entry for user amzdev, uid 1003
     [1999/07/27 14:57:01, 5] passdb/smbpass.c:getsmbfilepwent(258)
       getsmbfilepwent: returning passwd entry for user myke, uid 1000
     [1999/07/27 14:57:01, 4] smbd/password.c:smb_password_ok(404)
       Checking SMB password for user myke
     [1999/07/27 14:57:01, 5] smbd/password.c:smb_password_ok(423)
       challenge received
     [1999/07/27 14:57:01, 4] smbd/password.c:smb_password_ok(431)
       smb_password_ok: Checking NT MD4 password
     [1999/07/27 14:57:01, 4] smbd/password.c:smb_password_ok(438)
       NT MD4 password check failed
     [1999/07/27 14:57:01, 4] smbd/password.c:smb_password_ok(444)
       Checking LM MD4 password
     [1999/07/27 14:57:01, 4] smbd/password.c:smb_password_ok(460)
       LM MD4 password check failed
     [1999/07/27 14:57:01, 1] smbd/password.c:pass_check_smb(532)
       smb_password_check failed. Invalid password given for user 'myke'
     At some point it does do a lookup for the "amzdev" user, but then 
     to "myke" and of course fails.
     What do I need to do to get this to work?  I couldn't see any obvious
     smb.conf options that would disable or otherwise affect this
     - Mike

More information about the samba mailing list