At 10:39 PM 12/31/2001 +0900, you wrote:
>
>I have 3 computer, 2 Linux (RH and ML) and one windows 98 box. Using samba,
>I can see all files on my 98 box. I want to do some file sharing with my 2
>linux boxes, I read (from the MUO - Connectivity - SAMBA Setup I
>http://www.mandrakeuser.org/docs/connect/csamba.html) that you can't use
>linux as a client to a Linux Server.
Not true. You can use Linux as a client to a Linux Samba server--as a
matter of fact, that is how they suggest you test your samba installation:
[root@host1 /root]# mount -t smbfs -o username=xxxx,password=xxxx
//hostdev/share /mnt/share
params.c:Parameter() - Ignoring badly formed line in configuration file:
passwd:
*all*authentication*tokens*updated*successfully*
[root@host1 /root]# df -h /mnt/wsdopres
Filesystem Size Used Avail Use% Mounted on
//hostdev/share 1.0G 417M 610M 41% /mnt/share
[root@host1 /root]#
(some details have been changed to protect the hostname, username, and
passwords of this particular server(s))
Also using smbclient to a Linux server from a Linux client:
user@host1 ~ $ smbclient -U user -L hostdev
'params.c:Parameter() - Ignoring badly formed line in configuration file:
passwd
:*all*authentication*tokens*updated*successfully*
added interface ip=xxx.xx.xx.xxx bcast=xxx.xx.xx.xxx nmask=xxx.xxx.xxx.0
Password:
Domain=[TESTDOMAIN] OS=[Unix] Server=[Samba 2.2.2]
Sharename Type Comment
--------- ---- -------
netlogon Disk Network Logon Service
IPC$ IPC IPC Service (Samba Server 2.2.2)
ADMIN$ Disk IPC Service (Samba Server 2.2.2)
user Disk Home Directories
Server Comment
--------- -------
HOSTDEV Samba Server 2.2.2
Workgroup Master
--------- -------
WINDOMAINII HOST1
TESTDOMAINII HOSTDEV
user@host1 ~ $
Samba is of course not the preferred way to share folders between linux
machines, nfs is. I won't go into any detail as to how to set that up
unless you really want to open up the proverbial can of worms.
Civilme or Vincent -- Know who is maintaining the docs on Mandrake User? I
think it may be time for an update to the SAMBA ones (especially the one
mentioned in this post).
Michael
--
Michael Viron
Registered Linux User #81978
Senior Systems & Administration Consultant
Web Spinners, University of West Florida
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com