summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKai Blin <kai@samba.org>2009-08-12 17:43:40 +0200
committerKai Blin <kai@samba.org>2009-08-18 19:53:41 +0200
commit182c667b176834a19338fb3e1ea392d5e7320d06 (patch)
treec5e5c7466097e2438c3534b56db1c97ed38f56cc
parenta7128709d208b9ef7f4e4e7038bf6102189c4518 (diff)
downloadsamba-182c667b176834a19338fb3e1ea392d5e7320d06.tar.gz
samba-182c667b176834a19338fb3e1ea392d5e7320d06.tar.bz2
samba-182c667b176834a19338fb3e1ea392d5e7320d06.zip
s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup
-rw-r--r--nsswitch/wbinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/nsswitch/wbinfo.c b/nsswitch/wbinfo.c
index 80d267a1bc..fd13c41e4d 100644
--- a/nsswitch/wbinfo.c
+++ b/nsswitch/wbinfo.c
@@ -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);