+ Responder ao Tópico



  1. #1
    jvdebian
    Galera eu to ficando pirado, ja troque a minha sessao do Global umas 10 vezes procurando exemplos de amigos que estao rodando e a configuracao esta OK mas o Windows esta sempre me respondendo que o o user name nao pode ser encontrado.

    Eu ja coloquei o nome da maquina no passwd:
    # useradd -g trust -s /dev/null -d /dev/null lamer$

    e no smbpasswd:
    # smbpasswd -a -m lamer

    e o root no smbpasswd
    # smbpasswd -a root

    vou colocar o Smb.conf e os log.nmdb e log.smdb, se alguem tiver um tempinho, da uma olhada.. espero que alguem possa me ajudar!!!


    !!####!! smb.conf !!###!!!
    # Global parameters

    3 2 # Por Tiago Cruz e Bruno
    4 3 # Configurado para SHARE em 05/12/04
    5 4 # Configurado para PDC em 07/01/05
    6 5
    7 6
    8 7 [global]
    9 8 # Grupo, nome e coment\xe1rio
    10 9 workgroup = EMPRESA
    11 10 netbios name = SERVER
    12 11 server string = Servidor de Dados
    13 12
    14 13 # Arquivo de log
    15 14 log file = /var/log/samba/%m.log
    16 15 # Tamanho maximo do mesmo
    17 16 max log size = 50
    18 17 # Nivel de detalhamento dos logs
    19 18 debug level = 2
    20 19
    21 20 # Aqui eu alterei o 'security = SHARE' para o abaixo
    22 21 security = USER
    23 22
    24 23 # Necess\xe1rio para Windows >= 98
    25 # Por Tiago Cruz e Bruno

    ----------------------------------------------------------------------
    !!!### log.nmbd ##!!!!

    Debian1:~# cat /var/log/samba/log.nmbd

    [2005/05/20 12:03:05, 0] nmbd/nmbd.c:main(668)
    Netbios nameserver version 3.0.14a started.
    Copyright Andrew Tridgell and the Samba Team 1994-2004
    [2005/05/20 12:03:05, 2] nmbd/nmbd.c:main(692)
    Becoming a daemon.
    [2005/05/20 12:03:06, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 12:03:06, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 12:03:06, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 12:03:06, 2] nmbd/nmbd_subnetdb.c:make_subnet(172)
    making subnet name:10.0.0.1 Broadcast address:10.0.0.255 Subnet mask:255.255.255.0
    [2005/05/20 12:03:06, 2] nmbd/nmbd_subnetdb.c:make_subnet(172)
    making subnet name:UNICAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
    [2005/05/20 12:03:06, 2] nmbd/nmbd_subnetdb.c:make_subnet(172)
    making subnet name:REMOTE_BROADCAST_SUBNET Broadcast address:0.0.0.0 Subnet mask:0.0.0.0
    [2005/05/20 12:03:06, 2] nmbd/nmbd_lmhosts.c:load_lmhosts_file(41)
    load_lmhosts_file: Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory
    [2005/05/20 12:03:06, 0] nmbd/nmbd_logonnames.c:add_logon_names(163)
    add_domain_logon_names:
    Attempting to become logon server for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:06, 2] nmbd/nmbd_logonnames.c:become_logon_server(136)
    become_logon_server: Atempting to become logon server for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:06, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(282)
    become_domain_master_browser_bcast:
    Attempting to become domain master browser on workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:06, 0] nmbd/nmbd_become_dmb.c:become_domain_master_browser_bcast(295)
    become_domain_master_browser_bcast: querying subnet 10.0.0.1 for domain master browser on workgroup EMPRESA
    [2005/05/20 12:03:10, 0] nmbd/nmbd_logonnames.c:become_logon_server_success(124)
    become_logon_server_success: Samba is now a logon server for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:10, 2] nmbd/nmbd_become_dmb.c:become_domain_master_stage1(173)
    become_domain_master_stage1: Becoming domain master browser for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:12, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
    send_election_dgram: Sending election packet for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:14, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
    send_election_dgram: Sending election packet for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:14, 0] nmbd/nmbd_become_dmb.c:become_domain_master_stage2(113)
    *****

    Samba server SERVER is now a domain master browser for workgroup EMPRESA on subnet 10.0.0.1

    *****
    [2005/05/20 12:03:17, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
    send_election_dgram: Sending election packet for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:19, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
    send_election_dgram: Sending election packet for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:21, 2] nmbd/nmbd_elections.c:send_election_dgram(41)
    send_election_dgram: Sending election packet for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:21, 2] nmbd/nmbd_elections.c:run_elections(201)
    run_elections: >>> Won election for workgroup EMPRESA on subnet 10.0.0.1 <<<
    [2005/05/20 12:03:21, 2] nmbd/nmbd_become_lmb.c:become_local_master_browser(537)
    become_local_master_browser: Starting to become a master browser for workgroup EMPRESA on subnet 10.0.0.1
    [2005/05/20 12:03:29, 0] nmbd/nmbd_become_lmb.c:become_local_master_stage2(396)
    *****

    Samba name server SERVER is now a local master browser for workgroup EMPRESA on subnet 10.0.0.1

    *****
    -----------------------------------------------------------------------------------
    !!!!#### smbd.log ####!!!!!

    Debian1:~# cat /var/log/samba/smbd.log
    [2005/05/20 11:00:55, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 11:00:55, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 11:00:55, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 11:00:55, 2] smbd/server.cpen_sockets_smbd(329)
    waiting for a connection
    [2005/05/20 11:03:00, 0] lib/util_sock.c:get_peer_addr(1150)
    getpeername failed. Error was Transport endpoint is not connected
    [2005/05/20 11:04:39, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:04:39, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:06:17, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 11:06:17, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 11:06:17, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 11:06:17, 2] smbd/server.cpen_sockets_smbd(329)
    waiting for a connection
    [2005/05/20 11:07:01, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:07:01, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:07:15, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 11:07:15, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 11:07:15, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 11:07:15, 2] smbd/server.cpen_sockets_smbd(329)
    waiting for a connection
    [2005/05/20 11:21:34, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:21:34, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 11:22:27, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 11:22:27, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 11:22:27, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 11:22:27, 2] smbd/server.cpen_sockets_smbd(329)
    waiting for a connection
    [2005/05/20 12:01:25, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 12:01:25, 2] smbd/server.c:exit_server(609)
    Closing connections
    [2005/05/20 12:03:06, 2] lib/interface.c:add_interface(81)
    added interface ip=10.0.0.1 bcast=10.0.0.255 nmask=255.255.255.0
    [2005/05/20 12:03:06, 2] lib/tallocmsg.c:register_msg_pool_usage(57)
    Registered MSG_REQ_POOL_USAGE
    [2005/05/20 12:03:06, 2] lib/dmallocmsg.c:register_dmalloc_msgs(71)
    Registered MSG_REQ_DMALLOC_MARK and LOG_CHANGED
    [2005/05/20 12:03:06, 2] smbd/server.cpen_sockets_smbd(329)
    waiting for a connection
    Debian1:~#

    ------------------------------------------------------------------------

    e isso ae pessoal, eu sei que e muita coisa pra ler, mas pra quem sabe o que isso significa fica facil, o server esta se elegendo como PDC mas alguma coisa nao permite o logon das maquinas e me responde access denied... espero resolver isso logo com a ajuda de vcs...

    Abraco!!!

  2. #2
    karfax
    Can't open lmhosts file /etc/samba/lmhosts. Error was No such file or directory

    name resolve order = ???

    :toim:

    Sds,



  3. #3
    jvdebian
    Achei a Falha, pra variar nao era o Linux!!! meu Debian esta well configured!!!! eu segui esse tutorial. http://br-linux.org/tutoriais/003462.html

    e apos configurar o Reg do XP tudo funcionou claramente!!!! obrigado aos amigos da community!!!!

    abraco!!!!






Tópicos Similares

  1. Respostas: 0
    Último Post: 05-10-2015, 15:20
  2. Respostas: 3
    Último Post: 14-05-2010, 22:25
  3. Respostas: 1
    Último Post: 29-07-2007, 21:21
  4. Respostas: 0
    Último Post: 27-01-2007, 15:42
  5. The requested URL could not be retrieved
    Por b0rin no fórum Servidores de Rede
    Respostas: 1
    Último Post: 19-10-2005, 14:09

Visite: BR-Linux ·  VivaOLinux ·  Dicas-L