LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Networking
User Name
Password
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.

Notices


Reply
  Search this Thread
Old 06-08-2003, 06:38 PM   #1
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Rep: Reputation: 15
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
 
Old 06-08-2003, 06:53 PM   #2
manthram
Member
 
Registered: Feb 2002
Location: Fairfax, VA
Distribution: RedHat 8, Mandrake9.1, Slack9
Posts: 456

Rep: Reputation: 31
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
 
Old 06-08-2003, 08:54 PM   #3
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
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...
 
Old 06-08-2003, 10:39 PM   #4
richuk
Newbie
 
Registered: Jun 2003
Location: San Diego, CA, USA
Distribution: Red Hat 9 & Mandrake (various)
Posts: 5

Rep: Reputation: 0
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.

Last edited by richuk; 06-08-2003 at 10:50 PM.
 
Old 06-09-2003, 02:19 AM   #5
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
thanks mate
i will try that tomorrow cause it is time to sleep now (2:25 AM)
 
Old 06-10-2003, 07:40 AM   #6
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
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
 
Old 06-10-2003, 12:44 PM   #7
jmono
Member
 
Registered: Feb 2003
Location: Colombia
Distribution: Mandrake
Posts: 52

Original Poster
Rep: Reputation: 15
you have fixed my problem with the hostname

thanks a lot richuk
 
Old 04-19-2004, 09:31 AM   #8
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
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.
 
Old 04-19-2004, 11:35 AM   #9
jjohnston62
Member
 
Registered: Aug 2003
Location: Minnesota, USA
Distribution: RedHat, Suse
Posts: 106

Rep: Reputation: 15
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./
 
Old 04-20-2004, 09:21 AM   #10
kopite2012
Member
 
Registered: Mar 2004
Posts: 31

Rep: Reputation: 15
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,
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Samba/Cups print sharing problems (/var/spool/samba files) Gates1026 Linux - General 9 06-23-2013 01:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 09:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 05:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 01:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 05:54 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 11:39 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration