[Samba] Netlogon no longer works in 2.2.6 with W2k client

René Nieuwenhuizen R.Nieuwenhuizen at cpb.nl
Fri Oct 18 09:19:01 GMT 2002


Hi,

We've got a fairly simple samba setup (no ldap/winbind etc) and until
recently everything worked fine (using samba-2.2.5). But after switching
to samba-2.2.6 w2k-clients fail to run the netlogon-scripts. When i look
at the client it says: logonserver=\\<workstationname>

BTW. The output of "nmblookup -S CPB" (to me) seems to say that CPB is 
the logonserver.

querying CPB on 172.16.255.255
172.16.16.9 CPB<00>
Looking up status of 172.16.16.9
	FILESERVER      <00> -         M <ACTIVE>
	FILESERVER      <03> -         M <ACTIVE>
	FILESERVER      <20> -         M <ACTIVE>
	..__MSBROWSE__. <01> - <GROUP> M <ACTIVE>
	AGENDASERVER    <00> -         M <ACTIVE>
	AGENDASERVER    <03> -         M <ACTIVE>
	AGENDASERVER    <20> -         M <ACTIVE>
	CDROMSERVER     <00> -         M <ACTIVE>
	CDROMSERVER     <03> -         M <ACTIVE>
	CDROMSERVER     <20> -         M <ACTIVE>
	CPB             <00> - <GROUP> M <ACTIVE>
	CPB             <1b> -         M <ACTIVE>
	CPB             <1c> - <GROUP> M <ACTIVE>
	CPB             <1d> -         M <ACTIVE>
	CPB             <1e> - <GROUP> M <ACTIVE>
	DATASERVER      <00> -         M <ACTIVE>
	DATASERVER      <03> -         M <ACTIVE>
	DATASERVER      <20> -         M <ACTIVE>
	PRINTERSERVER   <00> -         M <ACTIVE>
	PRINTERSERVER   <03> -         M <ACTIVE>
	PRINTERSERVER   <20> -         M <ACTIVE>
	WEBSERVER       <00> -         M <ACTIVE>
	WEBSERVER       <03> -         M <ACTIVE>
	WEBSERVER       <20> -         M <ACTIVE>

Any hints???

René Nieuwenhuizen
CPB Netherlands Bureau for Economic Policy Analysis

----------------------------------------------------------------------------
smb.conf

[global]
	coding system =
	client code page = 850
	code page directory = /usr/local/samba-2.2.6/lib/codepages
	workgroup = CPB
	netbios name = FILESERVER
	netbios aliases = AGENDASERVER CDROMSERVER DATASERVER PRINTERSERVER 
