diff options
author | Stefan Metzmacher <metze@samba.org> | 2014-02-26 20:16:26 +0100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2014-04-02 09:03:43 +0200 |
commit | e1d5b8a73465a1763760dbf5a992f84749e26426 (patch) | |
tree | b494c91ef47bf9653143c8e3701d4086e331c71b /source4/auth/sam.c | |
parent | 876f0e03de26aea19004b3347dcde5e251eb50ac (diff) | |
download | samba-e1d5b8a73465a1763760dbf5a992f84749e26426.tar.gz samba-e1d5b8a73465a1763760dbf5a992f84749e26426.tar.xz samba-e1d5b8a73465a1763760dbf5a992f84749e26426.zip |
s4:auth: avoid str_list related const warnings
Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'source4/auth/sam.c')
-rw-r--r-- | source4/auth/sam.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source4/auth/sam.c b/source4/auth/sam.c index ac1986230aa..72c57b92c81 100644 --- a/source4/auth/sam.c +++ b/source4/auth/sam.c @@ -221,8 +221,8 @@ _PUBLIC_ NTSTATUS authsam_account_ok(TALLOC_CTX *mem_ctx, if (logon_workstation && workstation_list && *workstation_list) { bool invalid_ws = true; int i; - const char **workstations = (const char **)str_list_make(mem_ctx, workstation_list, ","); - + char **workstations = str_list_make(mem_ctx, workstation_list, ","); + for (i = 0; workstations && workstations[i]; i++) { DEBUG(10,("sam_account_ok: checking for workstation match '%s' and '%s'\n", workstations[i], logon_workstation)); |