still having problems in the morning. read this...

Larry Clark xwindowuser at discflo.com
Tue Jan 30 16:32:02 GMT 2001


well after so much work of trouble shooting and still not being able to
consistanly log in, in the morings, after a night of noone logging into
the samba box, I disabled the nt domain feature, and just started to use
it as a member server. basically user security, self authenticating
instead of going to the PDC to authenticate. this started to seem like
it was going top work. faster lgging in was happening. but then again,
after the night, every morning, still noone can login except after
multiple trys. so I put  alittle hash/bang in the init.d directory to
the effect of:
#!/etc/rc.d/init.d/restart
 the restart file is basically this:
/etc/rc.d/init.d/smb restart

I then went into crontab -u root -e
and made a new crontab for daily to execute the hash bash at 6:30 am so
that it restarts samba at 6:30 am and then everyone comes in at 7ish.
well even after that they still can't login successfully. it seems that
I am the only one that can log in in the morings successfully......also
they are on the other side of the building and go thru a switch, if that
makes any difference.....

attached is an output of my smb.conf file.........feel free to give me
any help at all, lest I lose more haor than I already have,
thanks...larry clark
-------------- next part --------------
Load smb config files from /etc/smb.conf
doing parameter security = user
doing parameter encrypt passwords = yes
doing parameter smb passwd file = /etc/smbpasswd
doing parameter socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
doing parameter interfaces = 192.168.0.1/24 127.
doing parameter wins server = 192.168.0.11
Processing section "[printers]"
doing parameter comment = All Printers
doing parameter path = /var/spool/samba
doing parameter browseable = no
doing parameter guest ok = no
doing parameter writable = no
doing parameter printable = yes
Processing section "[tmp]"
doing parameter comment = Temporary file space
doing parameter path = /tmp
doing parameter read only = no
doing parameter public = yes
doing parameter browseable = yes
Processing section "[public]"
doing parameter comment = Public Stuff
doing parameter path = /home/samba
doing parameter public = yes
doing parameter read only = no
doing parameter browseable = yes
Processing section "[auto]"
doing parameter comment = Autoselect Database
doing parameter path = /auto
doing parameter read only = no
doing parameter public = no
doing parameter browseable = yes
doing parameter create mask = 0765
doing parameter directory mask = 0765
pm_process() returned Yes
lp_servicenumber: couldn't find homes
Loaded services file OK.
Press enter to see a dump of your service definitions
# Global parameters
[global]
	workgroup = DISCFLO
	netbios name = PENGUIN
	netbios aliases = 
	server string = Samba Server
	interfaces = 192.168.0.1/24 127.
	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
	password server = 
	smb passwd file = /etc/smbpasswd
	root directory = /
	passwd program = /bin/passwd
	passwd chat = *old*password* %o\n *new*password* %n\n *new*password* %n\n *changed*
	passwd chat debug = No
	username map = 
	password level = 0
	username level = 0
	unix password sync = No
	restrict anonymous = No
	use rhosts = No
	log level = 10
	syslog = 1
	syslog only = No
	log file = /var/log/samba/log.%m
	max log size = 50
	timestamp logs = Yes
	protocol = NT1
	read bmpx = No
	read raw = Yes
	write raw = Yes
	nt smb support = Yes
	nt pipe support = Yes
	nt acl support = Yes
	announce version = 4.2
	announce as = NT
	max mux = 50
	max xmit = 65535
	name resolve order = lmhosts host wins bcast
	max packet = 65535
	max ttl = 259200
	max wins ttl = 518400
	min wins ttl = 21600
	time server = No
	change notify timeout = 60
	deadtime = 0
	getwd cache = Yes
	keepalive = 300
	lpq cache time = 10
	max disk size = 0
	max open files = 10000
	read prediction = No
	read size = 16384
	shared mem size = 1048576
	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
	stat cache size = 50
	load printers = Yes
	printcap name = /etc/printcap
	printer driver file = /etc/printers.def
	strip dot = No
	character set = 
	mangled stack = 50
	coding system = 
	client code page = 850
	stat cache = Yes
	domain groups = 
	domain admin group = 
	domain guest group = 
	domain admin users = 
	domain guest users = 
	machine password timeout = 604800
	add user script = 
	delete user script = 
	logon script = 
	logon path = \\%N\%U\profile
	logon drive = 
	logon home = \\%N\%U
	domain logons = No
	os level = 0
	lm announce = Auto
	lm interval = 60
	preferred master = No
	local master = Yes
	domain master = No
	browse list = Yes
	dns proxy = Yes
	wins proxy = No
	wins server = 192.168.0.11
	wins support = No
	kernel oplocks = Yes
	ole locking compatibility = Yes
	oplock break wait time = 10
	smbrun = /usr/bin/smbrun
	config file = 
	preload = 
	lock dir = /var/lock/samba
	default service = 
	message command = 
	dfree command = 
	valid chars = 
	remote announce = 
	remote browse sync = 
	socket address = 0.0.0.0
	homedir map = 
	time offset = 0
	unix realname = No
	NIS homedir = No
	panic action = 
	comment = 
	path = 
	alternate permissions = No
	revalidate = No
	username = 
	guest account = nobody
	invalid users = 
	valid users = 
	admin users = 
	read list = 
	write list = 
	force user = 
	force group = 
	read only = Yes
	create mask = 0744
	force create mode = 00
	security mask = 037777777777
	force security mode = 037777777777
	directory mask = 0755
	force directory mode = 00
	directory security mask = 037777777777
	force directory security mode = 037777777777
	guest only = No
	guest ok = No
	only user = No
	hosts allow = 192.168.0.  127.
	hosts deny = 
	status = Yes
	max connections = 0
	min print space = 0
	strict sync = No
	sync always = No
	print ok = No
	postscript = No
	printing = bsd
	print command = lpr -r -P%p %s
	lpq command = lpq -P%p
	lprm command = lprm -P%p %j
	lppause command = 
	lpresume command = 
	queuepause command = 
	queueresume command = 
	printer name = 
	printer driver = NULL
	printer driver location = 
	default case = lower
	case sensitive = No
	preserve case = Yes
	short preserve case = Yes
	mangle case = No
	mangling char = ~
	hide dot files = Yes
	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
	fake oplocks = No
	locking = Yes
	mangle locks = Yes
	oplocks = Yes
	level2 oplocks = No
	oplock contention limit = 2
	strict locking = No
	share modes = Yes
	copy = 
	include = 
	exec = 
	postexec = 
	root preexec = 
	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 filetimes = No
	dos filetime resolution = No
	fake directory create times = No

[printers]
	comment = All Printers
	path = /var/spool/samba
	print ok = Yes
	browseable = No

[tmp]
	comment = Temporary file space
	path = /tmp
	read only = No
	guest ok = Yes

[public]
	comment = Public Stuff
	path = /home/samba
	read only = No
	guest ok = Yes

[auto]
	comment = Autoselect Database
	path = /auto
	read only = No
	create mask = 0765
	directory mask = 0765


More information about the samba mailing list