summaryrefslogtreecommitdiff
path: root/source3/rpcclient
diff options
context:
space:
mode:
authorMatthew Chapman <matty@samba.org>1999-02-24 01:58:08 +0000
committerMatthew Chapman <matty@samba.org>1999-02-24 01:58:08 +0000
commit7f88bf771a5e9dd5d55a7047a208ebc01906d11a (patch)
tree018cc1eaf2d4f372ea623ce281838c8da215de63 /source3/rpcclient
parent05f772b431f9c77a2fb37736fc4f801d84cac365 (diff)
downloadsamba-7f88bf771a5e9dd5d55a7047a208ebc01906d11a.tar.gz
samba-7f88bf771a5e9dd5d55a7047a208ebc01906d11a.tar.bz2
samba-7f88bf771a5e9dd5d55a7047a208ebc01906d11a.zip
Added "lookupdomain" rpcclient command. Not particularly useful currently
(you can do "lookupdomain MYDOMAIN" and "lookupdomain BUILTIN" and the results won't be too surprising), but it will come in useful testing the new password database code I'm working on. (This used to be commit d1cc33bcb61305cc9a6e21886237fa291eda9427)
Diffstat (limited to 'source3/rpcclient')
-rw-r--r--source3/rpcclient/rpcclient.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/rpcclient/rpcclient.c b/source3/rpcclient/rpcclient.c
index c0ff8526f1..0b418b8c53 100644
--- a/source3/rpcclient/rpcclient.c
+++ b/source3/rpcclient/rpcclient.c
@@ -125,6 +125,7 @@ struct
{"lsaquery", cmd_lsa_query_info, "Query Info Policy (domain member or server)"},
{"lookupsids", cmd_lsa_lookup_sids, "Resolve names from SIDs"},
{"lookupnames",cmd_lsa_lookup_names, "Resolve SIDs from names"},
+ {"lookupdomain",cmd_sam_lookup_domain, "Obtain SID for a local domain"},
{"enumusers", cmd_sam_enum_users, "SAM User Database Query (experimental!)"},
{"addgroupmem",cmd_sam_add_groupmem,"<group rid> [member rid1] [member rid2] ... SAM Add Domain Group Member"},
{"addaliasmem",cmd_sam_add_aliasmem,"<alias rid> [member sid1] [member sid2] ... SAM Add Domain Alias Member"},