VMware Cloud Community
PhilipC
Contributor
Contributor

Can't leave Active Directory : " ERROR_MEMBER_NOT_IN_GROUP"

We have a badly broken domain environment and I must get out vcenter out of it to join another domain.

I was getting an error "[1321]" when attempting it from the GUI, so i attempted to leave the domain from the shell using  "/opt/likewise/bin/domainjoin-cli leave

I get the following error instead:  Error: ERROR_MEMBER_NOT_IN_GROUP [code 0x00000529]

Any ideas?

0 Kudos
1 Reply
PhilipC
Contributor
Contributor

Some additional details:

vcenter version: 6.7.0.50000

build number: 18485166

 

here are the last few lines in the verbose log:

20211006161859:INFO:Writing krb5 file /tmp/likewisetmppw9mZe/etc/krb5.conf
20211006161859:INFO:File /tmp/likewisetmppw9mZe/etc/krb5.conf unmodified
20211006161859:INFO:Finishing krb5.conf configuration
Leaving AD Domain: OFFICE.BNMC.NET
20211006161859:INFO:Running module leave

Error: ERROR_MEMBER_NOT_IN_GROUP [code 0x00000529]


20211006161859:ERROR:ERROR_MEMBER_NOT_IN_GROUP [ERROR_MEMBER_NOT_IN_GROUP]


Stack Trace:
../domainjoin/domainjoin-cli/src/main.c:971
../domainjoin/domainjoin-cli/src/main.c:690
../domainjoin/libdomainjoin/src/djmodule.c:344
../domainjoin/libdomainjoin/src/djauthinfo.c:840
../domainjoin/libdomainjoin/src/djauthinfo.c:1281

 

0 Kudos