1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-24 21:34:56 +03:00

net ads: Upper case he realm name when calling kinit() using machine creds.

Needed fix for the DNS Update option as part of "net ads join"
(This used to be commit aebae0b71b)
This commit is contained in:
coffeedude 2008-05-12 17:33:01 -05:00
parent 87803073ec
commit ed08bd3e83

View File

@ -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 );
}