I have installed likewise-open
, but when I add an Ubuntu machine (10.10) to a domain, I am getting the following error:
Leaving AD Domain: XXX.XX.XXX`
Error: Lsass Error [code 0x00080047]
1387 (0x56B) ERROR_NO_SUCH_MEMBER - Unknown error
Can someone sort this out?
Likewise-open shows me as being connected to domain. But how do I verify this?
- AD is managed by a Windows 2003 server.
I tried red's answer but it didn't work.
root@karthick:~# domainjoin-cli join XXX.XX.COM xxxxxxx
Joining to AD Domain: XXX.XX.COM
With Computer DNS Name: karthick.xxx.xx.com
[email protected]'s password:
Error: Lsass Error [code 0x00080047]
31 (0x1F) ERROR_GEN_FAILURE - Unknown error
- Likewise-open Gui is already installed, but I am not able to leave the domain and re-join.
- See the following screen shot:
I searched google and i came up with this. Is that a problem? Or can anyone help me to debug the cause?
I'm not sure, but you also need to edit
/etc/nsswitch.conf
and change "host
" line like this:At least, it helped me
Have you checked the DC to see if the computer object already exists? If it does - delete it - then try to rejoin. If you have more problems you can try running the following command listed below to get some more verbose logging:
After searching a lot, i just find the way myself. The steps i have followed in ubuntu 10.10 to join windows domain are as follows,
Configure nsswitch file:
Open the terminal and type the following,
sudo editor /etc/nsswitch
Search for the line that says
hosts: files mdns4_minimal [NOTFOUND=return] dns mdns4
Put # infront of that line and add a new line
hosts: files dns
So that the file will look like
Also edit the following file,
sudo editor /etc/centrifydc/group.ignore
You need to add the group “admin” (no quotes) to this list. If you do not do this your sudo users will not longer have sudo privileges. Without sudo privileges your users will not be able to install applications or run anything that needs administrative permissions. Once you have configured that file, save it. You are now ready to join the domain.
Now its time to join the domain. Type the following in your terminal,
sudo adjoin -w DOMAIN -u USERNAME
You will get the following confirmation.
One way to check if domain works as should, is to get someone to log into your PC with his domain credentials. This should create a new user and let him in. I had the same username locally, as the one I had in domain I joined, and it didn't work well. I had to rename my old account and then log in from the login screen with the domain credentials to get the correct user priviledges etc. associated with my Ubuntu account.
Edit:
I see you're attempting to join the domain from the command line. When I install Likewise Open, a window pops up with an easy to use GUI for joining the Domain. Have you attempted to join the domain using it instead of the CLI? In your case, clicking Leave Domain should bring it up. If not, you could try reinstalling the package and waiting a minute to see if the Wizard pops up.
As one final tweak, I've found out on few occasions that I have needed to add the Domain machine into the /etc/hosts file of my workstation, in order for the joining to work.
I replaced our actual domain name with "ourdomain" in the example above.
I was getting the same issue while adding Ubuntu Machine into Windows Domain 2012 R2.
Steps I did after successfully installed LikeWise to Join.
To
Error:
Solutions:
To Remove Ubuntu from Domain:
Thanks !