[Samba] Multiple Logon Scripts
Guido Lorenzutti
guido at lorenzutti.com.ar
Fri Aug 11 03:51:28 GMT 2006
logon script = netlogon.%U.bat
would be OK.
But you also need:
is to create "onthefly" netlogons.
In the [netlogon] share use a preexec =
/var/lib/samba/netlogon/make_netlogon.sh %U
This way, make_netlogon.sh is a script that check your username and
makes the netlogon.username.bat that you need.
Enjoy :)
Pavan wrote:
> Hi All,
>
> I am wondering if multiple logon scripts can be run using samba as
> PDC. I need to run a logon script for all users and some logon scripts
> for specific users + the common script,
>
> Can I specify multiple logon script files in smb.conf
>
> Logon script = login.bat, %U.bat ???
>
> Thanks,
> Pavan.
>
More information about the samba
mailing list