[Samba] samba + windows xp + roaming profiles

Xavier Callejas xcallejas at ibcinc.com.sv
Tue Aug 3 19:09:35 GMT 2004


Hi, I'm having a problem with the roaming profiles and windows xp.

The problem is that when a new user creates automatically a roaming profile 
and when he logs out the profile stay in the home dir. when he 'relogin' the 
'desktop.ini' files stop working beacuse they are not 'hidden' anymore, and 
all the folders loss its propertis.

Why is that?? what is the solution????

here is a relevant part of my smb.conf:

[global]
        workgroup = EMPRESA
        netbios name = brain
        server string = Controlador de dominio
        printing = cups
        cups options = raw
        printer admin = @root, root, @ntadmin, administrator
        load printers = no
        log file = /var/log/samba/%m.log
        max log size = 50

# Declarandose controlador de dominio y manejando usuarios
        security = user
        domain master = yes
        domain logons = yes
        preferred master = yes
        
        
        # Profiles y usuarios
                username map = /etc/samba/smbusers
                # NT4/2000 clients
                logon path = \\%L\profiles\mswprfl
                logon drive = H:
                # Win9x clients
                logon home = \\%L\%u\.w9xprfl

                logon script = %G.bat
                
                include = /etc/samba/smb.conf.%m
                
        # Herramientas administrativas de dominio
                admin users = root, @root
                add machine script =
                        

# Manejando contraseñas
        encrypt passwords = yes
        smb passwd file = /etc/samba/smbpasswd
        smb passwd file = /etc/samba/smbpasswd
        unix password sync = Yes
        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*
        
# Wins
        wins support = yes
#       wins proxy = yes
#       dns proxy = yes

# Servicios

[homes]
        comment = Home Directories
        browseable = No
        writeable = Yes 

        
[profiles]
        comment = Network Profiles Service
        path = /home/%U
        writeable = Yes
        store dos attributes = Yes
        create mask = 0600
        directory mask = 0700
        dos filemode = yes
        dos filetimes = yes
        map archive = yes
        map system = yes
        map hidden = yes
        hide files = /desktop.ini/
        profile acls = Yes

-- 
Xavier Callejas

---------------------------------------
Open your Mind, use Open Source.


More information about the samba mailing list