+ Responder ao Tópico



  1. #1
    amsyss
    Visitante

    Padrão impressora no linux

    oi configurei o samba
    tudo ok instalei a impressora no linux mas so
    funciona se eu logar no samba com permisoes de root

    Samba + Cups

    [global]
    workgroup = grupo
    server string = grupo
    os level = 33
    netbios name = server
    unix extensions = yes
    unix password sync = yes
    load printers = yes
    local master = yes
    domain master = yes
    domain logons = yes
    logon script = loga.bat
    smb passwd file = /etc/samba/smbpasswd
    passwd chat = *New*UNIX*password* %n *ReType*new*UNIX*password* %n *passwd:*all*authentication*tokens*updated*successfully*
    printing = CUPS
    printcap name = CUPS
    socket options = SO_KEEPALIVE IPTOS_LOWDELAY TCP_NODELAY
    wins support = yes
    password server = None
    [netlogon]
    comment = Network Logon Service
    path = /var/lib/samba/netlogon
    browseable = yes
    writeable = yes
    create mask = 0777


    [homes]
    comment = Home Directories
    valid users = %S
    browseable = no
    writeable = yes
    create mask = 0640
    directory mask = 0750

    [printers]
    comment = All Printers
    path = /var/tmp
    printable = yes
    create mask = 0600
    browseable = no:
    [print$]
    comment = Printer Drivers
    path = /var/lib/samba/drivers
    write list = @ntadmin root usuario
    force group = ntadmin
    create mask = 0664
    directory mask = 0775

    [samba]
    comment = Pasta do Linux
    path = /home/samba
    writeable = yes
    create mask = 0777
    directory mask = 0777
    browseable = yes
    available = yes
    public = yes



    sendo se que o" usuario " tambem nao Funciona




  2. #2

    Padrão Re: impressora no linux

    smbpasswd -a usuario;
    smbpasswd -e usuario;



  3. #3
    amsyss
    Visitante

    Padrão Re: impressora no linux

    os usuarios ja estao criando no samba
    e habilitados