s3-lib: Do not create 'MACHINE$@' usernames
authorAndreas Schneider <asn@samba.org>
Thu, 15 Sep 2016 10:54:42 +0000 (12:54 +0200)
committerStefan Metzmacher <metze@samba.org>
Sun, 25 Sep 2016 07:05:27 +0000 (09:05 +0200)
commit5328325f94fc2b49f34cf5f2c699ec7440ef1ec9
treec4ba08ca8f08ef8f933861cd39f1d19880c50779
parent7f14776ba7704bdefcbd6ad71856b6efdeacf052
s3-lib: Do not create 'MACHINE$@' usernames

If there is no realm set we should not add it to the machine account.

Signed-off-by: Andreas Schneider <asn@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
source3/lib/util_cmdline.c