[Samba] How can i know the user home directory with wbinfo or smbclient.
Rowland penny
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:
\\fileserver\users\username
If you have, then you only need a root preexex script and these lines in
smb.conf:
winbind use default domain = yes
template homedir = /home/%D/users/%U
and the '[homes]' share needs to look like this:
[homes]
comment = Home Directories
browseable = no
read only = no
valid users = %S
root preexec = /usr/local/sbin/mkhomedir.sh %U %H
Rowland
More information about the samba
mailing list