[Samba] logon script
Rowland Penny
rpenny at samba.org
Tue Apr 4 17:33:02 UTC 2023
On 04/04/2023 18:22, Pastor Frank E. Ramírez via samba wrote:
> But initially I try a full path and nothing: This is just a new created
> for testing: samba-tool user create 'John' '1234'
> --userou='OU=Trabajadores,OU=Usuarios' --surname='Doe'
> --given-name='John' --initials='JD' --job-title='Network
> Administrator' --department='IT' --company='EPAPR'
> --description='IT Technical Support Account' --mail='
> john.doe at epapr.cneart.cu'
> --script-path='/etc/smbgate/users/usuario/netlogon.bat'
It is supposed to be a UNC, or to put it another way:
“\\dc01\netlogon\netlogon.bat”
Where 'dc01' is the DC's shorthostname.
netlogon is the netlogon share name, where the script is stored.
netlogon.bat is your script in the netlogon share.
Rowland
More information about the samba
mailing list