[Samba] smbd/service.c:make_connection_snum(1003)

dnk d.k.emaillists at gmail.com
Mon Apr 27 07:20:10 GMT 2009

Hi there,

I am getting the below errors in my logs:

Apr 27 00:14:10 computer smbd[2626]:   '/home/user' does not exist or  
permission denied when connecting to [user] Error was Permission denied

With  a ls- al, you can see the ownership/permissions are correct.

ls -al /home/ | grep user
drwx------  5 user           user           4096 Apr 26 23:48 user

My smb.conf

workgroup = DOMAIN
netbios name = Computer
server string = (%L)
wins support = Yes
name resolve order = wins bcast hosts
passdb backend = tdbsam
username map = /etc/samba/smbusers
add user script = /usr/sbin/useradd -m %u
delete user script = /usr/sbin/userdel -r %u
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/groupmod -A %u %g
delete user from group script = /usr/sbin/groupmod -R %u %g
add machine script = /usr/sbin/useradd -s /bin/false -d /var/lib/ 
nobody %u
# Note: The following specifies the default logon script.
# Per user logon scripts can be specified in the user account using  
logon script = %U.bat
# This sets the default profile path. Set per user paths with pdbedit
logon path =
logon drive = H:
logon home = \\%L\%U
domain logons = Yes
os level = 35
preferred master = Yes
domain master = Yes
idmap uid = 15000-20000
idmap gid = 15000-20000
#mac hacks
follow symlinks = yes
unix extensions = no
veto files = /.DS_Store/._.*/DesktopFolderDB/Network Trash Folder/ 
delete veto files = true
hide dot files = yes

comment = Home Directories
valid users = %S
read only = No
browseable = No



More information about the samba mailing list