+ Responder ao Tópico



  1. #1

    Exclamation Qual É o erro no meu samba? - log

    Olá como postei em outro forum (http://www.hardware.com.br/comunidad...copiar/243744/)
    Venho aqui tb procurar ajuda sobre um problema no meu samba.
    Onde estaria o erro no meu log? O que posso fazer?

    Código :
    [2012/11/07 09:33:32,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:33:32,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:33:32,  1] smbd/service.c:close_cnum(1409)
      cbfilho-pc (::ffff:10.32.73.129) closed connection to service binfaerj
    [2012/11/07 09:33:32,  3] smbd/connection.c:yield_connection(31)
      Yielding connection to binfaerj
    [2012/11/07 09:33:32,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:33:32,  3] smbd/connection.c:yield_connection(31)
      Yielding connection to
    [2012/11/07 09:33:32,  3] smbd/server.c:exit_server_common(949)
      Server exit (termination signal)
    [2012/11/07 09:35:38,  3] auth/auth.c:check_ntlm_password(220)
      check_ntlm_password:  Checking password for unmapped user [cbfilho-PC]\[sfons$
    [2012/11/07 09:35:38,  3] auth/auth.c:check_ntlm_password(223)
      check_ntlm_password:  mapped user is: [BINFAERJ]\[sfonseca]@[CBFILHO-PC]
     
    (.....................)
     
    [2012/11/07 09:35:43,  3] smbd/uid.c:push_conn_ctx(357)
      push_conn_ctx(0) : conn_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
      pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] libsmb/ntlmssp_sign.c:ntlmssp_sign_init(337)
      NTLMSSP Sign/Seal - Initialising with flags:
    [2012/11/07 09:35:43,  3] libsmb/ntlmssp.c:debug_ntlmssp_flags(62)
      Got NTLMSSP neg_flags=0xe2088215
    [2012/11/07 09:35:43,  3] smbd/password.c:register_existing_vuid(314)
      register_existing_vuid: User name: sfonsecafsf        Real name: felipe de souza fonseca
    [2012/11/07 09:35:43,  3] smbd/password.c:register_existing_vuid(326)
      register_existing_vuid: UNIX uid 1062 is UNIX user sfonsecafsf, and will be vuid 100
    [2012/11/07 09:35:43,  3] smbd/password.c:register_existing_vuid(350)
      Adding homes service for user 'sfonsecafsf' using home directory: '/home/sfonsecafsf'
    [2012/11/07 09:35:43,  3] smbd/process.c:process_smb(1570)
      Transaction 3 of length 98 (0 toread)
    [2012/11/07 09:35:43,  3] smbd/process.c:switch_message(1374)
      switch message SMBtconX (pid 11491) conn 0x0
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] lib/util_sid.c:string_to_sid(228)
      string_to_sid: Sid @binfaerjefetivo does not start with 'S-'.
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:push_sec_ctx(224)
      push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
    [2012/11/07 09:35:43,  3] smbd/uid.c:push_conn_ctx(357)
      push_conn_ctx(0) : conn_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
      pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] smbd/service.c:make_connection_snum(944)
      Connect path is '/binfaerj/storage' for service [binfaerj]
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(249)
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(252)
      se_access_check: user sid is S-1-5-21-270167468-2690657018-3452261103-3124
      se_access_check: also S-1-22-2-1006
      se_access_check: also S-1-1-0
      se_access_check: also S-1-5-2
      se_access_check: also S-1-5-11
      se_access_check: also S-1-22-2-1027
      se_access_check: also S-1-22-2-1036
    [2012/11/07 09:35:43,  3] smbd/vfs.c:vfs_init_default(96)
      Initialising default vfs hooks
    [2012/11/07 09:35:43,  3] smbd/vfs.c:vfs_init_custom(130)
      Initialising custom vfs hooks from [/[Default VFS]/]
    [2012/11/07 09:35:43,  3] lib/util_sid.c:string_to_sid(228)
      string_to_sid: Sid @binfaerjefetivo does not start with 'S-'.
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:push_sec_ctx(224)
      push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
    [2012/11/07 09:35:43,  3] smbd/uid.c:push_conn_ctx(357)
      push_conn_ctx(0) : conn_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:pop_sec_ctx(432)
      pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(249)
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(252)
      se_access_check: user sid is S-1-5-21-270167468-2690657018-3452261103-3124
      se_access_check: also S-1-22-2-1006
      se_access_check: also S-1-1-0
      se_access_check: also S-1-5-2
      se_access_check: also S-1-5-11
      se_access_check: also S-1-22-2-1027
      se_access_check: also S-1-22-2-1036
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(249)
    [2012/11/07 09:35:43,  3] lib/util_seaccess.c:se_access_check(252)
      se_access_check: user sid is S-1-5-21-270167468-2690657018-3452261103-3124
      se_access_check: also S-1-22-2-1006
      se_access_check: also S-1-1-0
      se_access_check: also S-1-5-2
      se_access_check: also S-1-5-11
      se_access_check: also S-1-22-2-1027
      se_access_check: also S-1-22-2-1036
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (1062, 1006) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  1] smbd/service.c:make_connection_snum(1198)
      cbfilho-pc (::ffff:10.32.73.129) connect to service binfaerj initially as user sfonsecafsf (uid=1062, gid=1006) (pid 11491)
    [2012/11/07 09:35:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:35:43,  3] smbd/reply.c:reply_tcon_and_X(727)
      tconX service=BINFAERJ
    [2012/11/07 09:36:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0
    [2012/11/07 09:39:43,  3] smbd/sec_ctx.c:set_sec_ctx(324)
      setting sec ctx (0, 0) - sec_ctx_stack_ndx = 0

  2. #2

    Padrão Re: Qual É o erro no meu samba? - log

    olha cara... pode ser várias coisas no seu smb.conf


    1º aumente o "os level" ex.:
    Código :
    os level = 110

    2º pode ser também um problema referente ao charset dos arquivos, comente estas linhas :

    Código :
          unix charset = iso8859-1    
         display charset = cp850    
         default case = lower    
         preserve case = no

    3º Geralmente é utilizado o "pam" para fazer referencia aos usuários linux e do samba... não vi no seu script. procure sobre !

    4º Não é um erro, mas reparei que o nome do servidor é o mesmo do Grupo de trabalho, aproveite e corrija isto =) !

    5º Para ter uma ideia melhor do que esta acontecendo através dos logs, aumente o nível de debug, ex.:

    Código :
    debug level = 9

    e volte a rever os logs !

    para ver em tempo real o que esta acontecendo !
    através de um terminal rode o comando :

    Código :
     tail -f /var/log/log.nomedamaquina

    Att.