[Samba] Win XP Pro x64 and roaming profiles
Gregory Brady
gbrady at optics.rochester.edu
Tue Oct 24 20:31:24 GMT 2006
I've recently connected a 64-bit windows box to my existing Samba-run
domain. In order to do this, I upgraded to Samba 3.0.23c. Most things
work fine. However, I'm having trouble getting the 64-bit box to
properly pick up the location of the roaming profile. I want the
profile to be stored in a directory in the user's home directory called
".profiles". However, 64 bit windows insists on storing it and looking
for it in a directory called "profile" in the user's home directory.
All of our existing 32-bit XP machines get the folder from ".profile"
without problem. The current workaround I'm using is a soft link from
"profile" to ".profile", which works, but it irks me that I can't get
this to work properly with the "logon path" and "logon home" parameters
in my smb.conf file. Has anyone see this problem?
Below is my smb.conf file, and thanks for any help!
G. Brady
Contents of smb.conf
[global]
workgroup = wgname
server string = servername
netbios name = servername
hosts allow = 192.168.0. 127.
printcap name = /etc/printcap
load printers = yes
printing = cups
cups options = raw
guest account = guest
log file = /var/log/samba/%m.log
max log size = 1024
security = user
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
unix password sync = No
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password*
%n\n *passwd:*all*authentication*tokens*updated*successfully*
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
local master = yes
os level = 33
domain master = yes
preferred master = yes
domain logons = yes
add machine script = /usr/sbin/useradd -d /dev/null -g smbmachine -c
'Machine Account' -s /bin/false -M %u
logon home = \\%L\%U\
logon drive = q:
logon path = \\%L\%U\.profiles
wins support = yes
dns proxy = yes
preserve case = yes
short preserve case = yes
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
path=/home/%U
browseable = yes
writeable = yes
create mode = 0664
directory mode = 0775
[netlogon]
comment = Network Logon Service
path = /var/lib/samba/netlogon
public = no
guest ok = no
writeable = no
browsable = no
valid users = root @smbuser
share modes = no
[Profiles]
path = /home/%U/.profiles
writeable = yes
create mask = 0000
directory mask = 0000
browsable = yes
valid users = root @smbuser
[printers]
comment = All Printers
path = /var/spool/samba
browseable = no
guest ok = no
writable = no
printable = yes
More information about the samba
mailing list