+ Responder ao Tópico



  1. #1
    capgaiotto
    Visitante

    Padrão Problema de Lentidão!!!!!

    Olá caros amigos!

    Estou com problemas de lentidão na hora em que acesso a pasta e a impressora compartilhada no meu Servidor de Impressão. Acessando tanto de estações XP ou 98. Em algumas estações ele não consegue nem acessar o servidor via NOME...via IP tenho acesso e o acesso é bem mais rápido...

    Alguém tem alguma idéia??

    Segue meu smb.conf (Conectiva 10)



    [global]
    workgroup = GAIOTTO
    server string = printerserver
    printcap name = cups
    load printers = yes
    printing = cups
    printcap name = /etc/printcap
    log file = /var/log/samba/%m.log
    max log size = 50
    debug level = 0
    security = share
    domain master = no
    domain logons = no
    wins support = yes
    encrypt passwords = yes
    # smb passwd file = /etc/samba/smbpasswd
    # username map = /etc/samba/smbusers
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
    add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba machine" -d /dev/null -s /bin/false %u
    # see the smb.conf(5) manpage for other important backends, such as tdbsam and ldap
    # passdb backend = smbpasswd

    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes

    # Un-comment the following and create the netlogon directory for Domain Logons
    ; [netlogon]
    ; comment = Network Logon Service
    ; path = /home/netlogon
    ; guest ok = yes
    ; writable = no
    ; share modes = no


    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user's home directory
    [Dados]
    comment = Diretorio de Acesso Global
    path = /home/gaiotto
    browseable = yes
    guest ok = yes
    writable = yes
    public = yes
    ready only = no
    force create mode = 777
    force directory = 777

    # automatic printer driver download support
    [print$]
    path = /var/lib/samba/drivers
    guest ok = yes
    browseable = yes
    read only = no
    ; since this share is configured as read only, then we need
    ; a 'write list'. Check the file system permissions to make
    ; sure this account can copy files to the share. If this
    ; is setup to a non-root account, then it should also exist
    ; as a 'printer admin'
    write list = root

    [printers]
    comment = All Printers
    print command = lpr -P %p -o raw %s -r
    lpq command = lpstat -o %p
    lprm command = cancel %p-%j
    path = /var/spool/samba
    browseable = yes
    # Set public = yes to allow user 'guest account' to print
    guest ok = yes
    writable = yes
    printable = yes
    printer admin = root

    Valeu!!!!!

  2. #2
    Luzumba
    Visitante

    Padrão Problema de Lentidão!!!!!

    Amigo, deve ser algo com a procura de nomes...

    name resolve order = bcast host wins lmhosts
    hosts equiv = /etc/hosts
    hostname lookups = yes

    tenta algo assim

  3. #3
    capgaiotto
    Visitante

    Padrão Problema de Lentidão!!!!!

    Fala Luzumba!

    Devo inserir estas strings na sessão global do meu smb.conf ??

    Valeu!!

    Gaiotto

  4. #4
    Luzumba
    Visitante

    Padrão Problema de Lentidão!!!!!

    sim ...
    na sessao global...
    no caso como vc. tem wins ativado, muda a ordem pra ser o wins primeiro...