LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 10-17-2001, 04:22 PM   #1
jkahlich
LQ Newbie
 
Registered: Oct 2001
Location: Dallas, Texas
Distribution: Red Hat
Posts: 6

Rep: Reputation: 0
Post Simple Tips How I Got SAMBA to Work


I just found this site yesterday and it is GREAT!

I have an NT 4.0 Domain and got a Red Hat 7.1 with its version to join and act as a simple file server with little problem. 2 very important things I learned.

1) Before adding the box, making sure smb and nmbd are stopped, create an account for the computer on your NT domain.

2)Put an entry in the /etc/hosts file for your WINS server (This stopped my initial connections to the shares to stop hanging and sometime timing out).

Good Luck!

I am pasting my smb.conf file and my hosts file below for you to see.

/etc/hosts
# Do not remove the following line, or various programs
# that require network functionality will fail.
127.0.0.1 localhost.localdomain localhost
<your.pc.ip.adrs> <your WINS Computername>.<your NT domain>.com <Computer Name>
<your.pc.ip.adrs> <your File Server Name>.<your NT domain>.com <Computer Name>


# Global parameters
[global]
workgroup = <Put your NT Domain Name Here>
netbios name = <Your File Server,s Name>
server string = <Your File Server's Name
security = DOMAIN
encrypt passwords = Yes
password server = <Your NT PDC Name Here>
log level = 0
log file = /var/log/samba/log.%m
max log size = 50
keepalive = 60
load printers = No
os level = 65
local master = No
wins server = <Wins Server Name Here>
guest account = smbuser
create mask = 0660
directory mask = 0770

[<Share Name Here>]
comment = Production
path = /usr/local/samba/<Share Name Here>
force user = smbuser
read only = No
guest ok = Yes
 
  


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 - It was so simple. rizhun LinuxQuestions.org Member Success Stories 1 07-28-2005 01:28 PM
simple samba mikeindo Linux - Networking 6 08-20-2004 12:46 AM
Simple Samba issue cockblocker Linux - Software 3 07-06-2003 11:49 PM
Simple Samba Question oostevo Linux - Networking 4 01-21-2002 11:10 AM
Simple Samba Question raz Linux - Networking 2 08-15-2001 06:08 AM

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

All times are GMT -5. The time now is 10:45 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
Open Source Consulting | Domain Registration