diff options
author | Volker Lendecke <vl@samba.org> | 2007-12-15 22:47:30 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2007-12-15 22:47:30 +0100 |
commit | 2e07c2ade89f4ff281c61f74cb88e09990cf5f46 (patch) | |
tree | a1fb43117e5b3966c8113d47c37a1bdf1e8ee30b /source3/utils/net.c | |
parent | 79cd97cc3f496f781d809c1ab619afa2cc07293d (diff) | |
download | samba-2e07c2ade89f4ff281c61f74cb88e09990cf5f46.tar.gz samba-2e07c2ade89f4ff281c61f74cb88e09990cf5f46.tar.bz2 samba-2e07c2ade89f4ff281c61f74cb88e09990cf5f46.zip |
s/sid_to_string/sid_to_fstring/
least surprise for callers
(This used to be commit eb523ba77697346a365589101aac379febecd546)
Diffstat (limited to 'source3/utils/net.c')
-rw-r--r-- | source3/utils/net.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/utils/net.c b/source3/utils/net.c index 8118ec4512..bf70d08d8b 100644 --- a/source3/utils/net.c +++ b/source3/utils/net.c @@ -665,7 +665,7 @@ static int net_getlocalsid(int argc, const char **argv) DEBUG(0, ("Can't fetch domain SID for name: %s\n", name)); return 1; } - sid_to_string(sid_str, &sid); + sid_to_fstring(sid_str, &sid); d_printf("SID for domain %s is: %s\n", name, sid_str); return 0; } @@ -743,7 +743,7 @@ static int net_getdomainsid(int argc, const char **argv) d_fprintf(stderr, "Could not fetch local SID\n"); return 1; } - sid_to_string(sid_str, &domain_sid); + sid_to_fstring(sid_str, &domain_sid); d_printf("SID for local machine %s is: %s\n", global_myname(), sid_str); if (!secrets_fetch_domain_sid(opt_workgroup, &domain_sid)) { @@ -751,7 +751,7 @@ static int net_getdomainsid(int argc, const char **argv) return 1; } - sid_to_string(sid_str, &domain_sid); + sid_to_fstring(sid_str, &domain_sid); d_printf("SID for domain %s is: %s\n", opt_workgroup, sid_str); return 0; |