Link to home
Start Free TrialLog in
Avatar of tolinrome
tolinromeFlag for United States of America

asked on

AD Commands

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.
Avatar of perfectpc
perfectpc

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

ASKER

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

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 ?
Avatar of Mike Kline
just out of curiosity are you trying to verify an adprep?

Thanks

Mike
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.
SOLUTION
Avatar of Mike Kline
Mike Kline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
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.
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
I ran the adprep from a 2008 32bit cd, it probably wasnt R2. Any idea where I can download a 2008 32bit R2 cd?
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.
These were the 2 solutions I followed, with the links included. thanks.
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