LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Networking (https://www.linuxquestions.org/questions/linux-networking-3/)
-   -   samba (https://www.linuxquestions.org/questions/linux-networking-3/samba-64427/)

jmono 06-08-2003 06:38 PM

samba
 
hi
itīs me again trying to learn a little bit more

and this time i need if anyone can give me a good link for a Samba HOW TO, i have read a lot and all of them are very different
and it makes me confused

i just need to see a folder shared in my windows computer, and in the server see the windows files??

any help

thanks in advance, and thanks for the time

manthram 06-08-2003 06:53 PM

it will be better for a starter to install swat. it is the GUI for samba configuration. the rpm should be on the cd's for you can download it from rpmfind.net


if you want a good howto this is the place

jmono 06-08-2003 08:54 PM

thanks manthram, but i donīt want to use SWAT, cause it does everything and i cannot know how
i need to learn!!

and now i can see the shared folder on my windows machine

but now i need to mount the windows folders on my linux machine, when i type:
mount -t smbfs -o username=xxxx,password=yyyy //192.168.0.2/public /mnt/public
it tells me:
3430: session request to 192.168.0.2 failed (Called name not present)
3430: session request to *SMBSERVER failed...

richuk 06-08-2003 10:39 PM

Hi jmono...

I use a command in this format:

mount -t smbfs -o username=<username>,password=<password> //<hostname>/<sharesame> /<mountpoint>

and it works fine. Note that I am using a hostname, not an IP address. I suggest that if you are using static IP addresses, that you enter both ip addresses in the hosts file on both machines, then try the command using the hostname (notice that the error said the Called name not present).

hosts is /etc/hosts on you linux box and normally either:

C:\Windows\hosts (WfWG,W95,98,me)
or
C:\WINNT\system32\drivers\etc\hosts (NT4,W2K)

... not sure about XP!

If this does not fix your problem, I can look into it a bit more for you.;)

jmono 06-09-2003 02:19 AM

thanks mate
i will try that tomorrow cause it is time to sleep now (2:25 AM)

jmono 06-10-2003 07:40 AM

well...
thanks
but now iīm having troubles with the sharename

cause the directory that i want to share it is on the D:\ drive and it is called sets
and it tells me that my sharename is incorrect

jmono 06-10-2003 12:44 PM

you have fixed my problem with the hostname

thanks a lot richuk

kopite2012 04-19-2004 09:31 AM

Sharing Folders on the Linux box that can be viewed in Windows
 
Hi guys,
Just reading through the various conversations you've been having regarding sharing folders.

I need some help on this if are able. I need to share a folder on my linux box that can be viewed and written to from a windows machine. I do not have Gui installed and cannot install it due to lack of processor power and memory.

What do I need to do to acheive this.

1. Firstly I cannot view my Linux box in network neighbourhood from a Windows Platform

2. Secondly, How do I share a folder in Linux

3. Thirdly, How do I configure the share so that it can be viewed and edited from a windows platform.

Many thanks for your help. Regards.

jjohnston62 04-19-2004 11:35 AM

there is a much detailed HOW TO PDF available at www.samba.org, which will tell you just about everything you'd need to know about samba in different situations.

also look for "samba 3 by example" Book by John Terpstra. steps through installation and usage of Samba in different network environments.

You don't mention if you're using 2.x or 3.0x - samba. I'd recommend the 3.0 stuff. However, if you're not able to see your machine, you're probably not running nmbd.

Everything is controlled in /etc/samba/smb.conf - keep it simple to start out.

be sure to add users to both unix/linux and samba using smbpasswd.
be sure to check the security level on the share so that users have rights to modify it - detailed info is in the HOW TO book at www.samba.org./

kopite2012 04-20-2004 09:21 AM

Samba
 
I have started the process of installing Samba 3.0.2a

I have gone past the stage of typing

./configure \
--pre=/usr/local/samba \
--with-configdir=/etc/samba \
etc.. etc... etc..

typed make

and for the past two hours its been compiling several different components like fault.c, get smbpass.c etc..

Is it normal for Samba to take this long to compile, or is there something wrong with the installation and I need to cancel it?

Many thanks in advance for the info. regards,


All times are GMT -5. The time now is 02:35 PM.