git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a712870
)
s3 wbinfo: use wbcSidTypeString instead of sid_type_lookup
author
Kai Blin
<kai@samba.org>
Wed, 12 Aug 2009 15:43:40 +0000
(17:43 +0200)
committer
Kai Blin
<kai@samba.org>
Tue, 18 Aug 2009 17:53:41 +0000
(19:53 +0200)
nsswitch/wbinfo.c
patch
|
blob
|
history
diff --git
a/nsswitch/wbinfo.c
b/nsswitch/wbinfo.c
index 80d267a1bcb1e3aafc85e400dfccf41ba7dbc733..fd13c41e4dd6352eb68d9ff1fadd2c2148754532 100644
(file)
--- 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);