Google
  Web www.spinics.net

RE: universal netlogon script

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]


i suggest go use kixscript

here is a small example.

connecting printers

If INGROUP ("dwangb_pr") = 1				## if member of
dwangb_pr
	CONNECTPRINTER("PDC","rol")			## connect printer
rol from server PDC
	If INGROUP ("dwangb_pr_def") = 1		## if member of
dwangb_pr_def, 
		SETDEFAULTPRINTER ("\\PDC\rol")	## set printer default
		Sleep 0.50
	EndIf
EndIf

you can do the same with groups and drive mappings.

the only thing is you get a lot of groups.

if you need a full copy of my kix script say so 
and i'll email you one.

Louis
 

>-----Oorspronkelijk bericht-----
>Van: samba-bounces+belle=bazuin.nl@xxxxxxxxxxxxxxx 
>[mailto:samba-bounces+belle=bazuin.nl@xxxxxxxxxxxxxxx] Namens Brad C
>Verzonden: woensdag 3 september 2008 15:05
>Aan: samba@xxxxxxxxxxxxxxx
>Onderwerp:  universal netlogon script
>
>Hi Guys,
>
>Advise, I have 200 users, they all have access to 20 shares in 
>different
>combinations. They all have their own netlogon scripts... its 
>a management
>nightmare,
>is there a way to create a universal netlogon script that I 
>can include all
>the shares to mount and it will silently fail on the ones it 
>cant? Perhaps
>there is a smarter way to implement this idea,
>lynching is welcome, so is advice.
>
>Brad
>-- 
>To unsubscribe from this list go to the following URL and read the
>instructions:  https://lists.samba.org/mailman/listinfo/samba
>

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba

[Linux]     [Info Cyrus]     [LARTC]     [Christmas Music]     [Bugtraq]     [Netfilter]     [Internet Dating Forums]     [RAID]     [Yosemite News]     [Photography]

Add to Google Powered by Linux