diff options
author | Luke Leighton <lkcl@samba.org> | 1999-11-15 22:43:08 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-11-15 22:43:08 +0000 |
commit | 98ee99eb72e537c1a69317cc81305d728e40ab64 (patch) | |
tree | bdb62b16dca9c4d6871d6e3dba25fb99e2cff9ca /source3/rpcclient/rpcclient.c | |
parent | b231d2fafaff8dc67ef2dbaec778f716524d4f6a (diff) | |
download | samba-98ee99eb72e537c1a69317cc81305d728e40ab64.tar.gz samba-98ee99eb72e537c1a69317cc81305d728e40ab64.tar.bz2 samba-98ee99eb72e537c1a69317cc81305d728e40ab64.zip |
added rpcclient "enumdomains" command. enumerates names of domains
for which a PDC is responsible. typical answers are:
<Name of Domain> plus <Builtin>.
against a hierarchical, down-level-compatible NT5 PDC, there's likely to
be more than these two entries!!!!!
(This used to be commit 3146aa6b6049a0d996e9abbe7dbee8526550e7e0)
Diffstat (limited to 'source3/rpcclient/rpcclient.c')
-rw-r--r-- | source3/rpcclient/rpcclient.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c index 06e6d0c089..f359045bae 100644 --- a/source3/rpcclient/rpcclient.c +++ b/source3/rpcclient/rpcclient.c @@ -484,6 +484,12 @@ commands[] = {COMPL_NONE, COMPL_NONE} }, { + "enumdomains", + cmd_sam_enum_domains, + "SAM Domains Database Query (experimental!)", + {COMPL_NONE, COMPL_NONE} + }, + { "enumgroups", cmd_sam_enum_groups, "SAM Group Database Query (experimental!)", |