Script is user1.bat with all the permissions. So Windows should know, but nothing is happening.
Gigs Dennis McLeod-5 wrote: > > I haven't done this, so I don't really know. > If the script is named "user1", would windows know what to do with it? > Shouldn't it be "user1.bat"? (assuming it's a batch file.) > If so, shouldn't it say: > > path= /var/samba/netlogon/%U.bat > > In the netlogon section? > > Again, I haven't tried it, so I'm just guessing.... > Dennis > > > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > contact_mahajan > Sent: Thursday, April 12, 2007 8:35 AM > To: [EMAIL PROTECTED] > Subject: Re: [Samba] Samba 3.0 and XP roaming profiles > > > > 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#a9961 > 787 > Sent from the Samba - General mailing list archive at Nabble.com. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: https://lists.samba.org/mailman/listinfo/samba > > -- > 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#a9963320 Sent from the Samba - General mailing list archive at Nabble.com. -- To unsubscribe from this list go to the following URL and read the instructions: https://lists.samba.org/mailman/listinfo/samba
