I've just used webmin to set up a Samba share to test some users' MSWin98 machines that need to be able to use a server share
The server seems to start normally, but ....
1/ When running (on the same machine as the Samba server) [root@***** samba]# smbclient -L server -W TRANSOFT -N added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 session setup failed: NT_STATUS_LOGON_FAILURE
2/ Any attempt to connect to the Samba server by mapping a drive(f: => \gate\homes ) on the Win98 machine from Network Neighbourhood results in an Error 'Invalid Password'......
All systems running Win98 are set to the same workgroup, normal network connectivity is fine, the Samba server is set to the *same* workgroup, and shares on the network can actually see each other ... just not the server shares.
Have you enabled encrypted passwords in Samba?
I think you may need it, Windows 95 doesn't.
Regards, Rob.
On Friday, May 16, 2003, at 07:51 pm, Tony Dietrich wrote:
I've just used webmin to set up a Samba share to test some users' MSWin98 machines that need to be able to use a server share
The server seems to start normally, but ....
1/ When running (on the same machine as the Samba server) [root@***** samba]# smbclient -L server -W TRANSOFT -N added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 session setup failed: NT_STATUS_LOGON_FAILURE
2/ Any attempt to connect to the Samba server by mapping a drive(f: => \gate\homes ) on the Win98 machine from Network Neighbourhood results in an Error 'Invalid Password'......
All systems running Win98 are set to the same workgroup, normal network connectivity is fine, the Samba server is set to the *same* workgroup, and shares on the network can actually see each other ... just not the server shares.
-- Tony Dietrich Transoft Computer Consultants 07769710115
Thanks for trying, but I had encrypt passwords set :-(
Got rid of the BT error message by setting the protocol to LANMAN2, but now I'm getting smbclient -L \gate -U [user masked]%[password masked] added interface ip=192.168.0.1 bcast=192.168.0.255 nmask=255.255.255.0 session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
Any ideas?
smb.conf is below
Tony
***************************************************************************** smb.conf ***************************************************************************** ======================= Global Settings ===================================== [global] log file = /var/log/samba/%m.log lanman auth = Yes protocol = LANMAN2 load printers = yes smb passwd file = /etc/samba/smbpasswd root directory = /home interfaces = 192.168.0.1/255.255.255.0 encrypt passwords = Yes password level = 0 dns proxy = no netbios name = gate netbios aliases = gate browseable = yes printing = lprng writeable = yes workgroup = WORKGROUP security = user passwd program = passwd chat = max smbd processes = 10
[homes] comment = Home Directories public = yes
**************************************************************************
On Sat, 2003-05-17 at 03:44, Robert Tillyard wrote:
Have you enabled encrypted passwords in Samba?
I think you may need it, Windows 95 doesn't.
Regards, Rob.
On Saturday 17 May 2003 10:13, Tony Dietrich wrote:
session setup failed: ERRSRV - ERRbadpw (Bad password - name/password pair in a Tree Connect or Session Setup are invalid.)
Any ideas?
Hi Tony,
I know this is a silly question but have you tried resetting your user's password on your Samba server using the smbpasswd command in case it has somehow become corrupted?
Ian.