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? (I'm using samba 3.0 as DC with LDAP) Andr? de Koning IT Manager Softline VIP Payroll Tel: +27 12 420 7000 andre@vippayroll.co.za
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
On Mon, 29 Sep 2003, 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? > (I'm using samba 3.0 as DC with LDAP)Have you considered using a tool like 'ntlogon' or so. Refer to the Samba-HOWTO-Collection.pdf (for Samba-3) - chapter on "Advanced Network Management". This is also in "The Official Samba-3 HOWTO and Reference Guide" book available from Prentice Hall. You can pre-order your copy on Amazon now. An alternative is to use KixStart. Do a google search for this tool. - John T. -- John H Terpstra Email: jht@samba.org