Pessoal,

Estou enfrentando a seguinte dificuldade na implementação de samba+ldap, quando 
vou engressar uma estação no domínio o windows me apresenta a seguinte 
mensagem: Não foi possível localizar o nome de usuáro. E o fato é que o usuário 
existe e consigo autentica-lo acessando um compartilhamento de rede ex: 
\\meuservidor. Já populei a base e inclusive o script consegue adicionar a 
estação da base LDAP. O log da estação ( fladi ) no samba esta apresentando a 
seguinta mensagem (OBS: destaquei de vermelho o que me chamou atenção parece 
que ele autentica mais não tem permisão no SID do samba, obervem. Desculpem o 
tamanho do log) Como resolvo isso?

[2008/02/11 17:05:04, 3] auth/auth.c:check_ntlm_password(221)
  check_ntlm_password:  Checking password for unmapped user [EMAIL PROTECTED] 
with the new password interface
[2008/02/11 17:05:04, 3] auth/auth.c:check_ntlm_password(224)

  check_ntlm_password:  mapped user is: [EMAIL PROTECTED]
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)

  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 2] lib/smbldap.c:smbldap_open_connection(788)

  smbldap_open_connection: connection opened
[2008/02/11 17:05:04, 3] lib/smbldap.c:smbldap_connect_system(992)
  ldap_connect_system: succesful connection to the LDAP server

[2008/02/11 17:05:04, 2] passdb/pdb_ldap.c:init_sam_from_ldap(541)
  init_sam_from_ldap: Entry found for user: root
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2

[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)

  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 3
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 2
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 3

[2008/02/11 17:05:04, 2] passdb/pdb_ldap.c:init_group_from_ldap(2140)
  init_group_from_ldap: Entry found for group: 513
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 2

[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] passdb/lookup_sid.c:store_gid_sid_cache(1059)
  store_gid_sid_cache: gid 513 in cache -> 
S-1-5-21-3095540023-2436118341-861093206-513

[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)

  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2

[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)

  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 1

[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)

  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] auth/auth.c:check_ntlm_password(270)
  check_ntlm_password: sam authentication for user [root] succeeded

[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)

  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 2] auth/auth.c:check_ntlm_password(309)

  check_ntlm_password:  authentication for user [root] -> [root] -> [root] 
succeeded
[2008/02/11 17:05:04, 3] passdb/lookup_sid.c:fetch_gid_from_cache(1015)

fetch gid from cache 544 -> S-1-5-32-544
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:push_sec_ctx(208)
  push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/uid.c:push_conn_ctx(353)
  push_conn_ctx(0) : conn_ctx_stack_ndx = 0

[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:set_sec_ctx(241)
  setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1
[2008/02/11 17:05:04, 3] smbd/sec_ctx.c:pop_sec_ctx(339)
  pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0
[2008/02/11 17:05:04, 3] lib/privileges.c:get_privileges(261)

  get_privileges: No privileges assigned to SID 
[S-1-5-21-3095540023-2436118341-861093206-500]

[2008/02/11 17:05:04, 3] lib/privileges.c:get_privileges(261)





      Abra sua conta no Yahoo! Mail, o único sem limite de espaço para 
armazenamento!
http://br.mail.yahoo.com/

Responder a