summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/sam/idmap_rid.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/sam/idmap_rid.c b/source3/sam/idmap_rid.c
index 6315c6ab2e..48e496b4b7 100644
--- a/source3/sam/idmap_rid.c
+++ b/source3/sam/idmap_rid.c
@@ -146,9 +146,9 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
uint32 des_access = SEC_RIGHTS_MAXIMUM_ALLOWED;
fstring dc_name;
struct in_addr dc_ip;
- char *password = NULL;
- char *username = NULL;
- char *domain = NULL;
+ const char *password = NULL;
+ const char *username = NULL;
+ const char *domain = NULL;
uint32 info_class = 5;
char *domain_name = NULL;
DOM_SID *domain_sid, sid;