[Samba] Up Against a Wall with Win9x
Bradley W. Langhorst
brad at langhorst.com
Mon Apr 1 09:18:14 GMT 2002
I wish I could offer something more helpful - my only suggestion is
to turn up the debugging (to 256 i think)
so you can see exactly what is being sent...
brad
On Mon, 2002-04-01 at 09:36, Mack, Daemian wrote:
> > maybe you would liek to use encrypt passwords = yes and alos set the
> > smbpasswd path. then type smbpasswd -a username and enter the new
> > password..then u can start trying using the command prompt
> > and enter net use
> > z: \\server\folder username password..it should work from there..
>
> Thanks for the suggestion, but no dice.
>
> I have already tried the "smbpasswd file" option -- I apologize for not
> including my entire smb.conf. Here it is:
>
>
> [global]
> workgroup = WORKGROUP
> netbios name = SAMBASERVER2211
> server string = AIX Server, Samba 2.2.0
> encrypt passwords = Yes
> map to guest = Bad Password
> null passwords = Yes
> local master = No
> domain master = False
> wins support = Yes
> guest account = guest
> read only = Yes
> hosts allow = all
> smb passwd file = /var/samba/private/smbpasswd
>
> [xtest]
> path = /xtest
> read only = No
>
>
> I've tried doing a rm -rf on /var/samba/private, recreating it, and then
> recreating the guest account with smbpasswd -a guest -n, and then connecting
> from Win98. Nothing. I logged off, logged back onto Win98 as user guest
> with a blank password, and that didn't work either. I can only conclude
> that either Samba is no longer accepting null passwords in spite of my
> smb.conf setting, or that Windows is somehow unable to pass a proper
> password over the wire.
>
> Here's what my smbd.log says after a single connection attempt from Windows
> 98, with the daemon running at debug level 2:
>
> [2002/04/01 08:58:13, 2] lib/access.c:check_access(318)
> Allowed connection from (10.8.1.181)
> [2002/04/01 08:58:13, 2] smbd/reply.c:reply_special(93)
> netbios connect: name1=SAMBASERVER2111 name2=JETSAM
> [2002/04/01 08:58:13, 2] smbd/reply.c:reply_special(112)
> netbios connect: local=sambaserver2211 remote=jetsam
> [2002/04/01 08:58:13, 2] smbd/reply.c:reply_sesssetup_and_X(990)
> Defaulting to Lanman password for guest
> [2002/04/01 08:58:13, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:13, 2] lib/access.c:check_access(318)
> Allowed connection from (10.8.1.181)
> [2002/04/01 08:58:13, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:13, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:13, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:13, 2] smbd/service.c:make_connection(318)
> Invalid username/password for xtest [guest]
> [2002/04/01 08:58:13, 2] smbd/server.c:exit_server(448)
> Closing connections
> [2002/04/01 08:58:14, 2] lib/access.c:check_access(318)
> Allowed connection from (10.8.1.181)
> [2002/04/01 08:58:14, 2] smbd/reply.c:reply_special(93)
> netbios connect: name1=SAMBASERVER2111 name2=JETSAM
> [2002/04/01 08:58:14, 2] smbd/reply.c:reply_special(112)
> netbios connect: local=sambaserver2211 remote=jetsam
> [2002/04/01 08:58:14, 2] smbd/reply.c:reply_sesssetup_and_X(990)
> Defaulting to Lanman password for guest
> [2002/04/01 08:58:14, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:14, 2] lib/access.c:check_access(318)
> Allowed connection from (10.8.1.181)
> [2002/04/01 08:58:14, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:14, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:14, 2] smbd/password.c:pass_check_smb(586)
> pass_check_smb failed - invalid password for user [guest]
> [2002/04/01 08:58:14, 2] smbd/service.c:make_connection(318)
> Invalid username/password for xtest [guest]
> [2002/04/01 08:58:14, 2] smbd/server.c:exit_server(448)
> Closing connections
>
> Additionally, if I change 'encrypt passwords' to 'no' and then do the
> EnablePlainTextPassword registry edit on the Windows 98 boxes and reboot
> them, the smbd.log *still* reports bad password, and so does the connection
> attempt.
>
> Now, I can get the Win9x boxes to connect if I use "guest ok = yes", but I
> consider this sort of a cop-out. I'm using it in the short-term, but I'd
> really appreciate it if anyone can shed any light on what I may be doing
> wrong.
>
> Thanks!
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: http://lists.samba.org/mailman/listinfo/samba
>
>
>
More information about the samba
mailing list