summaryrefslogtreecommitdiff
path: root/source3/auth
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2010-08-20 15:56:37 -0700
committerJeremy Allison <jra@samba.org>2010-08-20 15:56:37 -0700
commit22a0168504846d618f70bb79175950f37f341769 (patch)
tree62785f8a75f679d3ec5f2abef36e9dea669cfdfd /source3/auth
parent7e936e3122aed539b348bc5deea1732b65d94950 (diff)
downloadsamba-22a0168504846d618f70bb79175950f37f341769.tar.gz
samba-22a0168504846d618f70bb79175950f37f341769.tar.bz2
samba-22a0168504846d618f70bb79175950f37f341769.zip
Fix const warning.
Diffstat (limited to 'source3/auth')
-rw-r--r--source3/auth/auth_util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/auth/auth_util.c b/source3/auth/auth_util.c
index 371087e449..1ff9714b1f 100644
--- a/source3/auth/auth_util.c
+++ b/source3/auth/auth_util.c
@@ -947,7 +947,7 @@ static NTSTATUS check_account(TALLOC_CTX *mem_ctx, const char *domain,
the username if we fallback to the username only.
****************************************************************************/
-struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, char *domuser,
+struct passwd *smb_getpwnam( TALLOC_CTX *mem_ctx, const char *domuser,
fstring save_username, bool create )
{
struct passwd *pw = NULL;