Why would you want to add a uBuntu client to a Windows Active Directory Domain? I got to this point because I was unable to resolve by uBuntu servers by name.
ping beans Ping request could not find host beans. Please check the name and try again.
Well, I never completely solved this problem, but I did work around it by adding my uBuntu servers to my domain. Then, although I still cannot resolve beans, I can now ping beans.mydomain.internal. And, it was really easy to do with a neat piece of OSS called Likewise Open.
sudo apt-get update sudo apt-get install likewise-open sudo domainjoin-cli join mydomain.internal Administrator sudo update-rc.d likewise-open defaults sudo /etc/init.d/likewise-open start
Where mydomain.internal is the domain you want to add the computer too, and Administrator is the user who has the rights to add a computer to the domain.
I rebooted at this point, but I’m told it’s not necessary to do so.
H:\>ping beans.mydomain.internal Pinging beans.mydomain.internal [192.168.0.30] Reply from 192.168.0.30: bytes=32 time<1ms TTL=64 Reply from 192.168.0.30: bytes=32 time<1ms TTL=64 Reply from 192.168.0.30: bytes=32 time<1ms TTL=64 Reply from 192.168.0.30: bytes=32 time<1ms TTL=64
It works!