syntax for repadmin /showmeta

  • Thread starter Thread starter Chris
  • Start date Start date
C

Chris

Guest
I'm trying to use repadmin /showmeta or repadmin /showobjmeta with GUID for a
user account. I was able to run the command with DN for the user account.
Here is my syntax:
repadmin /showmeta GUID=D416D85C-D0D6-EC47-9189-13B83674F3C1 dc1.xxxx.com

with /showobjmeta the error is DSA object could not be found. Is my syntax
wrong? I found the GUID (objectGUID) via ADSI. Can someone help? It's not
deleted user account.

Thanks.
 
RE: syntax for repadmin /showmeta

I think I found the problem. The GUID I mentioned below was found via ADSI
as objectGUID. But it's in Hex string format. instead string formatted
GUID. I made the hex format look like string format. So, how to convert
hext GUID into sting GUID?

"Chris" wrote:

> I'm trying to use repadmin /showmeta or repadmin /showobjmeta with GUID for a
> user account. I was able to run the command with DN for the user account.
> Here is my syntax:
> repadmin /showmeta GUID=D416D85C-D0D6-EC47-9189-13B83674F3C1 dc1.xxxx.com
>
> with /showobjmeta the error is DSA object could not be found. Is my syntax
> wrong? I found the GUID (objectGUID) via ADSI. Can someone help? It's not
> deleted user account.
>
> Thanks.
 
RE: syntax for repadmin /showmeta

I found the right syntax and how to convert hex string GUID to string GUID.
First the syntax is:

repadmin /showmeta "<GUID=xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxxx>"
dc1.mycompany.com

My hex string GUID (got it from ADSI under objectGUID) is
D4 16 D8 5C D0 D6 EC 47 91 89 13 B8 36 74 F3 C1
to convert it you have reverse first 16 chars. So the string GUID will be
5cd816d4-d6d0-47ec-9189-13b83674f3c1

It works for repadmin /showmeta but the same syntax gives error for
/showobjmeta.

Can someone help?

Thanks.

"Chris" wrote:

> I think I found the problem. The GUID I mentioned below was found via ADSI
> as objectGUID. But it's in Hex string format. instead string formatted
> GUID. I made the hex format look like string format. So, how to convert
> hext GUID into sting GUID?
>
> "Chris" wrote:
>
> > I'm trying to use repadmin /showmeta or repadmin /showobjmeta with GUID for a
> > user account. I was able to run the command with DN for the user account.
> > Here is my syntax:
> > repadmin /showmeta GUID=D416D85C-D0D6-EC47-9189-13B83674F3C1 dc1.xxxx.com
> >
> > with /showobjmeta the error is DSA object could not be found. Is my syntax
> > wrong? I found the GUID (objectGUID) via ADSI. Can someone help? It's not
> > deleted user account.
> >
> > Thanks.
 
Back
Top