[Samba] Roaming Profile Problems

Aaron Cline acline at rimvisions.com
Wed Oct 30 15:06:29 GMT 2002


Hello:

I am running RedHat 7.3 with Samba 2.2.3a.  My clients are Windows 
2kSP2.  I am having problems where profiles seem to be getting corrupted.
I continually get errors for random users that say something to 
the effect of, "Windows can't copy file-x, path not found".  I have 
verified that the file is in the profile on the Samba server.  This 
results in the user having a temporary default profile loaded for 
them.

Also, shortcuts in the profile being copied down and become invalid 
so I have to continually go and fix them.  

If this can't be fixed how can I disable Roaming Profiles?  I tried 
to take out the settings that I thought should be removed but I kept 
getting similar file copy problems.  If I remove Roaming Profiles 
do I have to build the user accounts on the local machine as well 
as the server?

My SMB.conf
[global]
;basic server settings
workgroup = CRHDOM
netbios name = CRHPDC
server string = Cushing PDC
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 SO_RCVBUF=8192

;PDC and master browser settings
os level = 64
preferred master = yes
local master = yes
domain master = yes

;Security and Logging Settings
security = user
encrypt passwords = yes
domain logons = yes
log file = /var/log/samba/log.%m
log level = 2
max log size = 50
hosts allow = 127.0.0.1 172.29.56.0/255.255.252.0

;User profiles and home directory
logon home = \\%L\%U\.profile
logon drive = Q:
logon path = \\%L\profiles\%U

logon script = %U.bat
add user script = /usr/sbin/useradd -d /dev/null -g smbmachines -
s /bin/false -M
 %u
domain admin group = @smbadmins

;Password Syncronization
unix password sync = yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *Retype*new*Unix*password* 
%n\n *Enter*ne
w*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n *passwd: *all*authenticati
on*tokens*updated*successfully*

#==Shares==

[homes]
        comment = Home Directories
        browseable = no
        browseable = no
        writable = yes
        admin users = @smbadmins

[profiles]
        path = /home/samba/profiles
        browseable = no
        read only = no
        create mask = 0600
        directory mask = 0700
        admin users = @smbadmins

[netlogon]
        browseable = no
        path = /home/netlogon
        read only = yes
        write list = bob bmyers acline
        admin users = acline bob bmyers

[etime]
        path = /home/samba/etime
        browseable = no
        read only = yes
       create mask = 0660
        directory mask = 0770
        write list = @etime @smbadmins
        admin users = acline bob bmyers

[financials]
        path = /home/samba/financials
        create mask = 0660
        directory mask = 0770
        browseable = no
        read only = yes
        write list = @financials @smbadmins
        admin users = acline bob bmyers

[123work]
        path = /home/samba/lotus
        create mask = 0660
        directory mask = 0770
        browseable = no
        read only = yes
        write list = @lotus @smbadmins
        admin users = @smbadmins



Thank you.

Aaron Cline




====================================================================
EASY and FREE access to your email anywhere: http://kralweb.com/mail
====================================================================
Need cheap webhosting? Visit: http://genialt.no 
====================================================================





More information about the samba mailing list