[Samba] cannot browse domain - WHY?

Greg Conway greg at gmlnt.com
Mon Feb 11 11:37:08 GMT 2002


Hi all,

Just setting my latest Samba Server, and there's a couple of issues that
have always niggled me, so I thought I'd ask!

1/ When you try to browse the network though network neighbourhood, I can
never get a list of PC's. It always tells me the network is unavailable, or
a Domain Controller for the Domain cannot be located.

Is there an easy way I can get round this? Probably something I am missing
from smb.conf (below).

2/ There is always a lag when I try to log on to the Domain with Windows
clients. From a login prompt, it takes a good 20-30 seconds before the login
scripts run. This might just be the effect of networking, but if there's a
way of speeding up I'd like to know about it!

The last two Samba Servers I set up were comparable - an AMD 850 MHz and and
Intel Celeron 800 MHz, both with 256 Mb RAM. The last one I set up that had
no noticeable lag was a Fujitsu Primergy PIII/800 (specialist server with
dual processor support) so maybe that just answered my question.... but
you've gotta ask!!

So, any help with either of those above (especially no.1) much appreciated!

Regards,

Greg Conway.



smb.conf:

# Global parameters
[global]

	workgroup = PYRKES
	netbios name = PYRKESLUX
#	netbios aliases = GMLFAXALIAS1 GMLFAXALIAS2
	server string = PYRKESLUX SAMBA %v on %L

	security = domain
	encrypt passwords = Yes
#	unix password sync = no
	smb passwd file = /etc/samba/smbpasswd

	log file = /usr/local/logs/samba.log.%m
	max log size = 1000
	log level = 2

	interfaces = 192.168.0.2 127.0.0.1
#	bind interfaces only = yes
	socket address = 192.168.0.2
	hosts allow = 192.168.0. 127.
#		EXCEPT 192.168.0.1
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# 		IPTOS_LOWDELAY
# 		SO_BROADCAST

	kernel oplocks = no
	max xmit = 16384
	max xmit = 32768
	read raw = no
	write raw = no
	read size = 32768

	load printers = no

	add user script = /usr/sbin/adduser -n -g samba -c Machine -d /dev/null -s
/bin/false %m$

	logon path = \\PYRKESLUX\profiles\%u
	logon drive = U:
	logon home = \\PYRKESLUX\homes
	logon script = login.bat

	domain logons = Yes
	os level = 64
	preferred master = yes
	domain master = true
	local master = yes

	dns proxy = no

	wins support = yes
	wins proxy = yes
	name resolve order = wins lmhosts hosts bcast

	valid users = greg terry jane sarah root GREGMOBILE$

#	map archive = true
#	map system = true
#	map hidden = true

	create mask = 0770
	force create mode = 0770
	directory mask = 0770
	force directory mode = 0770

#	nimda worm protection
	veto files = /*.eml/*.nws/riched20.dll/*.{*}/

[homes]
	browseable = no
	read only = no

#[printers]
#	path = /var/spool/uucppublic	# maybe change this!
#	min print space = 2048		# maybe this should be in [global]
#	printable = Yes
#	browseable = no
#	valid users = greg

#[hylafax]
#	comment = Hylafax Linux fax printer
#	path = /tmp
#	lpq command = /usr/local/downloads/SMBFAX/smbfax/smbfax show
#	lprm command = /usr/local/downloads/SMBFAX/smbfax/smbfax dequeue %j
#	print command = /usr/local/downloads/SMBFAX/smbfax/smbfax -r queue %u %s
#	queuepause command = /bin/true
#	queueresume command = /bin/true
#	postscript = true
#	browseable = yes
#	printable = yes
#	writeable = no
#	create mode = 0700
#	printing = lprng
#	valid users = greg

#[hplj3]
#	printable = yes
#	browseable = yes
#	print command = /usr/bin/lpr -r %s
#	printer = lp
#	printing = BSD
#	read only = yes
#	valid users = greg

[profiles]
	comment = PYRKESLUX profiles drive
	browseable = no
	path = /export/samba/profiles
	writeable = yes
	volume = PYRKESLUX-PROFILES

[data]
	comment = PYRKESLUX data drive
	path = /export/samba/data
	read only = No
	volume = PYRKESLUX-DATA

[users]
	browseable = yes
	path = /export/samba/users
	comment = user home directories
	read only = no
	volume = PYRKESLUX-USERS

[netlogon]
	comment = PYRKESLUX NETLOGON directory
	browseable = yes
	path = /export/samba/netlogon
	read only = yes
	volume = PYRKESLUX-NETLOGON

[install]
	comment = PYRKESLUX installation files drive
	browseable = yes
	path = /export/nobackup/install
	volume = PYRKESLUX-INSTALL
	read only = no

[protrack]
	comment = PYRKESLUX protrack network drive
	browseable = yes
	path = /export/samba/protrack
	read only = no
	volume = PYRKESLUX-PROTRACK
#	oplocks = no

[roadrunner]
	comment = PYRKESLUX roadrunner network drive
	browseable = yes
	path = /export/samba/roadrunner
	read only = no
	volume = PYRKESLUX-ROADRUNNER
#	oplocks = no

[homeview]
	comment = PYRKESLUX homeview network drive
	browseable = yes
	path = /export/samba/homeview
	read only = no
	volume = PYRKESLUX-HOMEVIEW
#	oplocks = no

[sage]
	comment = PYRKESLUX sage network drive
	browseable = yes
	path = /export/samba/sage
	read only = no
	volume = PYRKESLUX-SAGE
#	oplocks = no

[dataease]
	comment = PYRKESLUX-DATAEASE
	browseable = yes
	path = /export/samba/dataease
	read only = no
	volume = PYRKESLUX-DATAEASE
	oplocks = no

[fsb]
	comment = PYRKESLUX system backup drive (not backed up)
	browseable = yes
	path = /export/nobackup/backup
	read only = no
	volume = PYRKESLUX-BACKUP

[logs]
	comment = PYRKESLUX log files directory
	browseable = yes
	path = /usr/local/logs
	read only = yes
	volume = PYRKESLUX-LOGS#2

[syslogs]
	comment = PYRKESLUX syslog files directory
	browseable = yes
	path = /var/log
	read only = yes
	volume = PYRKESLUX-LOGS#1

--
+-----------------------------------+
|  Greg Conway, Technical Director  |
|    GML Networking Technologies    |
+-----------------------------------+
 Email/MSN:    mailto:greg at gmlnt.com
 ICQ#:                     100219981
 mobile tel.:   +44 (0) 7974 666 967
 mobile fax:    +44 (0) 7970 087 935
 GML support:   +44 (0) 1255 851 999
 Internet:      http://www.gmlnt.com
 office tel.:   +44 (0) 1255 672 103
 office fax:    +44 (0) 1255 679 909
+-----------------------------------+
| GMLNT ** Sensible Smart Solutions |
+-----------------------------------+

***********************************************************************
This is a confidential communication between sender and addressee. If you are not the intended recipient of this message, please notify the sender and do not read, copy, use or disclose this communication to others. Any opinions or views expressed are those of the individual, and unless otherwise stated, are not those of the company. All attachments and intellectual rights remain the property of GML (NT) Limited.
***********************************************************************




More information about the samba mailing list