From 2e07c2ade89f4ff281c61f74cb88e09990cf5f46 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 15 Dec 2007 22:47:30 +0100 Subject: s/sid_to_string/sid_to_fstring/ least surprise for callers (This used to be commit eb523ba77697346a365589101aac379febecd546) --- source3/nsswitch/wb_client.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/nsswitch') diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c index ce5e8ef1d0..d24bba2fe1 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); - sid_to_string(request.data.sid, sid); + sid_to_fstring(request.data.sid, sid); /* Make request */ @@ -134,7 +134,7 @@ bool winbind_lookup_rids(TALLOC_CTX *mem_ctx, ZERO_STRUCT(request); ZERO_STRUCT(response); - sid_to_string(request.data.sid, domain_sid); + sid_to_fstring(request.data.sid, domain_sid); len = 0; buflen = 0; @@ -238,7 +238,7 @@ bool winbind_sid_to_uid(uid_t *puid, const DOM_SID *sid) ZERO_STRUCT(request); ZERO_STRUCT(response); - sid_to_string(sid_str, sid); + sid_to_fstring(sid_str, sid); fstrcpy(request.data.sid, sid_str); /* Make request */ @@ -305,7 +305,7 @@ bool winbind_sid_to_gid(gid_t *pgid, const DOM_SID *sid) ZERO_STRUCT(request); ZERO_STRUCT(response); - sid_to_string(sid_str, sid); + sid_to_fstring(sid_str, sid); fstrcpy(request.data.sid, sid_str); /* Make request */ @@ -470,7 +470,7 @@ bool winbind_set_mapping(const struct id_map *map) request.data.dual_idmapset.id = map->xid.id; request.data.dual_idmapset.type = map->xid.type; - sid_to_string(request.data.dual_idmapset.sid, map->sid); + sid_to_fstring(request.data.dual_idmapset.sid, map->sid); result = winbindd_request_response(WINBINDD_SET_MAPPING, &request, &response); -- cgit