Hi,
I dont have samba with LDAP.
I took out "\scripts\" part from logon script part in GLOBAL settings.
ALso
I created a script for a particular test user (script name is same as login
name). I stored that script under /var/samba/netlogon/. Permissions were
also set so that this user can read/write/Execute, plus the ownership was
also changed.
I tried loggin as this user to test the script but nothing was mapped. I
think the script failed. Can you think of any reason? I even restarted my
samba services.
Thanks,
Gigs
Wolfgang Ratzka wrote:>
> contact_mahajan schrieb:
>
>> Also regarding my logon script, my smb.conf fille says like this:
>>
>> [GLOBAL]
>> ......
>> logon script = scripts\login.bat
>> .....
>>
>> [netlogon]
>> ...
>> path= /var/samba/netlogon/%U
>> ....
>
> This definition is trying to be subtle by defining a per-user-netlogon
> share,
> as %U expands to the session user name. Normally you will not want to do
> this,
> so you will strip off the "/%U" and simply put your login scripts
below
> /var/samba/netlogon. (Permissions should of course be so that everyone can
> read and only admins can write.)
> The logon script parameter is a (windows) path relative to the netlogon
> directory. There is no need to put those in a subdirectory. (Sou you can
> do
> away with the "scripts\" part...) You should note that the logon
script
> parameter in the [global] section can be overridden by per-user-settings
> in ldap
> (if you are using ldap).
>
> Kind regards
> --
> Wolfgang Ratzka Phone: +49 6421 2823531 FAX: +49 6421 2826994
> Uni Marburg, HRZ, Hans-Meerwein-Str., D-35032 Marburg, Germany
> --
> To unsubscribe from this list go to the following URL and read the
> instructions: https://lists.samba.org/mailman/listinfo/samba
>
>
--
View this message in context:
http://www.nabble.com/Samba-3.0-and-XP-roaming-profiles-tf3561201.html#a9961787
Sent from the Samba - General mailing list archive at Nabble.com.