why won't samba start?

It fails with nothing in the logs, no error message, and leaves the .pid behind! It must be my config. I’m running Samba 3.5.1 now as it’s the latest with the 11.2 upgrade and all, and I can’t get it working. My config has been grandfathered in and probably should update it but don’t know to what:

Samba config file created using SWAT

from UNKNOWN (127.0.0.1)

Date: 2010/03/08 12:34:22

[global]
workgroup = SAMBAAIC
realm = CARTMAN.MOUNTAIN.TOWN
netbios name = SAMBAPDC
netbios aliases = cartman
server string = Samba PDC Server
interfaces = eth*, lo
bind interfaces only = Yes
log level = 3 vfs:1
log file = /var/log/samba/%U-.%m.log
max log size = 50
smb ports = 139
reset on zero vc = Yes
passdb backend = smbpasswd
load printers = No
name resolve order = wins lmhosts hosts bcast
max wins ttl = 86400
time server = Yes
unix extensions = No
deadtime = 15
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
load printers = No
add group script = /home/samba/group/smbgrpadd.sh “%g”
logon script = login.bat
logon path = \%L\profiles%U
logon drive = H:
logon home = \%L%U
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
local master = Yes
wins support = Yes
template homedir = /home/samba/users/%U
acl check permissions = No
inherit acls = Yes
nt acl support = No
profile acls = Yes
veto files = /.eml/.nws/.{}/
veto oplock files = /.exe/.xls/.dwg/.dxf/.mdb/.doc/.ppt/.crf/.rpt/.ldb/*.mde/
map archive = No
map readonly = No
map to guest = Bad User
wide links = Yes
usershare allow guests = Yes
dos filemode = Yes
store dos attributes = Yes
printcap name = /etc/printcap
client signing = disabled
vfs objects = extd_audit

[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No

[ntlogon]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[profiles]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No

[pricing]
path = /home/samba/pricing
read only = No
create mask = 0777
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[homes]
comment = Home directory for %u
path = /home/samba/home/%u
read only = No
create mask = 0600
force create mode = 0600
directory mask = 0700
force directory mode = 0700
browseable = No

[public]
comment = Public Share Directories
path = /home/samba/public/public/
read only = No
create mask = 0666
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[mgmt]
comment = Accounting Share Directories
path = /home/samba/public/mgmt
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[acct]
comment = Accounting Share Directories
path = /home/samba/public/accounting
read only = No
create mask = 0660
directory mask = 0770
inherit acls = No
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[eng]
comment = Engineering Share Directories
path = /home/samba/public/engineering
force group = +engdir
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[engarch]
comment = Engineering Share Directories
path = /home/samba/public/engineering-archive
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[mrkt]
comment = Marketing Share Directories
path = /home/samba/public/marketing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[it]
comment = Share Directories
path = /home/samba/public/it
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[hr]
comment = Share Directories
path = /home/samba/public/hr
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[ship]
comment = Share Directories
path = /home/samba/public/shipping
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[prod]
comment = Share Directories
path = /home/samba/public/production
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[purch]
comment = Share Directories
path = /home/samba/public/purchasing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[qual]
comment = Share Directories
path = /home/samba/public/quality
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[sales]
comment = Share Directories
path = /home/samba/public/sales
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[tool]
comment = Share Directories
path = /home/samba/public/toolroom
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[inv]
comment = Share Directories
path = /home/samba/public/inventory
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak

[reports]
comment = Intranet Upload Dir
path = /srv/www/htdocs/reports/
read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
case sensitive = No
strict locking = No

[cdrom]
path = /mnt/cdrom
guest ok = Yes
root preexec = mount /mnt/cdrom
root postexec = umount /mnt/cdrom && eject /mnt/cdrom

[LoginScripts]
comment = Login Script Directory
path = /home/samba/scripts/group
read only = No
create mask = 0666
directory mask = 0777
browseable = No

[cartmanwww]
comment = Cartman Apache Root
path = /srv/www/htdocs
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o .obj ~$ *.~?? *.log *.bak
[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No

Do you get any errors when you run testparm? Testparm diagnoses problems with your config.

Nada! I always use testparm and because of it, fixed the ulimit thing but no, testparm comes out perfectly!

I changed the interfaces to explicitly state eth0, eth1, lo
and that no longer dies, but samba still doesn’t start, the status says unused (instead of dead), again, nothing in the logs but it saying it started! And the .pid is still left there.


su -c 'rcsmb start'
(enter rootpassword)

If it starts and works that way, you can make it permanent through Yast - System - Runlevel, activate smb and smbfs. That should work.

Lately some people have found problems in the latest samba updates. Rolling back to the distro’s versions seems to help.

That’s news to me. I’m still on 3.4.3 on 11.2. It sounds like you added a bleeding-edge repository for Samba. If you do that, make sure that all the components of Samba are up-to-date. Strange things happen if the shared libraries are not at the same version as the programs, etc. For example, the other day when I encountered a Samba system that was incompletely updated, things like smbstatus would fail with a library routine (_talloc_free) not found.

And have you looked in /var/log/samba for messages?

Thanks ken_yap, AFAICS that’s what’s been going on. I looked and could not find the updates on my systems, but…I have only 64bit systems and did not want to check all folders on repos.opensuse.org, did not have the trouble either.

Ok, removing the samba repo (yes, I was using the official stable samba repo) and downgrading to 3.4.3 (which is the current for 32bit opensuse 11.2) I was able to get samba started and working. However, I’m having a crippling error with permissions. Users can access folders but cannot see in them (they show up empty). My logging is set to 3, so sorry for the verbosity, but please help me! This a client’s log when attempting to enter a folder who’s permissions are set to 770 (files 660) with a group of mswin (which everyone is a member of, including this user and root). The usernames vary on files and folders on that share but many of them are presently set to root.

[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13493 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9754) level=1007 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13494 of length 194 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13495 of length 45 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBclose (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/reply.c:4473(reply_close)
close directory fnum=9754
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13496 of length 104 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Max3.7) returning 0666
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13497 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9756) level=1004 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13498 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9756) level=1005 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13499 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (1605, 666) - sec_ctx_stack_ndx = 0
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9756) level=1006 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13500 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9756) level=1007 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13501 of length 94 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = -1) level=1004 call=5 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13502 of length 194 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13503 of length 45 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBclose (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/reply.c:4473(reply_close)
close directory fnum=9756
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13504 of length 104 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Max3.7) returning 0666
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13505 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1004
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9758) level=1004 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13506 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1005
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9758) level=1005 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13507 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1006
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9758) level=1006 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13508 of length 76 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/trans2.c:3879(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QFILEINFO: level = 1007
[2010/03/29 08:45:46, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Max3.7 (fnum = 9758) level=1007 call=7 total_data=0
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13509 of length 194 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_OBJECT_PATH_NOT_FOUND
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13510 of length 45 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBclose (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/reply.c:4473(reply_close)
close directory fnum=9758
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13511 of length 40 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBntcancel (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
[2010/03/29 08:45:46, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/notify.c(142) cmd=160 (SMBnttrans) NT_STATUS_CANCELLED
[2010/03/29 08:45:46, 3] smbd/nttrans.c:1140(reply_ntcancel)
reply_ntcancel: cancel called on mid = 44673.
[2010/03/29 08:45:46, 3] smbd/process.c:1459(process_smb)
Transaction 13512 of length 45 (0 toread)
[2010/03/29 08:45:46, 3] smbd/process.c:1273(switch_message)
switch message SMBclose (pid 3806) conn 0xb77fa200
[2010/03/29 08:45:46, 3] smbd/sec_ctx.c:310(set_sec_ctx)
setting sec ctx (1605, 666) - sec_ctx_stack_ndx = 0
[2010/03/29 08:45:46, 3] smbd/reply.c:4473(reply_close)
close directory fnum=9651

And here, accessing the share this particular user is a main member of, definitely showing permission problems (this folder is 770, files 660, user root, group mis (which this user is a member of):

[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16213 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16214 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16215 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16216 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16217 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16218 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16219 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16220 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16221 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16222 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16223 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/dosmode.c:135(unix_mode)
unix_mode(Drivers) returning 0660
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16224 of length 96 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2010/03/29 08:55:38, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Drivers (fnum = -1) level=1004 call=5 total_data=0
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16225 of length 96 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2010/03/29 08:55:38, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Drivers (fnum = -1) level=1005 call=5 total_data=0
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16226 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:1927(call_trans2findfirst)
call_trans2findfirst: dirtype = 16, maxentries = 1366, close_after_first=0, close_if_end = 1 requires_resume_key = 1 level = 0x104, max_data_bytes = 16384
[2010/03/29 08:55:38, 3] smbd/dir.c:512(dptr_create)
creating new dirptr 257 for path Drivers, expect_close = 1
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/trans2.c(2163) cmd=50 (SMBtrans2) NT_STATUS_NO_SUCH_FILE
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16227 of length 96 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2010/03/29 08:55:38, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Drivers (fnum = -1) level=1004 call=5 total_data=0
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16228 of length 106 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBntcreateX (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/error.c:60(error_packet_set)
error packet at smbd/nttrans.c(541) cmd=162 (SMBntcreateX) NT_STATUS_ACCESS_DENIED
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16229 of length 96 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1004
[2010/03/29 08:55:38, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Drivers (fnum = -1) level=1004 call=5 total_data=0
[2010/03/29 08:55:38, 3] smbd/process.c:1459(process_smb)
Transaction 16230 of length 96 (0 toread)
[2010/03/29 08:55:38, 3] smbd/process.c:1273(switch_message)
switch message SMBtrans2 (pid 3806) conn 0xb77f61e0
[2010/03/29 08:55:38, 3] smbd/trans2.c:3955(call_trans2qfilepathinfo)
call_trans2qfilepathinfo: TRANSACT2_QPATHINFO: level = 1005
[2010/03/29 08:55:38, 3] smbd/trans2.c:4069(call_trans2qfilepathinfo)
call_trans2qfilepathinfo Drivers (fnum = -1) level=1005 call=5 total_data=0

Your config is a muddle. I think it may be time to start again. Is this a peer to peer??

I’ve found the samba works best with the simplest config.

Here is a good place to start.

Samba and Suse: HowTo Set up an openSUSE-Windows Home Office LAN/Network. Versions 11.x

It’s all set now. I just had to change all the permissions proper and chmod a few things. restoring from tape to a different folder a few small representative files in each share did the trick for me.