summaryrefslogtreecommitdiff
path: root/source3/nsswitch
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2005-12-10 11:22:01 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:05:46 -0500
commit661c5c741a5285a5ddf8c1fc74ba50335f1c1931 (patch)
tree302c96613f7b9981097d8a2e84b59489d815ebcd /source3/nsswitch
parent78fa625d2532da8e17ac599455f41db373f9c1ba (diff)
downloadsamba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.tar.gz
samba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.tar.bz2
samba-661c5c741a5285a5ddf8c1fc74ba50335f1c1931.zip
r12163: Change lookup_sid and lookup_name to return const char * instead of char *,
use a temporary talloc_ctx for clarity. Volker (This used to be commit b15815c804bf3e558ed6357b5e9a6e3e0fac777f)
Diffstat (limited to 'source3/nsswitch')
-rw-r--r--source3/nsswitch/wb_client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/nsswitch/wb_client.c b/source3/nsswitch/wb_client.c
index 6fe55e1209..0e49cd31f3 100644
--- a/source3/nsswitch/wb_client.c
+++ b/source3/nsswitch/wb_client.c
@@ -65,7 +65,7 @@ BOOL winbind_lookup_name(const char *dom_name, const char *name, DOM_SID *sid,
/* Call winbindd to convert sid to name */
BOOL winbind_lookup_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid,
- char **domain, char **name,
+ const char **domain, const char **name,
enum SID_NAME_USE *name_type)
{
struct winbindd_request request;