[Samba-it] Esclusionde di cartelle dal romaing profile

Luca Lenardi luca at atra.191.it
Wed Feb 2 15:53:02 MST 2005


Ciao a tutti.

Ho un problema di configurazione delle policies relative all'esclusione 
di alcune cartelle dal romaing.
Ho creato una cartella profiles/user/prova e nel file NTConfig.POL ho 
attivato la chekbox con "Esclude directory from roaming profiles" e ho 
inserito prova nel campo relativo.
Ora i client Win caricano la cartella la eliminano e al primo logoff 
essa viene eliminata anche dal server durante la sincronizzazione dei dati.

C'è un modo per creare una cartella che venga semplicemente esclusa 
dalla copia sui clinet durante il roaming?

Il mio smb.conf:

[global]
    ; Gestione globale
    workgroup = atranet
    netbios name = ns
    server string = Samba PDC - Versione %v
    socket options = TCP_NODELAY IPTOS_LOWDELAY SO_SNDBUF=8192 
SO_RCVBUF=8192
    os level = 255
    preferred master = yes
    local master = yes
    domain master = yes
    remote announce = 192.168.2.255/atranet

    ; Gestione utenti e sicurezza
    security = user
    encrypt passwords = yes
    domain logons = yes
    hosts allow = 127.0.0.1 192.168.2.0/255.255.255.0 
;192.168.1.3/255.255.255.0
    add machine script = /usr/sbin/useradd -d /dev/null -g machines -s 
/bin/false -M %u
    interfaces = 192.168.2.1

    ; Gestione logging
    log file = /var/log/samba/log.%m
    log level = 2
    max log size = 50

    ; Gestione utenti e accesso   
    logon home = \\%L\%U\.profile
    logon path = \\%L\profiles\%U
    logon drive = U:
    logon script = netlogon.bat
    domain admin users = root
    dns proxy = yes
    dns server = 192.168.2.1
    preferred master = yes
    passwd chat = *New*UNIX*password* %n\n *Retype*new*UNIX*password* 
%n\n *Enter* new*UNIX*password* %n\n *Retype*new*UNIX*password* %n\n 
*passwd: *all* authentication*tokens*updated*successfully*
    passwd program = /usr/bin/passwd %u
    unix password sync = yes
   
[homes]
    comment = Home Directory per ogni user
    browseable = no
    writeable = yes
    
[profiles]
    path = /home/profiles
    writeable = yes
    browseable = no
    create mask = 0600
    directory mask = 0700

[netlogon] 
    path = /home/netlogon
    read only = yes
    write list = @admin
    browseable = no    

[fishbone]
    comment = fishbone files sharing
    path = /mnt/fishbone
    browseable = yes
    writeable = yes


Grazie a tutti!

L.



More information about the samba-it mailing list