[Samba] how to run more than one logon script
Leonardo Carneiro
chesterman86 at gmail.com
Wed Sep 29 04:31:21 MDT 2010
Hi Thomas. I'm glad to hear that. I'll try it here. Tks
On Tue, Sep 28, 2010 at 6:50 PM, Thomas Bork <tombork at web.de> wrote:
> Am 28.09.2010 23:17, schrieb Leonardo Carneiro:
>
>> Well, in theory this should work. I'll try and post here if this will
>> work well. Tks in advance.
>
> It works, you could use many combinations:
>
> for user:
> logon script = %u.bat %g %m
>
> for group:
> logon script = %g.bat %u %m
>
> for machine:
> logon script = %m.bat %u %g
>
> for all:
> logon script = logon.bat %u %g %m
>
>
>
> For example, if you use the last possibility 'all', then in logon.bat:
>
> REM Run user specific stuff
> REM ------------------------------------
> call %1.bat
>
> REM Run group specific stuff
> REM ------------------------------------
> call %2.bat
>
> REM Run machine specific stuff
> REM ------------------------------------
> call %3.bat
>
> --
> der tom
>
More information about the samba
mailing list