Avatar of tech_ci_sherbe
tech_ci_sherbe

asked on 

How to join windows domain AD with Ubuntu and Open Likewise

Hello,

I have a windows 2003 server and I need to make Ubuntu join this windows domain so that the users in the active directory can log onto Ubuntu.

I've tried to use Open likewise 5.0. The installation goes well but when I do this command :
/opt/Likewise/Bin/domainjoin-cli --loglevel verbose --log /tmp/loglikewise join mydomain.ca administrator

It asks me for the administrator password and then nothing, no error, it just waits for something.  From what I can see in the log file, the only two lines that shows an error are these :
INFO : Failed to run lwinet ads trusts. This is expected if not yet joined to the domain
INFO: Failed to run lwiinfo --details -m. This is expected if the auth daemon is not running.

I also get a pre-authentication error in my windows 2003 server under the event viewer of Security :
Pre-authentication failed:
       User Name:      Administrator
       User ID:            MYDOMAIN\administrator
       Service Name:      krbtgt/mydomain.ca
       Pre-Authentication Type:      0x0
       Failure Code:      0x19
From what I read the failure code is as follow:
0x19      Preauthentication error      The client did not send preauthentication, or did not send the appropriate type of preauthentication, to receive a ticket. The client will retry with the appropriate kind of preauthentication (the KDC returns the preauthentication type in the error).

I can ping and do a nslookup to my domain. I configured the NTP and did all the tests that Likewise documentation proposed and they all worked. Any ideas or maybe any idea on how to do it simpler ?

Thanks for your time

Linux DistributionsLinux Networking

Avatar of undefined
Last Comment
Fabio Marzocca

8/22/2022 - Mon