Ed Asbury
2003-Jun-20 15:14 UTC
[Samba] Error "Could not fetch trust account password" in Samba 3 Beta..what do I need to do?
Specifics samba-3.0.0beta1-1.i386.rpm on RedHat 9 and smbpasswd authentication, the machine is the PDC and security is set for user. The machine account was setup on the fly and it appears in passwd, shadow, and smbpasswd files as it should. However it seemed to take a very long time to join the domain, about 1-1/2 minutes. I can browse the Samba PDC machine and access the shares, etc. After joining the domain, the machine logging in says it is "unable to locate a domain controller for domain 'XMYDOMAINX'". I am using the same identical smb.conf that I used for Samba3_alpha23 which worked fine. All of the mailing list archives pointing to this problem all seem to have to do with winbind and having another NT PDC. This is NOT my case, there is no other PDC or domain. Is the problem my secrets.tdb file and how do I refresh or regenerate that? The log from the joining of the machine to the domain and the first login attempt is included (of course all of the X's are filled in with the appropriate things), I have pointed out where things fail. Thanks in advance for any help! [2003/06/20 08:06:57, 2] auth/auth.c:check_ntlm_password(288) check_ntlm_password: authentication for user [XXXXXXXX] -> [XXXXXXXX] -> [XXXXXXXX] succeeded [2003/06/20 08:06:57, 2] lib/access.c:check_access(325) Allowed connection from (192.168.xxx.xxx) [2003/06/20 08:06:57, 0] smbd/service.c:set_admin_user(314) XXXXXXXX logged in as admin user (root privileges) [2003/06/20 08:07:31, 2] smbd/sesssetup.c:setup_new_vc_session(504) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/06/20 08:07:31, 2] smbd/sesssetup.c:setup_new_vc_session(504) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/06/20 08:07:31, 2] auth/auth.c:check_ntlm_password(288) check_ntlm_password: authentication for user [root] -> [root] -> [root] succeeded [2003/06/20 08:07:32, 2] lib/access.c:check_access(325) Allowed connection from (192.168.xxx.xxx) [2003/06/20 08:07:32, 0] smbd/service.c:set_admin_user(314) root logged in as admin user (root privileges) [2003/06/20 08:07:32, 2] rpc_server/srv_samr_nt.c:_samr_lookup_domain(2513) Returning domain sid for domain XMy_DomainX -> S-X-X-XX-XXXXXXXXXX-XXXXXXXXX-XXXXXXXXXX [2003/06/20 08:08:32, 0] auth/auth_domain.c:check_ntdomain_security(433) check_ntdomain_security: could not fetch trust account password for domain 'XMy_DomainX' <<<<<<<<<<<<<<<<<<<<<<<<<<<------- [2003/06/20 08:08:32, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO <<<<<<<<<<<<<<<<<<<<<<<<<<------ [2003/06/20 08:09:33, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:12:50, 2] smbd/sesssetup.c:setup_new_vc_session(504) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/06/20 08:12:50, 2] smbd/sesssetup.c:setup_new_vc_session(504) setup_new_vc_session: New VC == 0, if NT4.x compatible we would close all old resources. [2003/06/20 08:12:50, 0] auth/auth_domain.c:check_ntdomain_security(433) check_ntdomain_security: could not fetch trust account password for domain 'XMy_DomainX' [2003/06/20 08:12:50, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2003/06/20 08:13:01, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:13:30, 0] auth/auth_domain.c:check_ntdomain_security(433) check_ntdomain_security: could not fetch trust account password for domain 'XMy_DomainX' [2003/06/20 08:13:30, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2003/06/20 08:13:36, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:13:44, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:13:44, 0] auth/auth_domain.c:check_ntdomain_security(433) check_ntdomain_security: could not fetch trust account password for domain 'XMy_DomainX' [2003/06/20 08:13:44, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2003/06/20 08:13:44, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:13:44, 2] auth/auth.c:check_ntlm_password(288) check_ntlm_password: authentication for user [XXXXXXXX] -> [XXXXXXXX] -> [XXXXXXXX] succeeded [2003/06/20 08:13:44, 2] lib/access.c:check_access(325) Allowed connection from (192.168.xxx.xxx) [2003/06/20 08:13:44, 0] smbd/service.c:set_admin_user(314) XXXXXXXX logged in as admin user (root privileges) [2003/06/20 08:13:44, 1] smbd/service.c:make_connection_snum(690) My_Machine_Name (192.168.xxx.xxx) connect to service netlogon initially as user XXXXXXXX (uid=0, gid=500) (pid 5347) [2003/06/20 08:14:59, 1] smbd/service.c:close_cnum(871) My_Machine_Name (192.168.xxx.xxx) closed connection to service netlogon [2003/06/20 08:14:59, 2] smbd/server.c:exit_server(558) Closing connections [2003/06/20 08:15:18, 0] auth/auth_domain.c:check_ntdomain_security(433) check_ntdomain_security: could not fetch trust account password for domain 'XMy_DomainX' [2003/06/20 08:15:18, 2] auth/auth.c:check_ntlm_password(295) check_ntlm_password: Authentication for user [] -> [] FAILED with error NT_STATUS_CANT_ACCESS_DOMAIN_INFO [2003/06/20 08:15:29, 2] smbd/server.c:exit_server(558) Closing connections [root@FS1 samba]# Ed Asbury Systems Admin/Programmer Vogele America, Inc.
robowarp@gmx.de
2003-Jun-20 15:19 UTC
[Samba] Error "Could not fetch trust account password" in Samba 3 Beta..what do I need to do?
Hi. i have exact the same problem with same logs, on suse 8.2 with samba compiled from scratch or using suse first rpm of the beta Regards Specifics samba-3.0.0beta1-1.i386.rpm on RedHat 9 and smbpasswd> authentication, the machine is the PDC and security is set for user. The > machine account was setup on the fly and it appears in passwd, shadow, and > smbpasswd files as it should. However it seemed to take a very long time > to > join the domain, about 1-1/2 minutes. I can browse the Samba PDC machine > and access the shares, etc. After joining the domain, the machine logging > in says it is "unable to locate a domain controller for domain > 'XMYDOMAINX'". I am using the same identical smb.conf that I used for > Samba3_alpha23 which worked fine. All of the mailing list archives > pointing > to this problem all seem to have to do with winbind and having another NT > PDC. This is NOT my case, there is no other PDC or domain. Is the > problem > my secrets.tdb file and how do I refresh or regenerate that? The log from > the joining of the machine to the domain and the first login attempt is > included (of course all of the X's are filled in with the appropriate > things), I have pointed out where things fail. Thanks in advance for any > help! > > [2003/06/20 08:06:57, 2] auth/auth.c:check_ntlm_password(288) > check_ntlm_password: authentication for user [XXXXXXXX] -> [XXXXXXXX] > -> > [XXXXXXXX] succeeded > [2003/06/20 08:06:57, 2] lib/access.c:check_access(325) > Allowed connection from (192.168.xxx.xxx) > [2003/06/20 08:06:57, 0] smbd/service.c:set_admin_user(314) > XXXXXXXX logged in as admin user (root privileges) > [2003/06/20 08:07:31, 2] smbd/sesssetup.c:setup_new_vc_session(504) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would close > all > old > resources. > [2003/06/20 08:07:31, 2] smbd/sesssetup.c:setup_new_vc_session(504) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would close > all > old > resources. > [2003/06/20 08:07:31, 2] auth/auth.c:check_ntlm_password(288) > check_ntlm_password: authentication for user [root] -> [root] -> [root] > succeeded > [2003/06/20 08:07:32, 2] lib/access.c:check_access(325) > Allowed connection from (192.168.xxx.xxx) > [2003/06/20 08:07:32, 0] smbd/service.c:set_admin_user(314) > root logged in as admin user (root privileges) > [2003/06/20 08:07:32, 2] > rpc_server/srv_samr_nt.c:_samr_lookup_domain(2513) > Returning domain sid for domain XMy_DomainX -> > S-X-X-XX-XXXXXXXXXX-XXXXXXXXX-XXXXXXXXXX > [2003/06/20 08:08:32, 0] auth/auth_domain.c:check_ntdomain_security(433) > check_ntdomain_security: could not fetch trust account password for > domain > 'XMy_DomainX' <<<<<<<<<<<<<<<<<<<<<<<<<<<------- > [2003/06/20 08:08:32, 2] auth/auth.c:check_ntlm_password(295) > check_ntlm_password: Authentication for user [] -> [] FAILED with error > NT_STATUS_CANT_ACCESS_DOMAIN_INFO <<<<<<<<<<<<<<<<<<<<<<<<<<------ > [2003/06/20 08:09:33, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:12:50, 2] smbd/sesssetup.c:setup_new_vc_session(504) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would close > all > old > resources. > [2003/06/20 08:12:50, 2] smbd/sesssetup.c:setup_new_vc_session(504) > setup_new_vc_session: New VC == 0, if NT4.x compatible we would close > all > old > resources. > [2003/06/20 08:12:50, 0] auth/auth_domain.c:check_ntdomain_security(433) > check_ntdomain_security: could not fetch trust account password for > domain > 'XMy_DomainX' > [2003/06/20 08:12:50, 2] auth/auth.c:check_ntlm_password(295) > check_ntlm_password: Authentication for user [] -> [] FAILED with error > NT_STATUS_CANT_ACCESS_DOMAIN_INFO > [2003/06/20 08:13:01, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:13:30, 0] auth/auth_domain.c:check_ntdomain_security(433) > check_ntdomain_security: could not fetch trust account password for > domain > 'XMy_DomainX' > [2003/06/20 08:13:30, 2] auth/auth.c:check_ntlm_password(295) > check_ntlm_password: Authentication for user [] -> [] FAILED with error > NT_STATUS_CANT_ACCESS_DOMAIN_INFO > [2003/06/20 08:13:36, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:13:44, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:13:44, 0] auth/auth_domain.c:check_ntdomain_security(433) > check_ntdomain_security: could not fetch trust account password for > domain > 'XMy_DomainX' > [2003/06/20 08:13:44, 2] auth/auth.c:check_ntlm_password(295) > check_ntlm_password: Authentication for user [] -> [] FAILED with error > NT_STATUS_CANT_ACCESS_DOMAIN_INFO > [2003/06/20 08:13:44, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:13:44, 2] auth/auth.c:check_ntlm_password(288) > check_ntlm_password: authentication for user [XXXXXXXX] -> [XXXXXXXX] > -> > [XXXXXXXX] succeeded > [2003/06/20 08:13:44, 2] lib/access.c:check_access(325) > Allowed connection from (192.168.xxx.xxx) > [2003/06/20 08:13:44, 0] smbd/service.c:set_admin_user(314) > XXXXXXXX logged in as admin user (root privileges) > [2003/06/20 08:13:44, 1] smbd/service.c:make_connection_snum(690) > My_Machine_Name (192.168.xxx.xxx) connect to service netlogon initially > as > user XXXXXXXX (uid=0, gid=500) (pid 5347) > [2003/06/20 08:14:59, 1] smbd/service.c:close_cnum(871) > My_Machine_Name (192.168.xxx.xxx) closed connection to service netlogon > [2003/06/20 08:14:59, 2] smbd/server.c:exit_server(558) > Closing connections > [2003/06/20 08:15:18, 0] auth/auth_domain.c:check_ntdomain_security(433) > check_ntdomain_security: could not fetch trust account password for > domain > 'XMy_DomainX' > [2003/06/20 08:15:18, 2] auth/auth.c:check_ntlm_password(295) > check_ntlm_password: Authentication for user [] -> [] FAILED with error > NT_STATUS_CANT_ACCESS_DOMAIN_INFO > [2003/06/20 08:15:29, 2] smbd/server.c:exit_server(558) > Closing connections > [root@FS1 samba]# > > Ed Asbury > Systems Admin/Programmer > Vogele America, Inc. > > -- > To unsubscribe from this list go to the following URL and read the > instructions: http://lists.samba.org/mailman/listinfo/samba >-- +++ GMX - Mail, Messaging & more http://www.gmx.net +++ Bitte l?cheln! Fotogalerie online mit GMX ohne eigene Homepage!