+ Responder ao Tópico



  1. Senhores,

    Foi configurado um servidor samba numa distribuição Cent OS e utilizando maquinas windows e maquinas clientes linux com a distribuição debian (winbind, pam_mount) ela esta sendo autenticada no dominio e efetuando auto-montagem das pastas de redes, mas está causando um serio problema nas maquinas clientes linux, pois ao deletar qualquer arquivo ele cria no samba uma pasta .Trash-10000, sendo que ja adicionei no veto files a palavra /.Trash-* para efetuar o bloqueio, mas continuando criando essa pasta no samba.

    Alguem pode me ajudar em desativar essa opção do Cliente Linux (Debian) no samba ???

  2. posta o seu smb.conf e do cliente tambem para analizarmos...



  3. #3
    Não Registrado(s)
    [global]
    workgroup=MANUTRONIK
    netbiosname=fileserver
    serverstring=FILESERVER
    timeserver=yes
    preferredmaster=yes
    hosts allow = 192.168.1.
    domainmaster=yes
    os level = 100
    domainlogons=yes
    localmaster=yes
    logon drive = h:
    logonscript=netlogon.%U.bat
    security=user
    nullpasswords = no
    case sensitive = no
    wins support=yes
    dns proxy = yes
    wins proxy = no
    encrypt passwords= true
    unix charset = iso8859-1
    display charset = cp850
    dos charset = cp850
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    read raw = yes
    write raw = yes
    oplocks = yes
    max xmit = 65536
    getwd cache = yes
    write cache size = 104857600
    name resolve order = host wins lmhosts bcast
    logfile=/var/log/samba.auditoria/samba.%U
    maxlogsize= 100000
    loglevel= 2
    printing = cups
    printcap name = /etc/printcap
    load printers = yes
    debuglevel=2
    veto files = /*.Trash*/
    delete veto files = yes

    #Lixeira

    vfs objects = recycle full_audit
    recycle:keeptree = yes
    recycle:versions = yes
    recycle:repository = /etc/samba/lixeira/%S|%U|%M|
    recycle:exclude = *.tmp, *.log, *.obj, *.temp, *.o, *.obj,
    recycle:maxsize = 0
    recycle:touch = yes

    #Auditoria

    full_auditrefix = %u|%I|%S
    full_audit:success = open opendir write unlink rename mkdir rmdir chmod chown
    full_audit:failure = none
    full_audit:facility = LOCAL5
    full_auditriority = ALERT

    [homes]
    comment = Home Directory
    browseable = no
    writable = yes
    valid users = %S
    create mode = 0777
    directory mode = 0777

    [HP1005]
    comment = HP1005
    browseable = yes
    path = /var/spool/samba
    printable = yes
    printer = HP1005
    read only = yes
    valid users = @users
    use client driver = yes

    [HP4200]
    comment = HP4200
    browseable = no
    path = /var/spool/samba
    printable = yes
    printer = HP4200
    read only = yes
    #valid users = rodrigo
    guest ok = yes
    use client driver = yes

    [LASER]
    comment = LASER
    browseable = yes
    path = /var/spool/samba
    printable = yes
    printer = LASER
    read only = yes
    #valid users = @users
    guest ok = yes
    use client driver = yes

    [ti]
    comment = Diretorio TI
    path = /home/ti
    valid users = rodrigo
    browseable = yes
    writable = yes
    read only = no

    [netlogon]
    comment = Network Logon Service
    path = /home/netlogon
    guest ok = yes
    admin users = rodrigo,root

    [comercial]
    comment = comercial
    path = /home/comercial
    valid users = @comercial
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = caruso

    [compras]
    comment = compras
    path = /home/compras
    valid users = @compras
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = caruso

    [ensaios]
    comment = ensaios
    path = /home/ensaios
    valid users = @ensaios
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @ensaios1

    [tecnico]
    comment = tecnico
    path = /home/tecnico
    valid users = @tecnico
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @tecnico1

    [listas]
    comment = listas
    path = /home/listas
    valid users = @listas
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @listas1

    [shap]
    comment = shap
    path = /home/shap2000
    valid users = @shap2
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @shap1

    [fotos]
    comment = fotos
    path = /home/fotos
    valid users = @fotos
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @fotos1

    [contabil]
    comment = contabil
    path = /home/contabil
    valid users = @contabil
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes
    read list = @contabil1

    [usuario]
    comment = usuario
    path = /home/usuario
    valid users = @users
    read only = No
    create mask = 0777
    force create mode = 0777
    security mask = 0777
    force security mode = 0777
    directory mask = 0777
    force directory mode = 0777
    directory security mask = 0777
    force directory security mode = 0777
    public = yes
    writable = yes

  4. e a do cliente ???

    se vc tenta criar propositalmente a pasta vc consegue ???






Tópicos Similares

  1. Permissão Samba
    Por kecal2002 no fórum Servidores de Rede
    Respostas: 2
    Último Post: 09-10-2006, 14:46
  2. Problemas ao adicionar o samba ao dominio nt
    Por clmr no fórum Servidores de Rede
    Respostas: 0
    Último Post: 23-04-2002, 10:31
  3. CLIPPER x SAMBA x LINUX
    Por soyeu no fórum Servidores de Rede
    Respostas: 0
    Último Post: 03-04-2002, 14:35
  4. Samba com diretório browseable...
    Por buosinet no fórum Servidores de Rede
    Respostas: 2
    Último Post: 29-03-2002, 00:28
  5. Performance de Sistemas com WIN98/LINUX-SAMBA
    Por soyeu no fórum Servidores de Rede
    Respostas: 1
    Último Post: 28-03-2002, 21:55

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L