summaryrefslogtreecommitdiff
path: root/source3/winbindd
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-08-16 12:07:32 +0200
committerVolker Lendecke <vl@samba.org>2009-08-16 12:38:19 +0200
commit886e183b0e6ed3a13b3ce74068fff761d9635bcc (patch)
tree7bc406d533ea87a935e4dbaa484a2239ac25f119 /source3/winbindd
parentc83bf9cd7e147655cf3796a7dc1ed4b27ead6ebd (diff)
downloadsamba-886e183b0e6ed3a13b3ce74068fff761d9635bcc.tar.gz
samba-886e183b0e6ed3a13b3ce74068fff761d9635bcc.tar.bz2
samba-886e183b0e6ed3a13b3ce74068fff761d9635bcc.zip
s3:winbind: Add const to normalize_name_map
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;