[Samba] How can i know the user home directory with wbinfo or smbclient.
rpenny at samba.org
Tue Aug 27 14:28:32 UTC 2019
On 27/08/2019 14:54, Juan Ignacio via samba wrote:
> I set the homeDirectory directly in the AD object.
> For it i like know if i can access to that info throw some tool.
Have you set it something like:
If you have, then you only need a root preexex script and these lines in
winbind use default domain = yes
template homedir = /home/%D/users/%U
and the '[homes]' share needs to look like this:
comment = Home Directories
browseable = no
read only = no
valid users = %S
root preexec = /usr/local/sbin/mkhomedir.sh %U %H
More information about the samba