Fixed compiler warnings.
authorTim Potter <tpot@samba.org>
Thu, 5 Oct 2000 03:14:28 +0000 (03:14 +0000)
committerTim Potter <tpot@samba.org>
Thu, 5 Oct 2000 03:14:28 +0000 (03:14 +0000)
(This used to be commit ec7f7e350dc1dfa757436cb0efe777c3e0719877)

source3/nsswitch/wb_client.c

index 8c62b3124f33a44edec737ce57e7e7914243e2b8..f122512c13905360f730084596096d91363533ae 100644 (file)
@@ -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);
        }