git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c83f69
)
s3: "hex_encode" does the same as "binary_string"
author
Volker Lendecke
<vl@samba.org>
Mon, 14 Mar 2011 07:09:21 +0000
(08:09 +0100)
committer
Volker Lendecke
<vl@samba.org>
Tue, 15 Mar 2011 08:15:35 +0000
(09:15 +0100)
source3/lib/util_sid.c
patch
|
blob
|
history
diff --git
a/source3/lib/util_sid.c
b/source3/lib/util_sid.c
index f6210c13fd9caf2710ad1b56d72bc1b12e9c9b8b..ef46a38f8aac6d988a5e691a1560d4d7d8e9e8cc 100644
(file)
--- a/
source3/lib/util_sid.c
+++ b/
source3/lib/util_sid.c
@@
-121,7
+121,7
@@
char *sid_binstring_hex(const struct dom_sid *sid)
if (!buf)
return NULL;
sid_linearize(buf, len, sid);
-
s = binary_string(buf, len
);
+
hex_encode(buf, len, &s
);
free(buf);
return s;
}