[Samba] nested logon scripts

Jelmer Vernooij jelmer at vernstok.nl
Mon Sep 29 13:38:56 GMT 2003


Hi Andre,

On Mon, 2003-09-29 at 11:37, Andre de Koning wrote:
> I Have my users organised in 1: Whole Company, 2: Department, 3: User
> 
> I need a logon script that executes certain comments for all users, certain
> commands per department and certain comments per user.
> 
> For user andre in department sales it would thus execute all.cmd, sales.cmd
> and andre.cmd

> Is this possible?

Yeah, sure. You can either run sales.cmd from andre.cmd and all.cmd from
sales.cmd or generate one cmd file per user on the Samba server. Read
the Samba HOWTO Collection (look for genlogon.pl) for details.

Jelmer
--
Jelmer Vernooij  - http://jelmer.vernstok.nl/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.samba.org/archive/samba/attachments/20030929/5dbf67bb/attachment.bin


More information about the samba mailing list