]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
make sure domain and name to generate trust account .mac file are upper case.
authorLuke Leighton <lkcl@samba.org>
Wed, 1 Dec 1999 20:18:59 +0000 (20:18 +0000)
committerLuke Leighton <lkcl@samba.org>
Wed, 1 Dec 1999 20:18:59 +0000 (20:18 +0000)
(This used to be commit fbfb350bdf17e84b512b745527886d942904b67d)

source3/rpcclient/cmd_samr.c

index 9cbd24f2b15ac3b0c7b6b595d8d29492823801be..476ea08ea8fff3845b4e6d601c73eb447a8b3c0e 100644 (file)
@@ -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))
                        {