[Samba] Why does HOMEDRIVE not = H:?
flinchlock
fst6x7v02 at sneakemail.com
Tue Feb 10 22:38:41 GMT 2004
I'm running SuSE 9.0 Pro...
Linux mutt 2.4.21-166-default #1 Thu Dec 18 18:23:14 UTC 2003 i686
i686 i386 GNU/Linux
samba-2.2.8a-107
samba-client-2.2.8a-107
XP laptop
When I first setup a Samba PDC, I had this smb.conf:
-----------------------------------------
[global]
workgroup = NO-CATS
netbios name = MUTT
server string = Samba PDC running %v
encrypt passwords = Yes
update encrypted = Yes
passwd program = /usr/bin/passwd %u
unix password sync = Yes
log file = /var/log/samba/log.%m
time server = Yes
socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
logon script = logon.bat
logon path = \\%L\%U\.msprofile
logon drive = H:
logon home = \\%L\%U\.win_profile\%m
domain logons = Yes
os level = 255
preferred master = Yes
domain master = Yes
wins support = Yes
hosts allow = 127.0.0.1 192.168.1.0/255.255.255.0
[netlogon]
path = /home/samba/netlogon
browseable = No
[profiles]
path = /home/samba/nt_profiles
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[homes]
comment = %U's HOME directory
valid users = %S
read only = No
browseable = No
-----------------------------------------
Later, I changed: logon path = \\%L\profiles\%U\%m
When "logon path = \\%L\%U\.msprofile" and I click on "Command
Prompt", I get a command window that says: "H:\"
When "logon path = \\%L\profiles\%U\%m" and I I click on "Command
Prompt", I get a command window that says: "C:\Documents and
Settings\flichlock"
I have compared the XP "set" variables, and I see just three
differences:
< HOMEDRIVE=H:
< HOMEPATH=\
< HOMESHARE=\\mutt\flinchlock
---
> HOMEDRIVE=C:
> HOMEPATH=\Documents and Settings\flinchlock
QUESTION#1: How/what/where/why is there a difference in the results
of click on "Command Prompt"?
QUESTION#2: What EXACLTLY causes the HOMEDRIVE, HOMEPATH, and
HOMESHARE variables?
THANKS
More information about the samba
mailing list