diff options
Diffstat (limited to 'source3/nsswitch')
-rw-r--r-- | source3/nsswitch/wb_client.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index b3392ed68a..ce5e8ef1d0 100644 --- a/source3/nsswitch/wb_client.c +++ b/source3/nsswitch/wb_client.c @@ -75,7 +75,7 @@ bool winbind_lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, ZERO_STRUCT(request); ZERO_STRUCT(response); - fstrcpy(request.data.sid, sid_string_static(sid)); + sid_to_string(request.data.sid, sid); /* Make request */ @@ -134,7 +134,7 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx, ZERO_STRUCT(request); ZERO_STRUCT(response); - fstrcpy(request.data.sid, sid_string_static(domain_sid)); + sid_to_string(request.data.sid, domain_sid); len = 0; buflen = 0; |