Scot L. Harris wrote:
On Fri, 2004-12-10 at 18:44, A. Rick Anderson wrote:
Ever since I upgraded my machine from FC2 to FC3, I've been having
network issues. In the course of debugging problems with my samba
shares, I discovered that named.conf had been swapped out. Switching
the file names back seems to have resolved the samba shares problem.
I'm not sure that issues related to it operating as a PDC have been
resolved.
After my FC3 machine is up for 15 to 30 minutes, all the connected Win2k
resources start failing. The various PC's no longer can access each
other's shares, including shared printers. If a user attempts to log
into one of the machines, if the user hasn't already logged in on that
particular machine, she will get a message saying that the domain is not
available. If you try to access one of the shares, it will present you
with an authentication dialog box, but you will fail every time.
Sounds like your linux system is fighting with another domain
controller. If you want samba to win the election to become browser
master you need to set the os level parameter to 32 or higher. I
believe it defaults to 20.
I've currently got my Linux box set to 60, which was sufficient with
FC2. I've also got it set to be the "preferred master" and "domain
master". My smb.conf is attached.
--
A. Rick Anderson
|
# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2004/10/11 17:28:51
# Global parameters
[global]
workgroup = GALARIK
netbios name = %h
server string = %h/%L A Samba Server, version %v
obey pam restrictions = Yes
password server = None
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
username map = /etc/samba/smbusers
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
name resolve order = wins,hosts,lmhosts,bcast
time server = Yes
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
printcap name = /etc/printcap
domain logons = Yes
os level = 60
preferred master = Yes
domain master = Yes
wins proxy = Yes
wins support = Yes
idmap uid = 16777216-33554431
idmap gid = 16777216-33554431
guest ok = Yes
printing = lprng
print command = lpr -r -P'%p' %s
lpq command = lpq -P'%p'
lprm command = lprm -P'%p' %j
lppause command = lpc hold '%p' %j
lpresume command = lpc release '%p' %j
queuepause command = lpc stop '%p'
queueresume command = lpc start '%p'
[homes]
comment = Home Directories
valid users = %S
writeable = yes
create mask = 0664
directory mask = 0775
browseable = No
[netlogon]
comment = Network Logon Service
path = /home/netlogon
share modes = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[tmp]
comment = Temporary file space
path = /tmp
guest ok = yes
writeable = yes
[public]
comment = Shared Directories
path = /home/public
writeable = yes
guest ok = yes
guest only = Yes
[readerware]
comment = Readerware Database
path = /home/readerware/readerware
writeable = yes
create mask = 0766
guest only = Yes
hide dot files = No