[Samba] Unexpected network failure

Karel Kulhavy clock at atrey.karlin.mff.cuni.cz
Wed Mar 17 14:27:19 GMT 2004


Hello

When I am trying to access a share on Samba PDC from a workstation in
trusted domain (bidirectional trust) and the client says "Unexpected
network error expected" after asking me for username and password for
the share (which I enter correctly). What can be the problem?

Cl<

# Samba config file created using SWAT
# from 127.0.0.1 (127.0.0.1)
# Date: 2003/11/19 15:51:41

# Global parameters
[global]
	security = user
	wins support = no
	workgroup = KEVF_D4
	encrypt passwords = yes
	domain logons = yes
	null passwords = yes
	interfaces = eth1
	preferred master = Yes
	domain master = Yes
	debuglevel = 3
	ldap ssl = no
	admin users = admin,prech,root,test
	hosts allow = 195.113.
#	hide local users = yes
	name resolve order=lmhosts,bcast

	socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

	unix password sync = yes
	passwd program = /bin/passwd "%u"
	passwd chat = *ew*password* %n\n *ew*password* %n\n

	add user to group script = /usr/local/samba/bin/myaddusertogroup '%u' '%g'
	add user script = /usr/sbin/useradd -c 'Samba User' -d /dev/null -g smbusers -s /bin/false '%u'
	add machine script = /usr/sbin/useradd -c 'Machine' -d /dev/null -g machines -s /bin/false '%u'
	add group script = /usr/local/samba/bin/mygroupadd '%g'
	delete group script = /usr/sbin/groupdel '%g'
	delete user script = /usr/sbin/userdel '%u'
	delete user from group script = /usr/local/samba/bin/mydeleteuserfromgroupscript '%u' '%g'
	delete user script = /usr/sbin/userdel '%u'
	set primary group script = /usr/sbin/usermod -g '%g' '%u'

	map to guest = Bad User
	passdb backend = tdbsam

	logon drive = h:
	logon home = \\oberon\%U
	logon path = \\oberon\profiles\%U

	server schannel = auto
	server signing = auto
	client schannel = auto

	#Winbind configuration. Separator is default \
	idmap uid = 10000-20000
	idmap gid = 10000-20000
	winbind enum users = yes
	winbind enum groups = yes
	template homedir = /home/winnt/%D/%U
	template shell = /bin/bash

[netlogon]
	path=/usr/local/samba/netlogon
	read only = yes
	guest ok = yes
	browseable = yes
	write list = admin prech root test
	locking = no
	csc policy = disable

[homes]
	comment = Home Directories
	browseable = no
	writable = yes

[admin]
	comment = Admin Home
	writable = yes
	path = /home/admin

[root]
	comment = Root Home
	writable = yes
	path = /home/admin

[test]
	comment = test's home
	writable = yes
	path = /home/test

[linux]
	comment = Linux Kernel Sources
	path = /usr/src/linux
	guest ok = no

[cluster]
	comment = cluster_temp
	path = /mnt/raid/cluster_temp
	read only = no

[profiles]
	create mode = 0600
	csc policy = disable
	directory mode = 0700
	comment = Profiles
	path = /usr/local/samba/profiles/
	profile acls = yes
	read only = no


More information about the samba mailing list