[Samba] Server name appears as domain name
Jonathan Johnson
jon at sutinen.com
Wed May 12 01:08:00 GMT 2004
I've got a Samba 3.0.4 server running on RedHat 8.0 as a PDC. It's the
only domain controller on the network, and the only WINS server on the
network.
The problem is, when I browse the network neighborhood, I see the
NetBIOS name of the server ("SERVER") appear as a workgroup/domain
(though there are no hosts listed in this phantom domain). It also
appears as a computer under the AEC domain. All computers on the
network are either in the workgroup AEC or domain members of AEC.
When I attempt to use User Manager for Domains (usrmgr.exe, from
SRVTOOLS) from a Win2K or XP client, I am first presented with the
error message, "Could not find domain controller for this domain. Would
you like to select another domain to administer?" I suspect it is first
trying to connect to a DC on the phantom domain, SERVER. In the "Select
Domain" dialog box, both AEC and SERVER appear as domains.
I have been having some problems that come and go that seem to be
related to browsing, domain group SIDs, and so forth. I suspect that
whatever is causing the netbios hostname appear as a domain may be the
root cause.
I suspect it's a domain browsing / nmbd / WINS issue, but I'm stumped
as to where the problem lies. I've tried clearing the NetBIOS cache
(using nbtstat -R) then restarting the workstation to no effect. The
wins.dat database looks normal to me.
Below is the global section of smb.conf:
[global]
workgroup = AEC
netbios name = SERVER
server string = PowerWave Server PDC
update encrypted = Yes
null passwords = Yes
obey pam restrictions = Yes
passdb backend = tdbsam
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd '%u'
delete user script = /usr/sbin/userdel '%u'
add group script = /etc/samba/bin/smbgroupadd '%g'
delete group script = /etc/samba/bin/smbgroupdel '%g'
add user to group script = /usr/bin/gpasswd -a '%u' '%g'
delete user from group script = /usr/bin/gpasswd -d '%u' '%g'
set primary group script = /usr/sbin/usermod -g '%g' '%u'
add machine script = /usr/sbin/adduser -n -g machines -c Machine -s /bin/false -M '%u'
logon path =
domain logons = Yes
os level = 65
preferred master = Yes
domain master = Yes
dns proxy = No
wins support = Yes
ldap ssl = no
add share command = /usr/sbin/modify_samba_config.pl
change share command = /usr/sbin/modify_samba_config.pl
delete share command = /usr/sbin/modify_samba_config.pl
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'
--Jon Johnson
Sutinen Consulting, Inc.
jon at sutinen.com
(360) 270-9317 cell
More information about the samba
mailing list