Profile loaded as homedir on Win2000 SP2
sharpe at ns.aus.com
Mon Nov 12 03:03:02 GMT 2001
James Nord wrote:
> Jacek Stolarczyk wrote:
>> When a user logs to the domain (PDC on samba-2.2.1a) from Win2000 he gets
>> his $HOME/profile mounted as home directory (disk Z:) instead of just
>> $HOME. Mounting $HOME works perfectly (and has been for the last year)
>> when logging from WinNT 4.0 SP6a. Relevant part of smb.conf reads:
>> <smb.conf excerpt>
>> logon script = scripts\%G.bat
>> logon path = \\%L\%U\profile
>> logon home = \\%L\%U\profile
> logon home (G)
> This parameter specifies the home directory location when a Win95/98 or
> NT Workstation logs into a Samba PDC. It allows you to do
> C:\> *NET USE H: /HOME*
> from a command prompt, for example.
Hmmm, I think that the description is wrong. 'logon home' is used in the LanMan calls (NetWkstaLogon) made by Win9X and ME (probably) when it logs onto the network.
'logon path' is used in the RPCs used by Win NT and 2K when it does an appropriate logon (LsaLogonUser) to the domain.
The two have very different uses, and NetWkstaLogon cannot return as much info as LsaLogonUser does, so the home path and profiles path are obtained from the same parameter.
> This option takes the standard substitutions, allowing you to have
> separate logon scripts for each user or machine.
Richard Sharpe, rsharpe at ns.aus.com, LPIC-1
www.samba.org, www.ethereal.com, SAMS Teach Yourself Samba
in 24 Hours, Special Edition, Using Samba
More information about the samba-ntdom