I am unable to mount a share using WinXP from samba 2.2.2 on RH linux. The same share works correctly with Win95 clients. WinXP reports this error: The mapped network drive could not be created because of the following error: The account is not authorized to login from this station. I looked through various archives and applied the registry patch for requiresignorseal=0 in this message: http://www.mail-archive.com/devinfo@lists.e-smith.org/msg05739.html Here's the samba log file (at debug level 3) from client.log: [2001/11/06 17:32:55, 3] smbd/process.c:process_smb(860) Transaction 1 of length 137 [2001/11/06 17:32:55, 3] smbd/process.c:switch_message(667) switch message SMBnegprot (pid 2506) [2001/11/06 17:32:55, 3] smbd/sec_ctx.c:set_sec_ctx(321) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [PC NETWORK PROGRAM 1.0] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LANMAN1.0] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [Windows for Workgroups 3.1a] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LM1.2X002] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [LANMAN2.1] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) Requested protocol [NT LM 0.12] [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(433) Selected protocol NT LM 0.12 [2001/11/06 17:32:56, 3] smbd/process.c:timeout_processing(1085) end of file from client [2001/11/06 17:32:56, 3] smbd/sec_ctx.c:set_sec_ctx(321) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 [2001/11/06 17:32:56, 2] smbd/server.c:exit_server(458) Closing connections [2001/11/06 17:32:56, 3] smbd/connection.c:yield_connection(50) Yielding connection to [2001/11/06 17:32:56, 3] smbd/server.c:exit_server(493) Server exit (normal exit) So XP appears to be closing the connection even before it has sent the share name, user name or password (there is no "Transaction 2" in the log file since the connection is closed). The same user error is printed by XP even if I use a bogus share name, confirming that it doesn't even try to send the share name. I guess I've misconfigured something on WinXP, or I botched the upgrade to samba 2.2.2. The domains look correct. The WinXP machine can mount a share from a Win95 machine, and as I mentioned above the Win95 machine can mount the share from samba/linux. Suggestions are welcome! Craig
Andrew Bartlett
2001-Nov-07 04:50 UTC
WinXP can't mount share from Samba 2.2.2 on RH linux
Craig Barratt wrote:> > I am unable to mount a share using WinXP from samba 2.2.2 on RH linux. > The same share works correctly with Win95 clients. > > WinXP reports this error: > > The mapped network drive could not be created because of > the following error: > The account is not authorized to login from this station. > > I looked through various archives and applied the registry patch > for requiresignorseal=0 in this message: > > http://www.mail-archive.com/devinfo@lists.e-smith.org/msg05739.html > > Here's the samba log file (at debug level 3) from client.log: > > [2001/11/06 17:32:55, 3] smbd/process.c:process_smb(860) > Transaction 1 of length 137 > [2001/11/06 17:32:55, 3] smbd/process.c:switch_message(667) > switch message SMBnegprot (pid 2506) > [2001/11/06 17:32:55, 3] smbd/sec_ctx.c:set_sec_ctx(321) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [PC NETWORK PROGRAM 1.0] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [LANMAN1.0] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [Windows for Workgroups 3.1a] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [LM1.2X002] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [LANMAN2.1] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(349) > Requested protocol [NT LM 0.12] > [2001/11/06 17:32:55, 3] smbd/negprot.c:reply_negprot(433) > Selected protocol NT LM 0.12 > [2001/11/06 17:32:56, 3] smbd/process.c:timeout_processing(1085) > end of file from client > [2001/11/06 17:32:56, 3] smbd/sec_ctx.c:set_sec_ctx(321) > setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0 > [2001/11/06 17:32:56, 2] smbd/server.c:exit_server(458) > Closing connections > [2001/11/06 17:32:56, 3] smbd/connection.c:yield_connection(50) > Yielding connection to > [2001/11/06 17:32:56, 3] smbd/server.c:exit_server(493) > Server exit (normal exit) > > So XP appears to be closing the connection even before it has sent > the share name, user name or password (there is no "Transaction 2" > in the log file since the connection is closed). The same user error > is printed by XP even if I use a bogus share name, confirming that it > doesn't even try to send the share name. > > I guess I've misconfigured something on WinXP, or I botched the upgrade > to samba 2.2.2. The domains look correct. The WinXP machine can mount > a share from a Win95 machine, and as I mentioned above the Win95 machine > can mount the share from samba/linux.You need to run with 'encrypt passwords = yes', and setup an smbpasswd file. Andrew Bartlett -- Andrew Bartlett abartlet@pcug.org.au Samba Team member, Build Farm maintainer abartlet@samba.org Student Network Administrator, Hawker College abartlet@hawkerc.net http://samba.org http://build.samba.org http://hawkerc.net