We help IT Professionals succeed at work.

AD Commands

1,101 Views
Last Modified: 2012-05-11
Im trying to run the ad command
repadmin /showattr * "cn=schema,cn=configuration,dc=domainname,dc=local /atts objectVersion

What do I fill in for the values of dc=domainname and dc=local?
When I try this I keep getting the error LDAP error no such object. so something is wrong with the commands Im typing. I also tried without " " in the command prompt.
Comment
Watch Question

if your domain name is say simple.local you would do dc=simple,dc=local

Author

Commented:
Thats exactly what Im doing and I get the error:ladap error 10<0xa>: refferal - basically its saying im typing in something wrong

Author

Commented:
Error: An LDAP lookup operation failed with the following error:

    LDAP Error 32(0x20): No Such Object
    Server Win32 Error 8333(0x208d): Directory object not found.
    Extended Information: 0000208D: NameErr: DSID-031001CD, problem 2001 (NO_OBJECT), data 0, best match of:
        'CN=Schema,CN=Configuration,DC=simple,DC=local'
Remember that the schema partition is part of the root domain.

Is this is single domain forest ?
CERTIFIED EXPERT
Top Expert 2013

Commented:
just out of curiosity are you trying to verify an adprep?

Thanks

Mike

Author

Commented:
yes its a single domain in single forest.

yes im trying to verify adprep. I ran the adprep32.exe and it completed successfully but now need ot verify. (I used the 2008 32bit cd but forgot to use R2) so I need to rerun it anyway.
CERTIFIED EXPERT
Top Expert 2013
Commented:
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION
Unlock this solution and get a sample of our free trial.
(No credit card required)
UNLOCK SOLUTION

Author

Commented:
http://www.windowsnetworking.com/kbase/WindowsTips/Windows2003/AdminTips/Migration/VerifyingAdprep.html

mine shows schema version 44 but dont I need it to be 47 for 2008 R2? Did I do something wrong in the adprep. I only ran the command adprep /forestprep I didnt do the domainprep yet.
Rerunning the ADPREP /forestprep and domainprep won't hurt. Yes you do need to be on 47.
CERTIFIED EXPERT
Top Expert 2013

Commented:
Is you current DC 32 bit or 64 bit.

Just want to make sure you used the correct adprep version...and it has to be from the 2008 R2 media.  I saw you mentioned adprep32 above.

Thanks

Mike

Author

Commented:
I ran the adprep from a 2008 32bit cd, it probably wasnt R2. Any idea where I can download a 2008 32bit R2 cd?

Author

Commented:
I ran that cd from on a 2003 server 32 bit, all my dcs are currently 2003 32 bit and I'm trying to migrate to 2008 64bit R2.

Author

Commented:
These were the 2 solutions I followed, with the links included. thanks.
CERTIFIED EXPERT
Top Expert 2013

Commented:
Thanks for the points; just to close the loop see the attached screenshot of what you were trying to do originally.

I like the methods we provided better for this but the repadmin command does work...you were close on yours.

Thanks

Mike
repadmin-showattr.jpg
Unlock the solution to this question.
Thanks for using Experts Exchange.

Please provide your email to receive a sample view!

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.