summaryrefslogtreecommitdiffstats
path: root/source4/auth/sam.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2014-02-26 20:16:26 +0100
committerAndrew Bartlett <abartlet@samba.org>2014-04-02 09:03:43 +0200
commite1d5b8a73465a1763760dbf5a992f84749e26426 (patch)
treeb494c91ef47bf9653143c8e3701d4086e331c71b /source4/auth/sam.c
parent876f0e03de26aea19004b3347dcde5e251eb50ac (diff)
downloadsamba-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.c4
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));