mirror of
https://github.com/samba-team/samba.git
synced 2025-02-18 17:57:55 +03:00
make sure domain and name to generate trust account .mac file are upper case.
(This used to be commit fbfb350bdf17e84b512b745527886d942904b67d)
This commit is contained in:
parent
f6c5f75568
commit
720ea1e304
@ -790,6 +790,9 @@ void cmd_sam_create_dom_user(struct client_info *info, int argc, char *argv[])
|
||||
|
||||
nt_owf_genW(&upw, ntpw);
|
||||
|
||||
strupper(domain);
|
||||
strupper(name);
|
||||
|
||||
report(out_hnd, "Join %s to Domain %s", name, domain);
|
||||
if (create_trust_account_file(domain, name, ntpw))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user