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.

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

Reply via email to