[Samba] getlogon.pl script problem
fst6x7v02 at sneakemail.com
Wed Mar 10 11:39:30 GMT 2004
Quoting "Sundaram Ramasamy"
> I want to generate the logon script on the fly. I want to map
> user home
> directory into H: drive.
> Genlogon.pl script executes three times for single user, each
> time its
> getting diffract argument value.
> Here is my configuration
> root preexec = /netlogon/genlogon.pl %U %G %L
> logon script = %U.bat
> logon path =
> logon drive =
> logon home =
> domain logons = Yes
> path = /netlogon
> write list = ntadmin
> locking = No
I can help with part of your problem... since that exec is in the
GLOBAL section, it gets called/ran for EACH of the other
shares/services you connect to.
Once for connection to the Samba server (IPC_), once for netlogon,
and once for profiles.
I'm not sure where the exec script should be... sorry.
SuSE 9.0 Pro (2.4.21-192-default) with samba-2.2.8a-107
More information about the samba