[Samba] 3.2.4 CreateDirectory panic

Peter Rindfuss rindfuss at wzb.eu
Mon Oct 20 13:11:41 GMT 2008


On 2008-10-20 15:02, Volker Lendecke wrote:
> On Mon, Oct 20, 2008 at 02:34:23PM +0200, Peter Rindfuss wrote:
>> attached is the subroutine that I used for testing.
>> The part enclosed in #ifdef createdir_alt worked with 3.0.24, but not 
>> with 3.2.4. The #else part works with 3.2.4. Both versions are based 
>> upon the same security descriptor structure.
> 
> Can you also send your smb.conf and a debug level 10 log
> leading to this error?
> 

smb.conf is attached.

Is it possible to turn on level 10 logging without restarting the 
daemon? It is our production server and I'm not willing to disturb any 
existing connection.

Peter
-------------- next part --------------
# Samba config file created using SWAT
# from 193.174.6.50 (193.174.6.50)
# Date: 2008/08/15 10:55:55

[global]
	display charset = UTF-8
	workgroup = WZB
	server string = File Server
	interfaces = 127.0.0.1, 193.174.6.4
	bind interfaces only = Yes
	passdb backend = ldapsam:ldapi://%2fvar%2frun%2fslapd%2fldapi/
	guest account = guest
	passwd program = /usr/local/sbin/wzbpasswd -U -M -s -x %u
	passwd chat = *Enter*password* %n\n *Re-enter*password* %n\n *changed*
	username map = /etc/samba/smbusers
	unix password sync = Yes
	lanman auth = No
	syslog = 0
	smb ports = 139
	time server = Yes
	socket options = TCP_NODELAY SO_KEEPALIVE
	load printers = No
	printcap name = /dev/null
	add user script = /usr/local/sbin/wzbuseradd -q -I -y -c %u
	delete user script = /usr/local/sbin/wzbuserdel -q -d %u
	add group script = /usr/local/sbin/wzbgroupadd -q -y '%g'
	delete group script = /usr/local/sbin/wzbgroupdel -q '%g'
	add user to group script = /usr/local/sbin/wzbgroupmemberadd -q '%g' %u
	delete user from group script = /usr/local/sbin/wzbgroupmemberdel -q '%g' %u
	set primary group script = /usr/local/sbin/wzbgroupprim -q %u '%g'
	add machine script = /usr/local/sbin/wzbuseradd -q -y -x %m
	logon script = login.cmd
	logon path = 
	logon home = \\selene\wzb
	domain logons = Yes
	os level = 65
	preferred master = Yes
	domain master = Yes
	dns proxy = No
	wins support = Yes
	kernel oplocks = No
	ldap admin dn = cn=root,dc=wzb,dc=eu
	ldap group suffix = ou=groups
	ldap machine suffix = ou=machines
	ldap suffix = ou=accounts,dc=wzb,dc=eu
	ldap ssl = no
	ldap user suffix = ou=users
	host msdfs = No
	vscan-fsav:config-file = /etc/samba/fsav.conf
	ldapsam:trusted = Yes
	admin users = @admins
	create mask = 0700
	directory mask = 0700
	hosts allow = 193.174.6.0/255.255.254.0
	ea support = Yes
	map acl inherit = Yes
	cups options = raw
	hide unreadable = Yes
	map archive = No
	mangled names = No
	store dos attributes = Yes
	dos filemode = Yes

[printers]
	comment = Network Printers
	path = /var/spool/cups
	create mask = 0600
	hosts allow = 127.0.0.1, 193.174.6.0/23
	hosts deny = 0.0.0.0
	printable = Yes
	browseable = No

[print$]
	comment = Printer Drivers
	path = /var/lib/samba/drivers
	write list = @admins
	force group = @admins
	create mask = 0664
	directory mask = 0775
	available = No

[netlogon]
	comment = Network Logon Service
	path = /wzb/netlogon
	valid users = @admins, @users, root
	admin users = @admins, root
	guest ok = Yes
	browseable = No

[wzb]
	comment = WZB File Server
	path = /wzb/samba
	valid users = @admins, @users, root
	admin users = @admins, root
	read only = No
	inherit permissions = Yes
	inherit acls = Yes
	inherit owner = Yes
	use sendfile = Yes
	hide dot files = No
	hide special files = Yes
	map readonly = permissions
	mangled names = Yes
	root preexec = /usr/local/sbin/wzbldapsettime %u sambaLogonTime
	root postexec = /usr/local/sbin/wzbldapsettime %u sambaLogoffTime

[admin]
	comment = Zugriff auf Alles für die Admins
	path = /
	valid users = @admins, root
	admin users = @admins, root
	read only = No
	inherit acls = Yes
	inherit owner = Yes
	hide dot files = No
	hide unreadable = No
	mangled names = Yes
	browseable = No

[wzbadmin]
	path = /wzb
	valid users = @admins
	read only = No
	inherit permissions = Yes
	inherit acls = Yes
	inherit owner = Yes
	mangled names = Yes

[pmail]
	comment = Pegasus Mail Share
	path = /wzb/pmail
	valid users = @admins, @users
	read only = No
	inherit permissions = Yes
	inherit acls = Yes
	inherit owner = Yes
	hide special files = Yes
	map readonly = permissions
	mangled names = Yes

[antivirus]
	path = /wzb/antivirus
	valid users = @admins, @users
	read only = No
	inherit permissions = Yes
	inherit acls = Yes
	inherit owner = Yes
	mangled names = Yes


More information about the samba mailing list