Univention Bugzilla – Bug 47100
UCS still allows NTLMv1, should switch to Samba default "ntlmv2-only" (4.2)
Last modified: 2018-08-14 12:36:46 CEST
+++ This bug was initially created as a clone of Bug #46782 +++ The UCS default of "yes" for the smb.conf parameter "ntlm auth" means that NTLMv1 is enabled by default. This is more explicit in the new naming introduced by Samba 4.7.0. Quoting man smb.conf: ======================================================================== The available settings are: · ntlmv1-permitted (alias yes) - Allow NTLMv1 and above for all clients. · ntlmv2-only (alias no) - Do not allow NTLMv1 to be used, but permit NTLMv2. · mschapv2-and-ntlmv2-only - Only allow NTLMv1 when the client promises that it is providing MSCHAPv2 authentication (such as the ntlm_auth tool). · disabled - Do not accept NTLM (or LanMan) authentication of any level, nor permit NTLM password changes. The default changed from yes to no with Samba 4.5. The default chagned again to ntlmv2-only with Samba 4.7, however the behaviour is unchanged. ======================================================================== I think we should adjust UCS the use the Samba default "ntlmv2-only". We just didn't want to change this in 4.1-4, but the UCS default can be considered a security issue. +++ This bug was initially created as a clone of Bug #42847 +++ See Bug #42624. Samba 4.5 changes the default from 'ntlm auth' from yes to no. We shouldn't change the default with UCS 4.1-4.
*** This bug has been marked as a duplicate of bug 41033 ***
Actually this Bug is not a duplicate of Bug #41033, because this one is about Samba/AD and the other one is about Samba/NT. ec91b67435 | Adjust default for samba/ntlm/auth ("ntlm auth") to match samba ("no", i.e. ntlmv2-only) f2acc8ec49 | Advisory
Also needed fixing in univention-samba: 8c95d9ee02 | Similar patch for univention-samba f645036405 | Advisories
OK - univention-samba4 and yaml OK - univention-samba and yaml
<http://errata.software-univention.de/ucs/4.2/433.html> <http://errata.software-univention.de/ucs/4.2/434.html>