I have a slight issue with Windows 9x and Windows NT/2000 profiles on my Samba PDC Server (Samba 2.2.3a-6 on Redhat 7.3). The logon path = \\%N\profiles\%U. The logon home = \\barnaby\%U (yes my server is called Barnaby!). I have attached a copy of my smb.conf
file for all you Samba bods. My main concern is that Windows NT/2000 roaming profiles are being saved in /home/samba/profiles (which is fine!) whereas the Windows 9x roaming profiles are being saved in the users home directory. Whats the problem with that? I hear you say. Well, you will notice in the smb.conf that the home drive is mapped to H. If a user who has previously logged onto a Windows 9x machine then logs on to a Windows NT/2000 machine they can see their 9x profile (user.dat) in their H drive... and Windows users being Windows users they have a tendency to delete their 9x profile. The H drive appears in NT/2000 but doesn't show up in Windows 9x.
I know this might sound stupid but I would like all profiles to be saved in
/home/samba/profiles. This makes things easier form me being the systems administrator. I can't get my head around it. How can I do this? This is driving me mad! Any help would be greatly appreciated! Thank you in advance
# Global parameters
[global]
workgroup = SYSTEMS
netbios name = BARNABY
server string = Samba Server
interfaces = 192.168.0/24
bind interfaces only = Yes
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s/bin/false -M %u
logon script = logon.bat
logon path = \\%N\profiles\%U
logon drive = H:
logon home = \\barnaby\%U
domain logons = Yes
os level = 64
domain master = True
dns proxy = No
wins support = Yes
hosts allow = 192.168.0. 127.0.0.1
printing = lprng
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Downloads]
comment = Downloads
path = /usr/downloads
force group = wingroup
read only = No
[Storage]
comment = Storage
path = /mnt/storage
read only = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = wingroup
[Documents]
comment = Documents
path = /usr/documents
force group = wingroup
read only = No
[Public]
comment = public
path = /usr/public
force group = Wingroup
[profiles]
comment = profiles
path = /home/samba/profiles
force group = wingroup
read only = No
guest ok = Yes
file for all you Samba bods. My main concern is that Windows NT/2000 roaming profiles are being saved in /home/samba/profiles (which is fine!) whereas the Windows 9x roaming profiles are being saved in the users home directory. Whats the problem with that? I hear you say. Well, you will notice in the smb.conf that the home drive is mapped to H. If a user who has previously logged onto a Windows 9x machine then logs on to a Windows NT/2000 machine they can see their 9x profile (user.dat) in their H drive... and Windows users being Windows users they have a tendency to delete their 9x profile. The H drive appears in NT/2000 but doesn't show up in Windows 9x.
I know this might sound stupid but I would like all profiles to be saved in
/home/samba/profiles. This makes things easier form me being the systems administrator. I can't get my head around it. How can I do this? This is driving me mad! Any help would be greatly appreciated! Thank you in advance
# Global parameters
[global]
workgroup = SYSTEMS
netbios name = BARNABY
server string = Samba Server
interfaces = 192.168.0/24
bind interfaces only = Yes
encrypt passwords = Yes
obey pam restrictions = Yes
pam password change = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
unix password sync = Yes
log file = /var/log/samba/%m.log
max log size = 0
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add user script = /usr/sbin/useradd -d /dev/null -g 100 -s/bin/false -M %u
logon script = logon.bat
logon path = \\%N\profiles\%U
logon drive = H:
logon home = \\barnaby\%U
domain logons = Yes
os level = 64
domain master = True
dns proxy = No
wins support = Yes
hosts allow = 192.168.0. 127.0.0.1
printing = lprng
[homes]
comment = Home Directories
valid users = %S
read only = No
create mask = 0664
directory mask = 0775
browseable = No
[printers]
comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No
[Downloads]
comment = Downloads
path = /usr/downloads
force group = wingroup
read only = No
[Storage]
comment = Storage
path = /mnt/storage
read only = No
[netlogon]
comment = Network Logon Service
path = /home/samba/netlogon
write list = wingroup
[Documents]
comment = Documents
path = /usr/documents
force group = wingroup
read only = No
[Public]
comment = public
path = /usr/public
force group = Wingroup
[profiles]
comment = profiles
path = /home/samba/profiles
force group = wingroup
read only = No
guest ok = Yes