Fix const warning.
[nivanova/samba.git] / source3 / auth / auth_util.c
index 371087e4493d5b647203ec7c7a94cd7b672f2847..1ff9714b1f89f819f111c9cc8f51764069441862 100644 (file)
@@ -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;