Discussion Locked

Samba in Linux

0 helpful
8 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Sir,
I am using Linux as a platform and I want to see the files of windows client of anyone, how can I do that. After running samba services simply in Linux can I see the windows files.Please tell me how to do it.
Regards,
Manish.

8 replies

by lintadsl

Well, confused me.
Case A: Files from Linux and share it to windows client. ---> configure \etc\samba\smb.conf, you need to specify a folder to share, domain controller,,etc.

Case B: Files from windows to see in Linux box.
---> you need to mount windows share folder/drive to linux box. Using command like;
mount -t smbfs -o user=administrator,password=your_passwd //server/bbs /mnt/bbs(Mount PC named Server and shared folder called bbs, mount to /mnt/bbs in Linux box using administrator(NT/2000) authority)
Make sure command is all in one line.

If you still have a problem, please give us specific details.
Good luck,
Lintadsl.

by aaimoos

Dear,
i have used samba of linux Red Hat 6.0 to 7.2 versions, but if you want the most easiest way for the LAN browsing while sitting in Linux you can use KDE in linux 7.2 and use the komba 2.0.7 RedHat rpm for this.Install it and feel free.
aamir
aaimoos@hotmail.com

by sebastian zdrojewski

Hello,
I think You are a little confused about the Samba services (SMBD and NMBD) and the access to other Windows clients. Actually, SMBD and NMBD gives to other Windows based clients the capability of accessing files onto a Unix like filesystem.There is no necessity to start them if You want to access another client from Your Linux Box. A command called "smbmount" or usinf the foillowing syntax for the mount command, You can mount a share from a Windows client on the network:

mount -t smb //clientnameorip/sharename /mountpoint

The option "-t" can be skipped because of the unique format of the syntax for the share name. If You need to see what shares are available on a Windows machine You can use the "smbclient -L machinename" command passing a blank password. See man pages for further details and other options available for the commands: smbmount, mount, smbclient. Good Luck!

by sebastian zdrojewski

I forgot a thing: Your kernel must support the smb filesystem. To check that, do "cat /proc/filesystems" and see if smbfs is listed in the output. If not, launch the "modprobe smbfs" command line to install it. It will be available also on next box start.

This discussion is closed to new replies.