Samba: Failed to join domain: failed to lookup DC info for domain 'EXAMPLE.COM' over rpc: Access denied

Solution Verified - Updated -

Issue

  • Samba: Failed to join domain: failed to lookup DC info for domain 'EXAMPLE.COM' over rpc: Access denied
  • net ads join failing with below error.
Substituting charset 'UTF-8' for LOCALE
cli_negprot: SMB signing is mandatory and the server doesn't support it.
failed negprot: NT_STATUS_ACCESS_DENIED
libnet_Join:
    libnet_JoinCtx: struct libnet_JoinCtx
        out: struct libnet_JoinCtx
            account_name             : NULL
            netbios_domain_name      : NULL
            dns_domain_name          : NULL
            forest_name              : NULL
            dn                       : NULL
            domain_sid               : NULL
                domain_sid               : (NULL SID)
            modified_config          : 0x00 (0)
            error_string             : 'failed to lookup DC info for domain 'EXAMPLE.COM' over rpc: Access denied'
            domain_is_ad             : 0x00 (0)
            result                   : WERR_ACCESS_DENIED
lang_tdb_init: /usr/lib64/samba/de_DE.UTF-8.msg: File or directory not found
Failed to join domain: failed to lookup DC info for domain 'EXAMPLE.COM' over rpc: Access denied
return code = -1

Environment

  • Red Hat Enterprise Linux 6
  • Red Hat Enterprise Linux 7
  • Samba

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content