Displaying 2 results from an estimated 2 matches for "adscripcion".
2019 Aug 27
0
How can i know the user home directory with wbinfo or smbclient.
...om the linux client machine get that attribute or
info to mount or sync the windows home.
I have that line on my script for example:
rsync -avzX -e "ssh -o StrictHostKeyChecking=no -i /home/public/id_rsa"
--progress -m --chown=$USER:$GROUP
root at 10.20.1.5:/domain/samba/jfk/homes/staff/adscripcion/$USER/
/home/DOMAIN/$USER/
That part: 10.20.1.5:/domain/samba/jfk/homes/staff/adscripcion/$USER/ is
the windows home of the user , i like get the line
:/domain/samba/jfk/homes/staff/adscripcion/$USER/ "The windows home"
from some command or know if it is possible.
Thx.
El mar., 27 a...
2019 Aug 27
2
How can i know the user home directory with wbinfo or smbclient.
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 =