+ Responder ao Tópico



  1. #11
    mirror
    Positivo benatto, o nome do grupo no win ta como ´linux´, e tbm coloquei ´linux´ como dominio no win.



  2. e ai lucas
    coloca a sua configuração do smb
    pra nois ver o que ta acontecendo



  3. # NOTA: execute o comando "testparm" para verificar erros de sintaxe
    # neste arquivo
    #
    #======================= Global Settings =====================================
    [global]

    workgroup = blabla.com
    server string = Servidor Samba
    include = /home/hosts/hosts.samba
    # printcap name = /etc/printcap
    # load printers = yes
    # printing = bsd

    # Cria um arquivo de log separado de ate 50Kb para cada maquina da rede
    log file = /var/log/samba/log.%m
    max log size = 50

    security = user

    # Use password server option only with security = server
    ; password server = <NT-Server-Name>

    password level = 8
    username level = 8
    encrypt passwords = yes
    smb passwd file = /etc/samba/smbpasswd

    # Melhora a performance do servidor
    socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

    # Cause this host to announce itself to local subnets here
    ; remote announce = 192.168.1.255

    # Browser Control Options:
    # set local master to no if you don&acute;t want Samba to become a master
    # browser on your network. Otherwise the normal election rules apply
    local master = yes

    # OS Level determines the precedence of this server in master browser
    # elections. The default value should be reasonable
    os level = 68

    # Domain Master specifies Samba to be the Domain Master Browser. This
    # allows Samba to collate browse lists between subnets. Don&acute;t use this
    # if you already have a Windows NT domain controller doing this job
    domain master = yes

    # Preferred Master causes Samba to force a local browser election on startup
    # and gives it a slightly higher chance of winning the election
    preferred master = yes

    # Enable this if you want Samba to be a domain logon server for
    # Windows95 workstations.
    domain logons = yes

    # if you enable domain logons then you may want a per-machine or
    # per user logon script
    # run a specific logon batch file per workstation (machine)
    logon script = %m.bat
    # run a specific logon batch file per username
    ; logon script = %U.bat
    ; logon script = rede.bat

    # Where to store roving profiles (only for Win95 and WinNT)
    # %L substitutes for this servers netbios name, %U is username
    # You must uncomment the [Profiles] share below
    #; logon path = \\%L\Profiles\%U

    # All NetBIOS names must be resolved to IP Addresses
    # &acute;Name Resolve Order&acute; allows the named resolution mechanism to be specified
    # the default order is "host lmhosts wins bcast". "host" means use the unix
    # system gethostbyname() function call that will use either /etc/hosts OR
    # DNS or NIS depending on the settings of /etc/host.config, /etc/nsswitch.conf
    # and the /etc/resolv.conf file. "host" therefore is system configuration
    # dependant. This parameter is most often of use to prevent DNS lookups
    # in order to resolve NetBIOS names to IP Addresses. Use with care!
    # The example below excludes use of name resolution for machines that are NOT
    # on the local network segment
    # - OR - are not deliberately to be known via lmhosts or via WINS.
    ; name resolve order = wins lmhosts bcast

    # Windows Internet Name Serving Support Section:
    # WINS Support - Tells the NMBD component of Samba to enable it&acute;s WINS Server
    ; wins support = yes

    # WINS Server - Tells the NMBD components of Samba to be a WINS Client
    # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
    ; wins server = w.x.y.z

    # WINS Proxy - Tells Samba to answer name resolution queries on
    # behalf of a non WINS capable client, for this to work there must be
    # at least one WINS Server on the network. The default is NO.
    ; wins proxy = yes

    # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names
    # via DNS nslookups. The built-in default for versions 1.9.17 is yes,
    # this has been changed in version 1.9.18 to no.
    dns proxy = no
    ; unix password sync = yes
    comment = Servidor Linux
    netbios name = Linux
    map to guest = never
    null passwords = no
    wins support = no
    dead time = 0
    debug level = 0
    logon path = \\linux\netlogon
    logon drive = h:

    # Case Preservation can be handy - system default is _no_
    # NOTE: These can be set on a per share basis
    ; preserve case = no
    ; short preserve case = no
    # Default case is normally upper case for all DOS files
    ; default case = lower
    # Be very careful with case sensitivity - it can break things!
    ; case sensitive = no

    #============================ Share Definitions ==============================
    [homes]
    comment = Home Directories
    browseable = no
    writable = yes
    public = no
    only user = yes
    available = yes
    user = administrator
    valid users = administrator
    max connections = 1
    valid users = yes
    valid users = administrator
    # Un-comment the following and create the netlogon directory for Domain Logons
    [netlogon]
    comment = Diretorio de Logon da Rede
    path = /home/netlogon
    guest ok = no
    writable = no
    available = yes

    # Un-comment the following to provide a specific roving profile share
    # the default is to use the user&acute;s home directory
    ;[Profiles]
    ; path = /home/profiles
    ; browseable = yes
    ; public = no
    ; available = yes
    ; guest only = no
    ; writable = no
    ; only user = no


    # NOTE: If you have a BSD-style print system there is no need to
    # specifically define each individual printer
    ;[printers]
    ; comment = All Printers
    ; path = /var/spool/samba
    ; browseable = no
    # Set public = yes to allow user &acute;guest account&acute; to print
    guest ok = no
    writable = no
    printable = yes

    # This one is useful for people to share files

    [Public]
    comment = Diretorio Publico
    path = /mnt/public
    force create mode = 0777
    force directory mode = 0777
    read only = no
    public = yes
    browseable = yes
    available = yes
    guest only = no
    writable = yes
    only user = no
    h: \\linux\public /yes

    [cd-rom]
    comment = CD-Rom do Servidor
    path = /mnt/cdrom
    read only = yes
    browseable = yes
    only user = no
    guest only = no
    writable = no
    available = yes
    public = yes


    Lucas , esse é meu script smb.conf que uso na minha casa!

    funfa balinha , tenho um xp usando o directorio public nele ,
    configurei o nome de usuario no smb "administrator" , e no xp tambem

    criei o user no linux e blzinha!!!

    tem algumas linhas que estao comentadas com # se vc quiser usa-las , tire as # e o ; , tem coisa que comentei com ; e outras com # hehehehe.

    acho que essa conf vau funcionar legal com vc , qualquer coisa adicione oq vc quer!


    manow , testa la essa conf , tenta ver no que da ...

    aguardo resposta!



    []os


    MAJOR
    <IMG SRC="images/forum/icons/icon_wink.gif"> <IMG SRC="images/forum/icons/icon_wink.gif">

  4. Campeão,
    olhei seu arquivo samba.conf e não vi a entrada security. Tenta colocar security = user e vê se funciona.
    []&acute;s,
    Gustavo



  5. Tente adicionar um:

    valid users = usuario1, usuario2, etc

    No seu compartilhamento






Tópicos Similares

  1. Problemas Samba como PDC
    Por gamstalden no fórum Servidores de Rede
    Respostas: 3
    Último Post: 16-05-2006, 20:33
  2. Problema Samba! CONECTIVA 10
    Por luvisetto no fórum Servidores de Rede
    Respostas: 4
    Último Post: 16-05-2006, 07:04
  3. problemas samba / conectiva 10
    Por wasley no fórum Servidores de Rede
    Respostas: 4
    Último Post: 12-12-2005, 13:58
  4. Samba + Win98 = Problemas
    Por doidoht no fórum Servidores de Rede
    Respostas: 4
    Último Post: 11-07-2005, 12:32
  5. Problemas samba x win98
    Por xaco no fórum Servidores de Rede
    Respostas: 1
    Último Post: 29-09-2004, 09:32

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L