LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-10-2002, 07:27 PM   #1
Active LINXs
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Rep: Reputation: 0
Samba Help


I am having a problem configuring my smb.conf file. I am very new to linux and do not have to much of an idea what I am doing (as you will see).

This is what my smb.conf file looks like:

[global]
netbios name = Epsilon-03
workgroup = nest
security = share
wins support = yes

hosts allow 192.168.1 192.168.2.127.

Shares Definitions
------------------------------------------------------------------------
[homes]

comments = LInux Homes Directories
browesable = yes
path = %H
writeable = yes
locking = no
# read only = no
# preserve case = yes
create mode = 0750
directory mode = 0770

------------------------------------------------------------------
# Active LINXs Setup
[Eagle's Nest]
comment = Shared Directory
path = /samba/smb/students
writeable = yes
browesable = yes
valid user = @class
locking = no
create mode = 0770
directory = 0770
guest = ok
-------------------------------------------------------------------

Now, what I want to do is see a folder on the Linux client from my Win 2k Server box. Basically, (In windows terms) I want to map a drive from my Linux box to my server box so that I can see a file. Is there anyone out there that can help me???!!


Acitve LINXs
 
Old 09-10-2002, 08:55 PM   #2
hanzerik
Member
 
Registered: Jan 2002
Location: Cheyenne Wyoming
Distribution: Debian/Raspbian/Mint
Posts: 717

Rep: Reputation: 32
Well the first thing I can think of is why require a valid user(group dependent) for Eagles Nest share, and your saying map the users home directories, but you are using the security = share setting that allows anyone to connect, whether they are a valid user or not.

I would say take a look at the samba doc's reguarding smbpasswd, and look at security = user.

And I beleave you are missing a . after the 192.168.1 and an extra . after the secound ip addy.
Different ways of doing it:
hosts allow = 192.168.1.0/255.255.255.0 #all hosts in that subnet are allowed
 
Old 09-11-2002, 12:43 AM   #3
naveia
LQ Newbie
 
Registered: Sep 2002
Location: RIO DE JANEIRO - BRAZIL
Distribution: conectiva 8, conectiva 7
Posts: 1

Rep: Reputation: 0
Lightbulb


Im completely new to linux to.

My advice is to check every file that set your domainname.
My mistake was to configure everything manually but my ifcfg-eth0, done by linuxconf.
Check your domainnames and hostnames.

Anyway, send me your logs!!
 
Old 09-16-2002, 07:57 PM   #4
Active LINXs
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
still having trouble



still having problems working in the smb.conf folder. need some suggestions on how to configure. fixed the ip addressing problem. not quite sure about the domain names and such. can someone send me a copy of an example of what this should looklike PLEASEEEEE!!!!!


Active lInxs
 
Old 09-18-2002, 09:51 AM   #5
te_conway
Member
 
Registered: Apr 2001
Location: MA
Distribution: redhat 7.2
Posts: 182

Rep: Reputation: 30
Is this a typo?

hosts allow 192.168.1

This will block everything on this address

You must have a period on the end 192.168.1.

-tom
 
Old 09-19-2002, 04:56 PM   #6
Active LINXs
LQ Newbie
 
Registered: Sep 2002
Posts: 3

Original Poster
Rep: Reputation: 0
Talking Tahnk you

I just want to thank the peolpe who helped me out on my Linux problems. Y'all were a great help, and I really apprecaite it.



Active LINXs
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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 02:33 AM
Samba - Connecting from WinXP Pro to Samba running on Debian critical Linux - Networking 1 02-03-2005 10:36 AM
I need the content from thegoldenear.org/toolbox/unices/samba/samba-setup.html rtg2001 Linux - Networking 1 08-05-2004 06:54 PM
Samba: Authenticate Linux-Clients in Samba Domain & Mount mule Linux - Software 0 12-10-2003 02:21 AM
when i restart SAMBA,it says:stop samba failed,start SAMBA OK! whepin Linux - Networking 3 12-26-2001 06:54 AM


All times are GMT -5. The time now is 06:50 AM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration