s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup
authorKai Blin <kai@samba.org>
Wed, 12 Aug 2009 15:43:40 +0000 (17:43 +0200)
committerKai Blin <kai@samba.org>
Tue, 18 Aug 2009 17:53:41 +0000 (19:53 +0200)
nsswitch/wbinfo.c

index 80d267a1bcb1e3aafc85e400dfccf41ba7dbc733..fd13c41e4dd6352eb68d9ff1fadd2c2148754532 100644 (file)
@@ -1120,7 +1120,7 @@ static bool wbinfo_lookuprids(const char *domain, const char *arg)
 
        for (i=0; i<num_rids; i++) {
                d_printf("%8d: %s (%s)\n", rids[i], names[i],
-                        sid_type_lookup(types[i]));
+                        wbcSidTypeString(types[i]));
        }
 
        ret = true;
@@ -1170,7 +1170,7 @@ static bool wbinfo_lookupname(const char *full_name)
 
        /* Display response */
 
-       d_printf("%s %s (%d)\n", sid_str, sid_type_lookup(type), type);
+       d_printf("%s %s (%d)\n", sid_str, wbcSidTypeString(type), type);
 
        wbcFreeMemory(sid_str);