summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-12-01 20:18:59 +0000
committerLuke Leighton <lkcl@samba.org>1999-12-01 20:18:59 +0000
commit720ea1e3046426ae6c03b0654211cd99ea7cc6e0 (patch)
treeae1b1a465d12a9223048ab71829b8f3c3a2bdaf3 /source3
parentf6c5f755681a5b595b7d5f5fefc6394e9001a3e4 (diff)
downloadsamba-720ea1e3046426ae6c03b0654211cd99ea7cc6e0.tar.gz
samba-720ea1e3046426ae6c03b0654211cd99ea7cc6e0.tar.bz2
samba-720ea1e3046426ae6c03b0654211cd99ea7cc6e0.zip
make sure domain and name to generate trust account .mac file are upper case.
(This used to be commit fbfb350bdf17e84b512b745527886d942904b67d)
Diffstat (limited to 'source3')
-rw-r--r--source3/rpcclient/cmd_samr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/source3/rpcclient/cmd_samr.c b/source3/rpcclient/cmd_samr.c
index 9cbd24f2b1..476ea08ea8 100644
--- a/source3/rpcclient/cmd_samr.c
+++ b/source3/rpcclient/cmd_samr.c
@@ -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))
{