Using //server/share%username ?

Mike Holling myke at ees.com
Tue Jul 27 22:16:37 GMT 1999


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 different
from the Unix user on the server, and the smb.conf manpage suggests that
the "share%username" hack should be used in this case.  This seems to work
fine on my old 1.9.18p8 server, but not on any of the newer ones.  With
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
machine:

[1999/07/27 14:57:01, 3] smbd/reply.c:reply_sesssetup_and_X(725)
  sesssetupX:name=[MYKE]
[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 reverts
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
functionality.

- Mike




More information about the samba mailing list