Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1022
  • Last Modified:

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.
0
tolinrome
Asked:
tolinrome
  • 7
  • 4
  • 4
  • +1
2 Solutions
 
perfectpcCommented:
if your domain name is say simple.local you would do dc=simple,dc=local
0
 
tolinromeAuthor Commented:
Thats exactly what Im doing and I get the error:ladap error 10<0xa>: refferal - basically its saying im typing in something wrong

0
 
tolinromeAuthor 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'
0
What does it mean to be "Always On"?

Is your cloud always on? With an Always On cloud you won't have to worry about downtime for maintenance or software application code updates, ensuring that your bottom line isn't affected.

 
RickSheikhCommented:
Remember that the schema partition is part of the root domain.

Is this is single domain forest ?
0
 
Mike KlineCommented:
just out of curiosity are you trying to verify an adprep?

Thanks

Mike
0
 
tolinromeAuthor 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.
0
 
Mike KlineCommented:
I'll take a screenshot from my lab later of your command, in the meantime

You can verify using these steps  http://technet.microsoft.com/en-us/library/dd464018(WS.10).aspx#BKMK_VerifyForestPrep

or a great tool called adfind http://www.joeware.net/freetools/tools/adfind/index.htm

adfind -sc schver

Thanks

Mike
0
 
tolinromeAuthor 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.
0
 
RickSheikhCommented:
Rerunning the ADPREP /forestprep and domainprep won't hurt. Yes you do need to be on 47.
0
 
Mike KlineCommented:
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
0
 
tolinromeAuthor 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?
0
 
tolinromeAuthor 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.
0
 
tolinromeAuthor Commented:
These were the 2 solutions I followed, with the links included. thanks.
0
 
Mike KlineCommented:
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
0

Featured Post

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

  • 7
  • 4
  • 4
  • +1
Tackle projects and never again get stuck behind a technical roadblock.
Join Now