[Samba] logon script

Pastor Frank E. Ramírez frankernesto.ramirez at gmail.com
Tue Apr 4 17:14:53 UTC 2023


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='netlogon.bat'

El mar, 4 abr 2023 a las 12:56, Rowland Penny via samba (<
samba at lists.samba.org>) escribió:

>
>
> On 04/04/2023 17:36, Pastor Frank E. Ramírez via samba wrote:
> > Apologies for my english, I am not a native speaker.
>
> Never apologise for not speaking English like a native, I am English and
> whilst I haven't got a clue what your native language is, I can assure
> that I do not speak a word of it ;-)
>
> < Well, Samba is an AD
> > DC. So, the manpage said that I need to use the LDAP
> > attribute scriptPath. But I don't know how?? I tried creating a new user
> > with the --script-path option, but it did not work. How can I set this
> ldap
> > attribute??
>
> By the method you seem to have tried, adding '--script-path=SCRIPT_PATH'
> (where SCRIPT_PATH is the full path to the script) to the 'samba-tool
> user create' command should have added the attribute and value to the
> users AD object. Perhaps there was a problem with its formatting, can
> you please post the command you used.
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list