[Samba] failed to lookup DC info for domain 'xxx.com' over rpc

galactic-ac berk0081 at umn.edu
Wed Oct 8 16:55:05 GMT 2008




francis thaon wrote:
> 
> Any idea why we get such error message when trying to net ads join ?
> 
> kinit is working just fine but net ads join is failing
> 

I've had similar results, and will try to provide a little more
information...

Samba 3.2.3 on Fedora 9
Domain controller is win2k3

net ads info -Uadmin successfully returns information about the domain
controller.
net ads status -Uadmin successfully returns information about the client
machine, and the computer location in the OU

The admin account password is accepted if correct, and will fail if
incorrect.

This is debug level 1 output for the net ads join:

[root at localhost ~]# net ads join  -U Admin at AD.XXX.XXX -d1
Enter Admin at AD.XXX.XXX's password:
[2008/10/08 11:52:29,  1] libnet/libnet_join.c:libnet_Join(1724)
  libnet_Join:
      libnet_JoinCtx: struct libnet_JoinCtx
          in: struct libnet_JoinCtx
              dc_name                  : NULL
              machine_name             : '433CENTOS'
              domain_name              : *
                  domain_name              : 'AD.XXX.XXX'
              account_ou               : NULL
              admin_account            : 'Admin at AD.XXX.XXX'
              admin_password           : *
              machine_password         : NULL
              join_flags               : 0x00000023 (35)
                     0: WKSSVC_JOIN_FLAGS_JOIN_WITH_NEW_NAME
                     0: WKSSVC_JOIN_FLAGS_JOIN_DC_ACCOUNT
                     0: WKSSVC_JOIN_FLAGS_DEFER_SPN
                     0: WKSSVC_JOIN_FLAGS_MACHINE_PWD_PASSED
                     0: WKSSVC_JOIN_FLAGS_JOIN_UNSECURE
                     1: WKSSVC_JOIN_FLAGS_DOMAIN_JOIN_IF_JOINED
                     0: WKSSVC_JOIN_FLAGS_WIN9X_UPGRADE
                     0: WKSSVC_JOIN_FLAGS_ACCOUNT_DELETE
                     1: WKSSVC_JOIN_FLAGS_ACCOUNT_CREATE
                     1: WKSSVC_JOIN_FLAGS_JOIN_TYPE
              os_version               : NULL
              os_name                  : NULL
              create_upn               : 0x00 (0)
              upn                      : NULL
              modify_config            : 0x00 (0)
              ads                      : NULL
              debug                    : 0x01 (1)
              secure_channel_type      : SEC_CHAN_WKSTA (2)
[2008/10/08 11:52:29,  1] libsmb/cliconnect.c:cli_full_connection(1723)
  failed session setup with NT_STATUS_LOGON_FAILURE
[2008/10/08 11:52:29,  1] libnet/libnet_join.c:libnet_Join(1752)
  libnet_Join:
      libnet_JoinCtx: struct libnet_JoinCtx
          out: struct libnet_JoinCtx
              account_name             : NULL
              netbios_domain_name      : NULL
              dns_domain_name          : NULL
              dn                       : NULL
              domain_sid               : NULL
                  domain_sid               : (NULL SID)
              modified_config          : 0x00 (0)
              error_string             : 'failed to lookup DC info for
domain 'AD.XXX.XXX' over rpc: Logon failure'
              domain_is_ad             : 0x00 (0)
              result                   : WERR_LOGON_FAILURE
Failed to join domain: failed to lookup DC info for domain 'AD.XXX.XXX' over
rpc: Logon failure


-- 
View this message in context: http://www.nabble.com/failed-to-lookup-DC-info-for-domain-%27xxx.com%27-over-rpc-tp19851971p19882981.html
Sent from the Samba - General mailing list archive at Nabble.com.



More information about the samba mailing list