summaryrefslogtreecommitdiff
path: root/source3/rpcclient/rpcclient.c
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-11-15 22:43:08 +0000
committerLuke Leighton <lkcl@samba.org>1999-11-15 22:43:08 +0000
commit98ee99eb72e537c1a69317cc81305d728e40ab64 (patch)
treebdb62b16dca9c4d6871d6e3dba25fb99e2cff9ca /source3/rpcclient/rpcclient.c
parentb231d2fafaff8dc67ef2dbaec778f716524d4f6a (diff)
downloadsamba-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.c6
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!)",