[Samba] 'logon drive' questions

flinchlock fst6x7v02 at sneakemail.com
Wed Feb 25 17:43:27 GMT 2004

Quoting "John H Terpstra"

> > Quoting "flinchlock"
> > 	logon path = \\%L\profiles\%u\%m
> "logon path" sets the Windows XP environment variable
> %USERPROFILE% that pervades the Windows registry.

OK, that helps ALOT!!! :-)))))))))))))))))

> > 	logon drive = H:
> "logon drive" sets the drive letter that is used when you run:
> 	"net use * /home"
> If set in smb.conf and you use either tdbsam or ldapsam this
> will
> automatically map the users UNIX home directory to the drive
> letter
> specified _and_ will set the environment variable %HOMEDRIVE% on
> the
> workstation.

So, I guess the only use for mapping this (HOME), is to allow a user
to share/access his/her *nix files on a Windows machine... right?

Most? applications don't need/use a HOME directory... right?

> > 	logon home = \\%L\%u\.win_profiles\%m
> This has no real place in Windows NT/XP, it is used to set the
> profile
> directory for Windows 9x/Me clients.

Sure/OK, I havn't started messing with my W98 clients.  (I won't ask
you any questions!)

> The %HOMEPATH% is derived from the Windows registry variables.
> When you
> implement folder redirection (as I have documented in my new book
> "Samba-3
> by Example" - can be ordered from Amazon.Com now) to redirect the
> user's
> desktop folder contents to network drives, then this environment
> variable
> will be changed also.

I'm just a home user, and I'll wait until Samba 3.1.x is out... and
I *do* have an Amazon account.

> But remember, roaming profiles are copied from the server to the
> local
> machine - no matter what - this always happens. It you have set
> Windows
> registry to delete roaming profiles on logout (a good practice)
> you will
> not see any remnants of the profile after the user has logged
> out.
> Otherwise, if roaming profiles are not set to delete on logout
> you will
> find a mirror of the roaming profile (temporary profile) under:
> C:\Documents and Settings\'username' and you will find that the
> matching
> environment parameters for this are:
> HOMEPATH=\Documents and Settings\'username'

I'll need time to digest this.

> You have been confusing two entirely different aspects of
> profile
> handling. There are two components:
> 1) Those that specify where windows obtains the profile to copy
> across the
> network to the client
> 2) The location of the working image of the desktop profile

OK.  I guess my definition of HOME needs to be re-thought about. 
When I think about HOME, I think about the home dir field in
/etc/passwd.  Seems like 'logon path' has NOTHING to-do with my
thoughts about what/where HOME is.  I'll eventually figure it
out... but I promise I won't ask you any questions.

THANKS for your insight/patience. :-)


SuSE 9.0 Pro (2.4.21-192-default) with samba-2.2.8a-107

More information about the samba mailing list