Joining linux in windows ActiveDirectory

Solution Verified - Updated -


  • I am attempting to join SAMBA server to a winodws 2003 domain. I get the following error. Any help is always apreciated.

    # kinit admin@AD.EXAMPLE.COM
    Password for admin@AD.EXAMPLE.COM:
    # net rpc join -S AD.EXAMPLE.COM -U admin%xxxxxxx
    [2010/07/28 20:11:24, 0] utils/net_rpc_join.c:net_rpc_join_newstyle(367)
      Error in domain join verification (credential setup failed): NT_STATUS_INVALID_COMPUTER_NAME
    Unable to join domain ADDOMAIN.


  • Red Hat Enterprise Linux 5.4
  • samba-3.0.33-3.15.el5_4
  • linux server hostname:

  • ActiveDirecotry Domain name:

  • ActiveDirecotry NetBIOS name: ADDOMAIN
  • ActiveDirecotry DC
  • ActiveDirectory DC OS:Windows2003 Server

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