From 661c5c741a5285a5ddf8c1fc74ba50335f1c1931 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 10 Dec 2005 11:22:01 +0000 Subject: 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) --- source3/passdb/util_wellknown.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/passdb/util_wellknown.c') diff --git a/source3/passdb/util_wellknown.c b/source3/passdb/util_wellknown.c index b1eb8b4237..8caae3b2a0 100644 --- a/source3/passdb/util_wellknown.c +++ b/source3/passdb/util_wellknown.c @@ -75,7 +75,7 @@ static struct sid_name_map_info special_domains[] = { ***************************************************************************/ BOOL lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, - char **domain, char **name) + const char **domain, const char **name) { int i; DOM_SID dom_sid; @@ -121,7 +121,7 @@ BOOL lookup_wellknown_sid(TALLOC_CTX *mem_ctx, const DOM_SID *sid, ***************************************************************************/ BOOL lookup_wellknown_name(TALLOC_CTX *mem_ctx, const char *name, - DOM_SID *sid, char **domain) + DOM_SID *sid, const char **domain) { int i, j; -- cgit