I'm unable to mount a Samba share (1.9.18p1) on a Win98beta3 client. Turning debug way up shows that it's failing in reply_ssetup_and_x() (see log excerpt below), apparently because of a bad password (?). This is odd, because it happens after telling what share to mount and before the password is requested from the user. This server works just fine with Win95 and NT clients. Is there some smb.conf parameter I need to tweak, or a newer version of samba needed? ***************************** switch message SMBsesssetupX (pid 14043) Domain=[ENGINEERING] NativeOS=[Windows 4.0] NativeLanMan=[Windows 4.0] sesssetupX:name=[KIM] lp_file_list_changed() file /etc/smb.conf -> /etc/smb.conf last mod_time: Sun Jan 25 16:49:27 1998 02/24/1998 18:30:46 error packet at line 588 cmd=115 (SMBsesssetupX) eclass=2 ecode=2 error string = Address already in use size=35 smb_com=0x73 smb_rcls=2 smb_reh=0 smb_err=2 smb_flg=128 smb_flg2=1 smb_tid=0 smb_pid=5059 smb_uid=1 smb_mid=8193 smt_wct=0 smb_bcc=0 write_socket(4,39) write_socket(4,39) wrote 39 end of file from client Closing connections smb_shm_close fcntl_lock 5 9 0 1 3 Lock call successful calling smb_shm_unregister_process(/var/log/locks/SHARE_MEM_FILE.processes, 14043) smb_shm_unregister_process : read record for pid 14043 smb_shm_unregister_process : erasing record for pid 14043 (seek_val = -4) fcntl_lock 5 9 0 1 2 Lock call successful 02/24/1998 18:30:46 Server exit (normal exit)
Laine, Microsoft have made the same change to Windows98 with respect to clear text passwords as they did to Windows NT 4.0 SP3. You will need to change the registry setting to re-enable clear text passwords, or setup encrypted passwords with Samba. To get the cleartext password registry information, check the URL : ftp://samba.anu.edu.au/pub/samba/docs/NT4_PlainPassword.reg This is the registry change that needs to be made in NT4.0 SP3 but I believe the same change may work on Windows 98. For information on setting up encrypted passwords with Samba, see the URL: ftp://samba.anu.edu.au/pub/samba/docs/ENCRYPTION.txt Hope this helps, Jeremy Allison, Samba Team. -- -------------------------------------------------------- Buying an operating system without source is like buying a self-assembly Space Shuttle with no instructions. --------------------------------------------------------
Jeremy Allison writes:> > Microsoft have made the same change to Windows98 > with respect to clear text passwords as they did to Windows NT > 4.0 SP3. You will need to change the registry setting to > re-enable clear text passwords, or setup encrypted passwords > with Samba. > > To get the cleartext password registry information, check > the URL : > > ftp://samba.anu.edu.au/pub/samba/docs/NT4_PlainPassword.reg > > This is the registry change that needs to be made in NT4.0 > SP3 but I believe the same change may work on Windows 98.Actually, the instructions in Win95.txt under "Password Handling" give the applicable change (same variable, different location in the registry). Once I did that and rebooted, things began working. Thanks!