[Samba] unable to access HOMES share

Adam Williams awilliam at mdah.state.ms.us
Tue Feb 12 21:21:32 GMT 2008


I am unable to mount my home directories on my Fedora 8 samba 3.0.28 
server, I have the following share defined:

[homes]
  comment = Home Directories
  valid users = %S
  read only = no
  browseable = No
  writeable = Yes
  hide dot files = yes
  public = no
  create mask = 0600
  force create mode = 0600
  directory mask = 0700
  force directory mode = 0700

and the permissions on /home/adam are:

[root at bldg2 samba]# ls -al /home/adam
total 0
drwxr-xr-x 2 adam users  6 2008-02-12 15:03 .
drwxr-xr-x 3 root root  17 2008-02-12 15:03 ..

and either way I try to access it, I get the error:

[root at bldg2 samba]# mount -t cifs //bldg2/homes /mnt -o 
username=adam,password=xxxxxxx
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)
[root at bldg2 samba]# mount -t cifs //bldg2/adam /mnt -o 
username=adam,password=xxxxxxx
retrying with upper case share name
mount error 6 = No such device or address
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)

and what gets written in the log file is:

[2008/02/12 15:17:59, 2] smbd/sesssetup.c:setup_new_vc_session(1200)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2008/02/12 15:17:59, 2] lib/smbldap.c:smbldap_open_connection(786)
  smbldap_open_connection: connection opened
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [adam] -> [adam] -> 
[adam] succeeded
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 0] smbd/service.c:make_connection_snum(1003)
  '/home/adam' does not exist or permission denied when connecting to 
[adam] Error was Permission denied
[2008/02/12 15:17:59, 2] smbd/sesssetup.c:setup_new_vc_session(1200)
  setup_new_vc_session: New VC == 0, if NT4.x compatible we would close 
all old resources.
[2008/02/12 15:17:59, 2] lib/smbldap.c:smbldap_open_connection(786)
  smbldap_open_connection: connection opened
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 2] auth/auth.c:check_ntlm_password(309)
  check_ntlm_password:  authentication for user [adam] -> [adam] -> 
[adam] succeeded
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 2] passdb/pdb_ldap.c:init_sam_from_ldap(545)
  init_sam_from_ldap: Entry found for user: adam
[2008/02/12 15:17:59, 0] smbd/service.c:make_connection_snum(1003)
  '/home/adam' does not exist or permission denied when connecting to 
[adam] Error was Permission denied




More information about the samba mailing list