[Samba] Samba 4 AD [homes] Share

Chan Min Wai dcmwai at gmail.com
Tue Dec 24 05:06:21 MST 2013


Dear All,

Can help to advise what would be the [homes] share like for samba4 AD?

My exsting [homes] for samba3 PDC was like

[homes]
        comment = %U, %u Home Directories
#       username = %S
        valid users = %S
        read only = No
        create mask = 0700
        directory mask = 0700
        browseable = No
        hide files =
/desktop.ini/outlook*.lnk/*Briefcase*/ntuser.ini/NTUSER.*/
        veto files = /.ssh/Maildir/
        inherit permissions = yes


But On samba 4 I try the following but it don't work.
Can help to advise?

[homes]
        comment = %U, %u Home Directories
        path = /home/%S
        read only = No
        hide files =
/desktop.ini/outlook*.lnk/*Briefcase*/ntuser.ini/NTUSER.*/
        veto files = /.ssh/Maildir/
        inherit permissions = yes

I'm sorry for this simple question but there isn't much documentation on
this and thus need help.

Thank You.


More information about the samba mailing list