[Samba] home directories ask user for password

Massimo asterisk at interfree.it
Mon Nov 23 07:09:03 MST 2009


>Perhaps removing the 'valid users' solves your problem. In theory it can
>only display the homedir of the user connecting. The 'homes' share is
>translated to the user name. Below if my current config that is working
>for me. The preexec that I have is creating the homedir if it does not
>exist (Perhaps that may be another possible cause of your error?).
>Script is included. Make sure you change $path to your homedir location.
>For quota uncomment and change the quota function for a given device.

Hi Ton, Thank you for the help.
I tryed to set your configuration.
It creates the home directories but I receive access denied, wathching into the log I found that it looking for username.dll file but I don't know the matter.
Below the log ...
Bye 
Massimo



[2009/11/23 14:43:05, 0] param/loadparm.c:process_usershare_file(4611)
  process_usershare_file: stat of /var/lib/samba/usershares/massimo.dll failed. Permission denied
[2009/11/23 14:43:07, 0] param/loadparm.c:process_usershare_file(4611)
  process_usershare_file: stat of /var/lib/samba/usershares/massimo.dll failed. No such file or directory
[2009/11/23 14:43:07, 0] smbd/service.c:make_connection(1200)
  kdgp3fb (10.29.30.1) couldn't find service massimo.dll
[2009/11/23 14:43:07, 0] smbd/service.c:set_current_service(184)
  chdir (/home/massimo) failed
[2009/11/23 14:43:07, 0] param/loadparm.c:process_usershare_file(4611)
  process_usershare_file: stat of /var/lib/samba/usershares/massimo.dll failed. Permission denied
[2009/11/23 14:43:09, 0] param/loadparm.c:process_usershare_file(4611)
  process_usershare_file: stat of /var/lib/samba/usershares/massimo.dll failed. No such file or directory
[2009/11/23 14:43:09, 0] smbd/service.c:make_connection(1200)
  kdgp3fb (10.29.30.1) couldn't find service massimo.dll
[2009/11/23 14:43:09, 0] smbd/service.c:set_current_service(184)
  chdir (/home/massimo) failed
[2009/11/23 14:43:09, 0] smbd/service.c:set_current_service(184)
  chdir (/home/massimo) failed
[2009/11/23 14:43:09, 0] smbd/service.c:set_current_service(184)
  chdir (/home/massimo) failed
[2009/11/23 14:43:09, 0] smbd/service.c:set_current_service(184)
  chdir (/home/massimo) failed


More information about the samba mailing list