[FUG-BR] PDC

Márcio Luciano Donada mdonada em auroraalimentos.com.br
Seg Fev 21 16:18:18 BRT 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


Esse final de semana dei uma geral do PDC, mas ainda estou com o mesmo
problema. Bom, acredito que agora eu descobri o problema, ele não está
adicionando o usuário de máquina  automaticamente,   o erro é o seguinte:

[2005/02/21 14:04:46, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
Error: modifications require authentication at
/usr/local/lib/perl5/site_perl/5.8.6/smbldap_tools.pm line 892, <DATA>
line 283.

Quanto eu tenho logar no PDC com uma máquina que ainda não está na base
ele me reporta esse erro nos log's. Mas o fato é que se eu estiver no
servidor, (eu já tenho o srv-pdc$, que é o netbios name na base LDAP) eu
consigo logar no dominio, veja:

#net rpc -join -U mdonada
Password:
Joined domain AURORA

Nos log's:

ldap# tail -f /var/log/samba/log.smbd
[2005/02/21 14:13:22, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:22, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:22, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:22, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:22, 2] smbd/server.c:exit_server(609)
~  Closing connections
[2005/02/21 14:13:24, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:24, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:24, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: mdonada
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_group_from_ldap(1974)
~  init_group_from_ldap: Entry found for group: 513
[2005/02/21 14:13:25, 2] auth/auth.c:check_ntlm_password(305)
~  check_ntlm_password:  authentication for user [mdonada] -> [mdonada]
- -> [mdonada] succeeded
[2005/02/21 14:13:25, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_ldap_from_sam(896)
~  init_ldap_from_sam: Setting entry for user: srv-pdc$
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:ldapsam_update_sam_account(1700)
~  ldapsam_update_sam_account: successfully modified uid = srv-pdc$ in
the LDAP database
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_ldap_from_sam(896)
~  init_ldap_from_sam: Setting entry for user: srv-pdc$
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:25, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:25, 2] lib/access.c:check_access(324)
~  Allowed connection from  (192.168.2.253)
[2005/02/21 14:13:25, 2] lib/smbldap.c:smbldap_open_connection(692)
~  smbldap_open_connection: connection opened
[2005/02/21 14:13:25, 2] passdb/pdb_ldap.c:init_sam_from_ldap(512)
~  init_sam_from_ldap: Entry found for user: srv-pdc$
[2005/02/21 14:13:25, 2] smbd/server.c:exit_server(609)
~  Closing connections
[2005/02/21 14:13:25, 2] smbd/server.c:exit_server(609)
~  Closing connections


O problema realmente está na conta de máquina agora, vou ter que
descobrir o pq do erro. Tem alguma dica do erro ao adicionar a máquina
no ldap?

Grato pela atenção.

[]'s
__
Márcio Luciano Donada
mdonada at auroraalimentos dot com dot br
FreeBSD - The uptime is mesuared in years!
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCGjP6yJq2hZEymxcRAtSaAKCXVlrScCqWnGFiQEZKhLVIg5bZBgCdEVjx
1NKqHcjTDEjNZpy6rrgqaKo=
=GLHM
-----END PGP SIGNATURE-----

_______________________________________________________________
Para enviar um novo email para a lista: freebsd em fug.com.br
Sair da Lista: http://mail.fug.com.br/mailman/listinfo/freebsd_fug.com.br
Historico: http://www4.fugspbr.org/lista/html/FUG-BR/




Mais detalhes sobre a lista de discussão freebsd