summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source4/dsdb/samdb/samdb_privilege.c2
-rw-r--r--source4/torture/libnet/userman.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/source4/dsdb/samdb/samdb_privilege.c b/source4/dsdb/samdb/samdb_privilege.c
index bfd37f6417..7560d21db5 100644
--- a/source4/dsdb/samdb/samdb_privilege.c
+++ b/source4/dsdb/samdb/samdb_privilege.c
@@ -35,7 +35,7 @@ static NTSTATUS samdb_privilege_setup_sid(void *samctx, TALLOC_CTX *mem_ctx,
struct ldb_message **res = NULL;
struct ldb_message_element *el;
int ret, i;
- char *sidstr;
+ const char *sidstr;
*mask = 0;
diff --git a/source4/torture/libnet/userman.c b/source4/torture/libnet/userman.c
index b308bfa0b5..f688336fd2 100644
--- a/source4/torture/libnet/userman.c
+++ b/source4/torture/libnet/userman.c
@@ -278,7 +278,7 @@ BOOL torture_useradd(void)
struct dcerpc_pipe *p;
struct policy_handle h;
struct samr_String domain_name;
- char* name = TEST_USERNAME;
+ const char *name = TEST_USERNAME;
TALLOC_CTX *mem_ctx;
BOOL ret = True;
@@ -339,7 +339,7 @@ BOOL torture_userdel(void)
struct dcerpc_pipe *p;
struct policy_handle h;
struct samr_String domain_name;
- char* name = TEST_USERNAME;
+ const char *name = TEST_USERNAME;
TALLOC_CTX *mem_ctx;
BOOL ret = True;