"Failed to join domain: failed to lookup DC info for domain over rpc: Logon failure",

I’ve searched the forums and did not see this issue. All proper entries are in DNS on a private lan. Not sure what else to look for.

CommandException: Error running a command. cmd = /usr/bin/net ads join -U administrator. rc = 255. stdout = [“Enter administrator’s password:”, “Failed to join domain: failed to lookup DC info for domain ‘MSPORTEVENTS.DEV’ over rpc: Logon failure”, ‘’]. stderr = [’’]

Hi @dvanremortel,

I haven’t attempted to use AD on my own Rockstor install, however it appears that the password has not been specified (- U administrator should be -U administrator%password)

This is further evidenced by the content stdout being

Enter administrator's password:
Failed to join domain: failed to lookup DC info for domain ‘MSPORTEVENTS.DEV’ over rpc: Logon failure

It could also be an invalid password, and rockstor is simply omitting the password in the output.
I won’t be able to configure an AD server and rockstor VM to test this on at the moment, but for now I would start with password verification issues. Ensure the password is entered and correct. Also ensure that this host and the the AD host are time synchronized (as this plays hell with kerberos auth)

You might be able to try joining the domain from the terminal and see if that helps, however I’m unsure how that’ll play with the Rockstor integration.

1 Like

Thank you for the reply, IT WORKS … once I paid a bit more attention to NTP, DNS entries and so on. Its solid…

Big thanks dvr