Please don't get me wrong, I find REPADMIN extremely useful, but sometimes I wish the help syntax were a little clearer. Possibly this is because this single command can do so many things!
For example, with regard to syntax below, I didn't realize that /subtree and /filter had to be used together. I was about to write that I could not get it to enumerate users either, but then realized I forgot the filter, so thanks for pointing that out! Sometimes it's hard to distinguish from the help syntax when a parameter is required or optional. Is this just me? When it requires an argument, I'm usually pretty clear on that. -DaveC Reuters IS&T Service Delivery -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Dean Wells Sent: Monday, August 15, 2005 11:30 AM To: Send - AD mailing list Subject: RE: [ActiveDir] user dump For example - repadmin /viewlist odyssey.mset.local ncobj:domain: /subtree /filter:"(objectcategory=person)" -- Dean Wells MSEtechnology * Email: [EMAIL PROTECTED] http://msetechnology.com -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Medeiros, Jose Sent: Monday, August 15, 2005 11:16 AM To: [email protected] Subject: RE: [ActiveDir] user dump Hi Bryan, I checked Repadmin and could not find the switch for a dump of the account list. What is the corect syntax? --------------------------------------------------- RepAdmin syntax Open command prompt now. repadmin command arguments [/u:[domain\]user /pw:{password|*}] Parameters command Represents one of the commands listed below. arguments Specifies the arguments applying to command. /u:[domain\]user Specifies an optional user (from an optional domain) as the administrator. If the user name and password are not specified, RepAdmin uses the credentials of the currently logged-on user. /pw:{password|*} Specifies the password of the user specified by the /u: switch. If the user name and password are not specified, RepAdmin uses the credentials of the currently logged-on user. Commands and arguments These are the commands supported by RepAdmin, followed by the arguments for each one. /sync Naming_Context Destination_DSA Source_DSA_UUID [/force] [/async] [/full] [/addref] [/allsources] Starts a replication event for the specified naming context between the source and destination domain controllers. The source DSA UUID can be determined when viewing the replication partners with the repadmin /showreps command. /force Overrides the normal replication schedule. /async Starts the replication event, but RepAdmin does not wait for the replication event to complete. /full Forces a full replication of all objects from the destination DSA. /syncall Destination_DSA [Naming_Context] [Flags] /kcc [DSA] [/async] /async RepAdmin does not wait for the replication event to complete. /bind [DSA] /propcheck Naming_Context Originating_DSA_Invocation_ID Originating_USN [DSA_from_which_to_enumerate_host_DSAs] /getchanges Naming_Context [Source_DSA] [/cookie:file] - Or - /getchanges Naming_Context [Destination_DSA] Source_DSA_UUID [/verbose] [/statistics] /showreps [Naming_Context] [DSA [Source_DSA_UUID]] [/verbose] [/unreplicated] [/nocache] Displays the replication partners (RepsFrom and RepsTo) for each naming context that is held on the specified domain controller. Enumerating each RepsFrom and each RepsTo for each domain controller can help the administrator to visualize the replication topology for each naming context. The output also indicates whether the domain controller is also a Global Catalog server. /showvector Naming_Context [DSA] [/nocache] Displays the up-to-datedness information for a specified naming context. This vector indicates how up to date a replica is with its replication partners. /showmeta Object_DN [DSA] [/nocache] Displays the replication metadata for any object stored in Active Directory such as attribute ID, version number, originating and local Update Sequence Number (USN), and originating DSA's GUID and date/time stamp. By comparing the replication metadata for the same object on different domain controllers, an administrator can determine whether replication has taken place. /showtime [Windows_2000_Directory_Service_Time_Value] With no arguments displays the current system time in both the directory service format and string format. The string format displays both the local and UTC time zones. Alternatively, Showtime accepts a directory service time value and converts it to string format for both the local and the UTC time zones. /showmsg Win32_error_number Takes as an argument the Win32 error number and displays the Win32 error text. /showism [Transport_DN] [/verbose] Must be executed locally. /showsig [DSA] /showconn [DSA] [{Container_DN | DSA_UUID}] Default is local site. /showcert [DSA] /showctx [DSA] [/nocache] /queue [DSA] /failcache [DSA] Terminology In the command and argument listings, these terms are used: Naming_Context Refers to the naming contexts that are held on a domain controller, namely: the three read/write naming contexts domain, schema and configuration; and the optional read-only naming context, the Global Catalog. A naming context is specified by the distinguished name of its root, for example, DC=MyDomain,DC=Microsoft,DC=Com. DSA Directory System Agent. Refers to the name of a domain controller, for example, Server1. UUID Universally Unique Identifier. Refers to the 128-bit number used to identify objects stored in the directory, for example, fa1a9e6e-2e14-11d2-aa9b-bbfc0a30094c. DN X.500 distinguished name, for example, CN=Server1,CN=First Site,CN=Configuration,DC=Microsoft,DC=Com. Replication Diagnostics Tool (Repadmin.exe) RepAdmin examples -------------------------------------------------------------- -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of Brian Desmond Sent: Sunday, August 14, 2005 9:11 PM To: [email protected] Subject: RE: [ActiveDir] user dump Check out repadmin /viewlist - repadmin /listhelp should show you how to do it. Thanks, Brian Desmond [EMAIL PROTECTED] c - 312.731.3132 > Repadmin ..uhmm really? :) > > Thank you and have a splendid day! > > Kind Regards, > > Freddy Hartono > Windows Administrator (ADSM/NT Security) Spherion Technology Group, > Singapore For Agilent Technologies > E-mail: [EMAIL PROTECTED] > > > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Brett Shirley > Sent: Thursday, August 11, 2005 11:20 AM > To: [email protected] > Subject: Re: [ActiveDir] user dump > > And repadmin. > > BrettSh > > On Wed, 10 Aug 2005, Phil Renouf wrote: > > > dsquery/dsget will do the trick as well. > > > > Phil > > > > On 8/10/05, Coleman, Hunter <[EMAIL PROTECTED]> wrote: > > > ADFind: http://www.joeware.net/win/free/tools/adfind.htm > > > > > > Example 6 from the command line help (adfind.exe /?) should be a > > > good starting point for you. > > > > > > -----Original Message----- > > > From: [EMAIL PROTECTED] > > > [mailto:[EMAIL PROTECTED] On Behalf Of Freddie Coleman > > > III > > > Sent: Wednesday, August 10, 2005 8:19 PM > > > To: [email protected] > > > Subject: [ActiveDir] user dump > > > > > > > > > > > > how can i dump a list of all of my ad users? > > > List info : http://www.activedir.org/List.aspx > > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > > List archive: > > > http://www.mail-archive.com/activedir%40mail.activedir.org/ > > > List info : http://www.activedir.org/List.aspx > > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > > List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > > > > > List info : http://www.activedir.org/List.aspx > > List FAQ : http://www.activedir.org/ListFAQ.aspx > > List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ > > > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: > http://www.mail-archive.com/activedir%40mail.activedir.org/ > > List info : http://www.activedir.org/List.aspx > List FAQ : http://www.activedir.org/ListFAQ.aspx > List archive: > http://www.mail-archive.com/activedir%40mail.activedir.org/ > List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/ ----------------------------------------------------------------- Visit our Internet site at http://www.reuters.com To find out more about Reuters Products and Services visit http://www.reuters.com/productinfo Any views expressed in this message are those of the individual sender, except where the sender specifically states them to be the views of Reuters Ltd. List info : http://www.activedir.org/List.aspx List FAQ : http://www.activedir.org/ListFAQ.aspx List archive: http://www.mail-archive.com/activedir%40mail.activedir.org/
