Location: List Archives

List Archives

This forum is an archive of all posts to our mailing list over the past few years.  The forum is set read only therefore to contribute you will need to join our list community.  See more info about this here.

 

When subscribed to the list you should use your standard email client to send your posts to ActiveDir@mail.activedir.org.

List Archives

Subject: [ActiveDir]
Prev Next
You are not authorized to post a reply.

AuthorMessages
jjarava@xxxx.yyy

11/02/2006 5:38 AM  
Hi all!!

I've been stress-testing some utilities we use internally, specifically a
tool to "sync" users from AD to AD/AM (ok, not exactly sync; we just need a
user/computer object with the same names that those in AD). For the purpose,
I have created an OU in AD that I then filled with 1000000+ users (admod -sc
adau:1000000;SomePassword1;CN=.... a couple of times ).

The tool survived the beating, but now I want to delete the OU and the users
within, both in AD and ADAM. I thought that:

admod -b "OU_DN" -rm

Would do the trick but it complains that it can't delete a non-leaf
(otherwise understandable). ADUC and ADAM-ADSIEdit let me say "delete", but
they take in the order of ages (they are at it now). Users&Comp. seems to
hang, and ADSIEdit every now and then comes up with a message box saying:

---------------------------
ADAM-ADSIEdit
---------------------------
The tree deletion is not finished. The request must be made again to
continue deleting the tree.
---------------------------
OK
---------------------------

I click OK, select "delete" again on the OU, and on it goes...

My question is, I "know" that there has to be a better/quicker way to do
this that does not involve "listing" all objetct and piping them to admod?

Thanks a lot.

Javier Jarava

PS: For bonus "points", I seem to recall some post on joe's blog about
having "progress dots" in admod that show objetcts being modified.. But I
wasn't able to find the proper switch in the docs, so when I created 1000000
users I got 1000000 DNs shown on screen. So, what is the proper option to
say "don't print all progress, just a running % or something like that"??

Thanks a bunch again.

J

List info : http://www.activedir.org/List.aspx
List FAQ : http://www.activedir.org/ListFAQ.aspx
List archive: http://www.mail-archive.com/activedir@mail.activedir.org/
You are not authorized to post a reply.



ActiveForums 3.7
Friends

Friends

VisualClickButoton
Members

Members

MembershipMembership:
Latest New UserLatest:MrPTSai
New TodayNew Today:0
New YesterdayNew Yesterday:0
User CountOverall:5234

People OnlinePeople Online:
VisitorsVisitors:35
MembersMembers:0
TotalTotal:35

Online NowOnline Now:

Ads

Copyright 2009 ActiveDir.org
Terms Of Use