I am trying to setup Samba under Linux to serve files for a network of
Windows ME boxes (it's not my fault...). I am doing all this remotely so
I don't have access to any of the machines except for the Linux box via
ssh.
I have done the following:
root@localhost:~# smbclient -L RICHARD -U richard
added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0
Password:
Sharename Type Comment
--------- ---- -------
PRINTER2 Printer
PRINTER$ Disk
PRINTER Printer
MYDOCUMENTS Disk
IPC$ IPC Remote Inter Process Communication
Server Comment
--------- -------
RICHARD Unknown User
WWW Samba Server
Workgroup Master
--------- -------
BROWN RICHARD
When I enter the password at the prompt it is accepted just fine. But
when I try to connect to the share I get this:
root@localhost:~# smbclient //richard/MYDOCUMENTS -U richard
added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0
Password:
tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair
in a Tree Connect or Session Setup are invalid.)
I have tried both encrypted and unencrypted passwords in /etc/smb.conf and
security is set to user.
Can anyone help?
Thanks a lot,
Rob Judd
On 2001.10.07 12:51 Rob Judd wrote:> I have done the following: > > root@localhost:~# smbclient -L RICHARD -U richard > added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0 > Password: > > Sharename Type Comment > --------- ---- ------- > PRINTER2 Printer > PRINTER$ Disk > PRINTER Printer > MYDOCUMENTS Disk > IPC$ IPC Remote Inter Process Communication > > Server Comment > --------- ------- > RICHARD Unknown User > WWW Samba Server > > Workgroup Master > --------- ------- > BROWN RICHARD > > When I enter the password at the prompt it is accepted just fine. But > when I try to connect to the share I get this: > > root@localhost:~# smbclient //richard/MYDOCUMENTS -U richard > added interface ip=192.168.1.9 bcast=192.168.1.255 nmask=255.255.255.0 > Password: > tree connect failed: ERRSRV - ERRbadpw (Bad password - name/password pair > in a Tree Connect or Session Setup are invalid.) >Try starting the smbclient session without a username or password. If MYDOCUMENTS is a public share (guest only = yes), using a password or username will block you. Raven ------------------------------------------------------------ Raven (not the OTHER Raven, THAT Raven! :-) <dmstowell@ameritech.net> And if love remains Though everything is lost We will pay the price But we will not count the cost