diff options
author | Andrew Bartlett <abartlet@samba.org> | 2003-04-21 17:26:37 +0000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2003-04-21 17:26:37 +0000 |
commit | 715bd4cf4e2d9d11db031ef3ed5e614b4c1a8a13 (patch) | |
tree | 17deb50e46849c58f479b0db3c883c318fc68265 /source/utils | |
parent | f0dc3e6da89728259ed5e10cb7f9193c711f65fc (diff) | |
download | samba-715bd4cf4e2d9d11db031ef3ed5e614b4c1a8a13.tar.gz |
Use the -W domain option to select the SID to show
Diffstat (limited to 'source/utils')
-rw-r--r-- | source/utils/net.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/utils/net.c b/source/utils/net.c index b404bac5952..aa245a920a7 100644 --- a/source/utils/net.c +++ b/source/utils/net.c @@ -425,13 +425,13 @@ static int net_getdomainsid(int argc, const char **argv) sid_to_string(sid_str, &domain_sid); d_printf("SID for domain %s is: %s\n", global_myname(), sid_str); - if (!secrets_fetch_domain_sid(lp_workgroup(), &domain_sid)) { + if (!secrets_fetch_domain_sid(opt_workgroup, &domain_sid)) { d_printf("Could not fetch domain SID\n"); return 1; } sid_to_string(sid_str, &domain_sid); - d_printf("SID for domain %s is: %s\n", lp_workgroup(), sid_str); + d_printf("SID for domain %s is: %s\n", opt_workgroup, sid_str); return 0; } |