[Samba] limiting netlogon scripts to a subnet?

Ilia Chipitsine ilia at paramon.ru
Sat Jul 2 09:19:04 GMT 2005


> I have a vpn running, and the netlogon scripts go very
> slow on the other side of it.
>
> Can I limit scripts to 192.168.1.x?

You can customize logon scripts on per-user (ldapsam and tdbsam backends) 
and on per-computer basis:

if "%COMPUTERNAME%" == "PO-9" goto label1
if "%COMPUTERNAME%" == "TERMINAL" goto label2


:label1



:label2


>
> __________________________________________________
> Do You Yahoo!?
> Tired of spam?  Yahoo! Mail has the best spam protection around
> http://mail.yahoo.com
> -- 
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/listinfo/samba
>


More information about the samba mailing list