summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
Diffstat (limited to 'source3/winbindd')
-rw-r--r--source3/winbindd/winbindd_proto.h6
-rw-r--r--source3/winbindd/winbindd_util.c2
2 files changed, 4 insertions, 4 deletions
diff --git a/source3/winbindd/winbindd_proto.h b/source3/winbindd/winbindd_proto.h
index 522ffca306..0df00f52ba 100644
--- a/source3/winbindd/winbindd_proto.h
+++ b/source3/winbindd/winbindd_proto.h
@@ -599,9 +599,9 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain,
uint32 *p_num_groups, DOM_SID **user_sids);
NTSTATUS normalize_name_map(TALLOC_CTX *mem_ctx,
- struct winbindd_domain *domain,
- char *name,
- char **normalized);
+ struct winbindd_domain *domain,
+ const char *name,
+ char **normalized);
NTSTATUS normalize_name_unmap(TALLOC_CTX *mem_ctx,
char *name,
char **normalized);
diff --git a/source3/winbindd/winbindd_util.c b/source3/winbindd/winbindd_util.c
index c564ef9f51..993ef54f5d 100644
--- a/source3/winbindd/winbindd_util.c
+++ b/source3/winbindd/winbindd_util.c
@@ -1283,7 +1283,7 @@ NTSTATUS lookup_usergroups_cached(struct winbindd_domain *domain,
NTSTATUS normalize_name_map(TALLOC_CTX *mem_ctx,
struct winbindd_domain *domain,
- char *name,
+ const char *name,
char **normalized)
{
NTSTATUS nt_status;