WEBSERVER
	netbios scope =
	server string = CPB Server (Samba %v)
	interfaces = 172.16.16.9/255.255.0.0
	bind interfaces only = No
	security = USER
	encrypt passwords = Yes
	update encrypted = No
	allow trusted domains = Yes
	hosts equiv =
	min passwd length = 5
	map to guest = Never
	null passwords = No
	obey pam restrictions = No
	password server =
	smb passwd file = /usr/local/samba-2.2.6/private/smbpasswd
	root directory =
	pam password change = No
	passwd program = /root/bin/passwd %u
	passwd chat = *new*password* %n\n *new*password* %n\n *changed*
	passwd chat debug = No
	username map = /usr/local/samba/lib/users.map
	password level = 0
	username level = 0
	unix password sync = Yes
	restrict anonymous = No
	lanman auth = Yes
	use rhosts = No
	admin log = No
	log level = 0
	syslog = 1
	syslog only = No
	log file = /usr/local/samba/var/log/%I.log
	max log size = 5000
	timestamp logs = Yes
	debug hires timestamp = No
	debug pid = No
	debug uid = No
	protocol = NT1
	large readwrite = Yes
	max protocol = NT1
	min protocol = CORE
	read bmpx = No
	read raw = Yes
	write raw = Yes
	nt smb support = Yes
	nt pipe support = Yes
	nt status support = Yes
	announce version = 4.9
	announce as = NT
	max mux = 50
	max xmit = 16644
	name resolve order = lmhosts host wins bcast
	max ttl = 259200
	max wins ttl = 518400
	min wins ttl = 21600
	time server = Yes
	unix extensions = No
	change notify timeout = 60
	deadtime = 15
	getwd cache = Yes
	keepalive = 300
	lpq cache time = 10
	max smbd processes = 0
	max disk size = 0
	max open files = 10000
	name cache timeout = 660
	read size = 16384
	socket options = IPTOS_LOWDELAY TCP_NODELAY
	stat cache size = 50
	use mmap = No
	total print jobs = 0
	load printers = No
	printcap name = /etc/printcap
	disable spoolss = No
	enumports command =
	addprinter command = /usr/local/samba/lbin/add_printer
	deleteprinter command = /usr/local/samba/lbin/delete_printer
	show add printer wizard = Yes
	os2 driver map =
	strip dot = No
	mangling method = hash
	character set = ISO8859-1
	mangled stack = 50
	stat cache = Yes
	domain admin group = @ntadmins
	domain guest group = @gasten
	machine password timeout = 604800
	add user script = /usr/local/samba/lbin/add_user_script %u
	delete user script = /usr/local/samba/lbin/delete_user_script %u
	logon script = scripts\%I\logon.bat
	logon path = \\%L\profiles\%U\%I\%a
	logon drive = g:
	logon home = \\%L\%U\private\.profile\%a
	domain logons = Yes
	os level = 255
	lm announce = Auto
	lm interval = 60
	preferred master = Yes
	local master = Yes
	domain master = Yes
	browse list = Yes
	enhanced browsing = Yes
	dns proxy = Yes
	wins proxy = No
	wins server =
	wins support = Yes
	wins hook = /usr/local/samba/lbin/winshook
	kernel oplocks = Yes
	lock spin count = 3
	lock spin time = 10
	oplock break wait time = 0
	add share command =
	change share command =
	delete share command =
	config file =
	preload =
	lock dir = /usr/local/samba-2.2.6/var/locks
	pid directory = /usr/local/samba-2.2.6/var/locks
	utmp directory = /var/adm/wtmp
	wtmp directory =
	utmp = Yes
	default service =
	message command =
	dfree command =
	valid chars =
	remote announce =
	remote browse sync =
	socket address = 0.0.0.0
	homedir map =
	time offset = 0
	NIS homedir = No
	source environment =
	panic action =
	hide local users = No
	host msdfs = Yes
	winbind uid =
	winbind gid =
	template homedir = /home/%D/%U
	template shell = /bin/false
	winbind separator = \
	winbind cache time = 15
	winbind enum users = Yes
	winbind enum groups = Yes
	winbind use default domain = No
	comment =
	path =
	alternate permissions = No
	username =
	guest account = smbguest
	invalid users =
	valid users =
	admin users =
	read list =
	write list =
	printer admin = @ntadmins
	force user =
	force group =
	read only = Yes
	create mask = 0744
	force create mode = 00
	security mask = 0777
	force security mode = 00
	directory mask = 0755
	force directory mode = 00
	directory security mask = 0777
	force directory security mode = 00
	force unknown acl user = 00
	inherit permissions = No
	inherit acls = No
	guest only = No
	guest ok = No
	only user = No
	hosts allow =
	hosts deny =
	status = Yes
	nt acl support = Yes
	profile acls = No
	block size = 1024
	max connections = 0
	min print space = 0
	strict allocate = No
	strict sync = No
	sync always = No
	use sendfile = No
	write cache size = 0
	max print jobs = 1000
	printable = No
	postscript = No
	printing = hpux
	print command = lp -c -d%p %s; rm %s
	lpq command = /usr/bin/lpstat -p%p -o%p
	lprm command = cancel %p-%j
	lppause command = /usr/bin/lpalt %p-%j -p0
	lpresume command = /usr/bin/lpalt %p-%j -p2
	queuepause command = disable %p
	queueresume command = enable %p
	printer name =
	use client driver = No
	default devmode = No
	printer driver =
	printer driver file = /usr/local/samba-2.2.6/lib/printers.def
	printer driver location =
	default case = lower
	case sensitive = No
	preserve case = Yes
	short preserve case = No
	mangle case = No
	mangling char = ~
	hide dot files = Yes
	hide unreadable = No
	delete veto files = No
	veto files =
	hide files =
	veto oplock files =
	map system = No
	map hidden = No
	map archive = Yes
	mangled names = Yes
	mangled map =
	browseable = Yes
	blocking locks = Yes
	csc policy = manual
	fake oplocks = No
	locking = Yes
	oplocks = No
	level2 oplocks = No
	oplock contention limit = 2
	posix locking = Yes
	strict locking = No
	share modes = Yes
	copy =
	include = /usr/local/samba/lib/smb.conf.fileserver
	exec =
	preexec close = No
	postexec =
	root preexec =
	root preexec close = No
	root postexec =
	available = Yes
	volume =
	fstype = NTFS
	set directory = No
	wide links = Yes
	follow symlinks = Yes
	dont descend =
	magic script =
	magic output =
	delete readonly = No
	dos filemode = No
	dos filetimes = Yes
	dos filetime resolution = No
	fake directory create times = No
	vfs object =
	vfs options =
	msdfs root = No

[homes]
	comment = Uw eigen directory op de fileserver
	path = /m/pandora/home/%S
	read only = No
	inherit permissions = Yes
	hosts deny = batchpc1.cpb.nl
	browseable = No
	vfs object = /usr/local/samba/vfs/recycle.so
	vfs options = /usr/local/samba/lib/recycle.conf

[profiles]
	comment = Gebruikers profielen
	path = /m/pandora/profiles
	read only = No
	create mask = 0600
	directory mask = 0700
	nt acl support = No
	csc policy = disable
	root preexec = /usr/local/samba/lbin/make_profile_dir %U

[netlogon]
	comment = Netwerk Logon directory
	path = /usr/local/samba/netlogon
	invalid users = a_con
	write list = @it
	force group = it
	oplocks = Yes
	level2 oplocks = Yes
	exec = /usr/local/bin/setrhost %M %H
	root preexec = sh -c '/usr/local/samba/netlogon/logon %U %G %M %a %I'


--
================================================================================
Aan dit bericht kunnen geen rechten worden ontleend.
Het bericht is alleen bestemd voor de geadresseerde.
Indien dit bericht niet voor u is bestemd, verzoeken wij u dit onmiddellijk aan
ons te melden en de inhoud van het bericht te vernietigen.

This message shall not constitute any obligations.
This message is intended solely for the addressee.
If you have received this message in error, please inform us immediately and
delete its contents.
================================================================================



More information about the samba mailing list