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
|