Displaying 3 results from an estimated 3 matches for "samba_servers_hostname".
2020 Apr 29
3
how to use root preexec on user share with %U not as root user
Hello everybody,
I am trying to get samba 4 to make a user dir without the use of ADUC to
set the homeDirectory, but with samba-tool user create only.
I created a root preexec but the %U is filled with root and not the
username of the user.
I need to user [users] and not the old [homes] because I got a GPO for
redirection to the //server/users/%USERNAME% and I need this folder to
be created
2020 Apr 30
0
how to use root preexec on user share with %U not as root user
...ers]
??? path = /path/to/users
?? read only = no
Restart Samba
The first option is:
Go to ADUC, select a user, right click, select 'Options' and then the
'Profiles' tab. At the bottom of the 'Profiles' tab select a letter e.g.
'H:' then the shares UNC e.g. //Samba_servers_hostname/users/username,
now click 'Apply', this should create the users homedir on the Samba server.
The second option relies on adding a line to the share:
??? root preexec = /path/to/a/script %H %U
This will cause the script to be run whenever a user connects to the
share and pass the users...
2020 Apr 30
2
how to use root preexec on user share with %U not as root user
...ad only = no
>
> Restart Samba
>
> The first option is:
>
> Go to ADUC, select a user, right click, select 'Options' and then the
> 'Profiles' tab. At the bottom of the 'Profiles' tab select a letter e.g.
> 'H:' then the shares UNC e.g. //Samba_servers_hostname/users/username,
> now click 'Apply', this should create the users homedir on the Samba
> server.
>
> The second option relies on adding a line to the share:
>
> ??? root preexec = /path/to/a/script %H %U
>
> This will cause the script to be run whenever a user...