+ Responder ao Tópico



  1. #1
    jvdebian
    Ae pessoal, eu ja to ficando stressado come esse Samba, funciona tudo certinho, o unico problema no roaming profile e que nao grava configuracao do Desktop, eu mudo pro modo classico pq eu acho q ninguem gosta desse estilo novo do Start Menu.
    Mas o negocio e que nunca grava as alteracoes e tenho q mudar toda vez q logo.

    como de sempre, ai vai o smb.conf.

    PS: todas as permissoes estao setadas propriamente para o meu usuario e grupo!!!!


    #Global Parameters
    [global]
    workgroup = LEXCOM
    netbios name = PDC
    server string = PDC
    interfaces = eth0
    bind interfaces only = yes
    passdb backend = tdbsam
    pam password change = yes
    ;passwd chat = *New*Password* %n\n *Re-Enter*New*Password* %n\n *Password*Changed*
    username map = /etc/samba/smbusers
    unix password sync = yes
    log level = 1
    syslog = 0
    log file = /var/log/samba/%m.log
    max log size = 50
    smb ports = 139 445
    name resolve order = wins bcast hosts
    time server = yes
    printcap name = CUPS
    show add printer wizard = No
    add user script = /usr/sbin/useradd -m %u
    delete user script = /usr/sbin/userdel -r %u
    add group script = /usr/sbin/groupadd %g
    delete group script = /usr/sbin/groupdel %g
    add user to group script = /usr/sbin/usermod -G %g %u
    add machine script = /usr/sbin/useradd -s /bin/false -d /dev/null %u
    shutdown script = /var/lib/samba/scripts/shutdown.sh
    abort shutdown script = /sbin/shutdown -c
    logon script =
    logon path = \\%L\profiles\%U
    domain logons = Yes
    local master = Yes
    os level = 80
    preferred master = Yes
    domain master = Yes
    wins support = Yes
    utmp = Yes
    map acl inherit = Yes
    printing = cups
    veto oplock files = /*.doc/*.xls/*.mdb/

    [IPC$]
    path = /tmp
    hosts allow = 10.0.0.0/24, 127.0.0.1
    hosts deny = 0.0.0.0/0

    [homes]
    comment = Home Directories
    valid users = %S
    read only = No
    browseable = No

    [printers]
    comment = SMB Print Spool
    path = /var/spool/samba
    guest ok = Yes
    printable = Yes
    use client driver = Yes
    default devmode = Yes
    browseable = No

    [netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    guest ok = yes
    locking = no

    [profiles]
    comment = Profiles Share
    path = /var/lib/samba/profiles
    read only = No
    profile acls = Yes

    [shared]
    comment = Network Shares
    path = /shared
    read only = No


    acho q eh isso, qualquer ajuda que puderem me dar!!! desde jah obrigado!!!

  2. #2
    nelson_info
    # Samba config file created using SWAT
    # from localhost.localdomain (127.0.0.1)
    # Date: 2005/03/17 22:30:24

    # Global parameters
    [global]
    workgroup = LOJAS_PIERRE
    netbios name = FOCALINUX
    server string = Servidor de Arquivos (PDC)
    interfaces = eth0
    encrypt passwords = yes
    obey pam restrictions = no
    pam password chage = yes
    passwd progam = /usr/bin/passwd %u
    passwd chat = *New*password* %n\n *Retype*new*password* %n\n *passwd:*all*authentication*tokens*updated*successfully*
    password level = 2
    username level = 2
    unix password sync = yes
    security = user
    log file = /var/log/samba/%m.log
    max log size = 5000
    time server = yes
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    admin users = nelson, gleydson,
    logon script = logon.bat
    logon path = \\%N\profilesNT\%u
    logon drive = H:
    logon home = \\%N\profiles\%u
    preserve case = yes
    short preserve case = yes
    case sensitive = no
    domain logons = yes
    preferred master = yes
    domain master = yes
    dns proxy = no
    wins support = yes
    username map = /etc/samba/smbusers
    printing = cups
    add machine script = useradd -g dspread -s /bin/false -d /dev/null win95%



    [profiles]
    path = /pub/profiles
    writeable = yes
    create mask = 0640
    directory mask = 0750
    nt acl support = yes



    [profilesNT]
    comment = Diretorio do Usuario
    path = /pub/profilesNT
    writeable = yes
    create mask = 0640
    directory mask = 0750


    [netlogon]
    path = /pub/samba/netlogon
    write list = ntadmin
    writeable = yes
    comment = Network Logon Service


    [homes]
    comment = Diretorios home de Usuario
    writable = yes
    public = no
    invalid users = root nobody @adm
    follow symlinks = no
    create mode = 0640
    directory mode = 0750


    [printers]
    comment = All Printers
    path = /var/spool/samba
    printable = Yes
    browseable = yes
    guest ok = yes
    [Nelson]
    comment = Diretorio Seguro
    path = /Nelson
    valid users = adm
    writeable = yes
    write list = @adm

    [FENWIN]
    comment = Diretorio para acesso
    path = /home/FENWIN
    browseable = yes
    guest ok = yes

    [CDROM]
    path = /media/cdrecorder
    comment = Unidade de CD-ROM 2
    guest ok = yes
    browseable = yes



  3. #3
    Coloque 777 no create mask e no directory mask

  4. #4
    Outro Visitante
    Olá,

    Faltou você definir a diretiva security em seu smb.conf.

    security = user

    Configure-o e restarte o SAMBA.
    Espero ter ajudado






Tópicos Similares

  1. Respostas: 14
    Último Post: 03-05-2011, 08:17
  2. VPN funciona, pinga mas não compartilha dados
    Por alexandresamorim no fórum Servidores de Rede
    Respostas: 2
    Último Post: 26-01-2006, 13:44
  3. Samba, PARECE estar tudo configurado, mas nao funciona
    Por vfsmount no fórum Servidores de Rede
    Respostas: 4
    Último Post: 04-05-2005, 02:07
  4. dns funciona localmente mas nao resolve
    Por brunow no fórum Servidores de Rede
    Respostas: 4
    Último Post: 24-02-2005, 13:30
  5. Consigo lançar Tomcat autônomo, mas não a paretir do eclipse
    Por emylonas no fórum Servidores de Rede
    Respostas: 0
    Último Post: 01-12-2003, 11:00

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L