summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2000-10-05 03:14:28 +0000
committerTim Potter <tpot@samba.org>2000-10-05 03:14:28 +0000
commit46fa3590a8ce66a69e86abddbe24f8cc985304a9 (patch)
tree72e9d82b2c0df90809f6206e628ac15581ca67ef /source3/nsswitch
parent4248374c84a3564de3c2cc728612b73ba72e2443 (diff)
downloadsamba-46fa3590a8ce66a69e86abddbe24f8cc985304a9.tar.gz
samba-46fa3590a8ce66a69e86abddbe24f8cc985304a9.tar.bz2
samba-46fa3590a8ce66a69e86abddbe24f8cc985304a9.zip
Fixed compiler warnings.
(This used to be commit ec7f7e350dc1dfa757436cb0efe777c3e0719877)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/wb_client.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 8c62b3124f..f122512c13 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -328,9 +328,10 @@ BOOL sid_to_uid(DOM_SID *psid, uid_t *puid, enum SID_NAME_USE *sidtype)
*/
if (!winbind_lookup_sid(psid, dom_name, name, &name_type)) {
- fstring sid_str;
+ fstring sid_str2;
+
DEBUG(10,("sid_to_uid: winbind lookup for sid %s failed - trying local.\n",
- sid_to_string(sid_str, psid) ));
+ sid_to_string(sid_str2, psid) ));
return local_sid_to_uid(puid, psid, sidtype);
}
@@ -379,9 +380,10 @@ BOOL sid_to_gid(DOM_SID *psid, gid_t *pgid, enum SID_NAME_USE *sidtype)
*/
if (!winbind_lookup_sid(psid, dom_name, name, &name_type)) {
- fstring sid_str;
+ fstring sid_str2;
+
DEBUG(10,("sid_to_gid: winbind lookup for sid %s failed - trying local.\n",
- sid_to_string(sid_str, psid) ));
+ sid_to_string(sid_str2, psid) ));
return local_sid_to_gid(pgid, psid, sidtype);
}