diff options
author | coffeedude <coffeedude@drizzt.ad.plainjoe.org> | 2008-05-12 17:33:01 -0500 |
---|---|---|
committer | coffeedude <coffeedude@drizzt.ad.plainjoe.org> | 2008-05-12 17:35:55 -0500 |
commit | ed08bd3e83366eb6e117ca46ef9282666f86366d (patch) | |
tree | 5d2fef9827341b63e68d17cc3a2b753ce881cd37 | |
parent | 87803073ec78859e67d072c014dce98feee3b58f (diff) | |
download | samba-ed08bd3e83366eb6e117ca46ef9282666f86366d.tar.gz samba-ed08bd3e83366eb6e117ca46ef9282666f86366d.tar.bz2 samba-ed08bd3e83366eb6e117ca46ef9282666f86366d.zip |
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 aebae0b71b427838fdc6344d69d6dea87a5dd58b)
-rw-r--r-- | source3/utils/net_ads.c | 1 |
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 ); } |