summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/utils/net_ads.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 8efc64fa8c..77d1629714 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -1228,6 +1228,7 @@ int net_ads_join(struct net_context *c, int argc, const char **argv)
ads_dns->auth.password = secrets_fetch_machine_password(
r->out.netbios_domain_name, NULL, NULL );
ads_dns->auth.realm = SMB_STRDUP( r->out.dns_domain_name );
+ strupper_m(ads_dns->auth.realm );
ads_kinit_password( ads_dns );
}