Created attachment 17237 [details]
Authentication file patch
In order not to pass cleartext credentials directly over command line, this is a small patch we made to store username/password/domain in a file and use it during domain join for example.
If you find it useful, please consider applying it.
In case any tweak is needed, contact me.
This bug was referenced in samba master: