mirror of
https://github.com/samba-team/samba.git
synced 2024-12-23 17:34:34 +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:
parent
87803073ec
commit
ed08bd3e83
@ -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 );
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user