summaryrefslogtreecommitdiff
path: root/source3/sam
diff options
context:
space:
mode:
Diffstat (limited to 'source3/sam')
-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 23496d6969..63167accf3 100644
--- a/source3/sam/idmap_rid.c
+++ b/source3/sam/idmap_rid.c
@@ -196,9 +196,9 @@ static NTSTATUS rid_idmap_get_domains(uint32 *num_domains, fstring **domain_name
}
/* open a connection to the dc */
- username = secrets_fetch(SECRETS_AUTH_USER, NULL);
- password = secrets_fetch(SECRETS_AUTH_PASSWORD, NULL);
- domain = secrets_fetch(SECRETS_AUTH_DOMAIN, NULL);
+ username = (char *)secrets_fetch(SECRETS_AUTH_USER, NULL);
+ password = (char *)secrets_fetch(SECRETS_AUTH_PASSWORD, NULL);
+ domain = (char *)secrets_fetch(SECRETS_AUTH_DOMAIN, NULL);
if (username) {