Bug 15031 - Use authentication file to pass credentials
Summary: Use authentication file to pass credentials
Status: NEW
Alias: None
Product: Samba 4.1 and newer
Classification: Unclassified
Component: Tools (show other bugs)
Version: 4.16.0
Hardware: All All
: P5 normal (vote)
Target Milestone: ---
Assignee: Samba QA Contact
QA Contact: Samba QA Contact
Depends on:
Reported: 2022-03-24 05:12 UTC by Ni
Modified: 2022-10-04 03:49 UTC (History)
1 user (show)

See Also:

Authentication file patch (2.37 KB, patch)
2022-03-24 05:12 UTC, Ni
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ni 2022-03-24 05:12:31 UTC
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.

Best regards
Comment 2 Samba QA Contact 2022-10-04 03:49:05 UTC
This bug was referenced in samba master: