Re: [Samba] netlogon script generation

2003-12-09 Thread Andrew Gaffney
Mike Rambo wrote: On Tue, 2003-12-09 at 12:02, Andrew Gaffney wrote: Can anyone point me to a doc or a script that shows how to generate netlogon script on the fly and supports users having multiple groups? I tried the Perl script referenced at

Re: [Samba] netlogon script generation

2003-12-09 Thread Mike Rambo
On Tue, 2003-12-09 at 12:02, Andrew Gaffney wrote: > Can anyone point me to a doc or a script that shows how to generate netlogon script > on the > fly and supports users having multiple groups? I tried the Perl script referenced > at >

Re: [Samba] netlogon script generation

2003-12-09 Thread Andrew Gaffney
script for group open LOGON, ">/var/lib/samba/netlogon/$ARGV[1].bat"; print LOGON "[EMAIL PROTECTED] OFF\r\n"; # Connect shares for group users if ($ARGV[1] eq "users") { print LOGON "NET USE X: $ARGV[3]\\files\r\n"; } # Connect shares for group ntadmin

Re: [Samba] netlogon script generation

2003-12-09 Thread rruegner
ers") { print LOGON "NET USE X: $ARGV[3]\\files\r\n"; } # Connect shares for group ntadmin if ($ARGV[1] eq "ntadmin") { print LOGON "NET USE Y: $ARGV[3]\\smbmonitor\r\n"; } - Original Message - From: "Andrew Gaffney" <[EMAIL PROTECTED]&g

[Samba] netlogon script generation

2003-12-09 Thread Andrew Gaffney
Can anyone point me to a doc or a script that shows how to generate netlogon script on the fly and supports users having multiple groups? I tried the Perl script referenced at but I believe it only supports the user being a me