Bug 1356932

Summary: the "ldap ssl" description for smb.conf is incorrectly defined
Product: Red Hat Enterprise Linux 7 Reporter: Ming Davies <minyu>
Component: sambaAssignee: Andreas Schneider <asn>
Status: CLOSED ERRATA QA Contact: Robin Hack <rhack>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.4CC: adzilsky, asn, gdeschner, jarrpa, mmuehlfe, rhack, tscherf
Target Milestone: rc   
Target Release: 7.4   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: samba-4.6.0-0.1.rc3.el7 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-08-01 18:19:59 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Ming Davies 2016-07-15 10:05:38 UTC
Description of problem:

The "ldap ssl" description for smb.conf is incorrectly defined.  It says "set ldap ssl = yes", but the code only defines "off" and "start tls" as valid options.


Here is the extract of the description:
"
 Please note that this parameter does only affect rpc methods. To enable the LDAPv3 StartTLS extended operation (RFC2830) for ads, set
       ldap ssl = yesandldap ssl ads = yes. 
"


Here is a snip of the source code.
$ grep -A1 "LDAP SSL" source3/include/smb.h
   /* LDAP SSL options */
    enum ldap_ssl_types {LDAP_SSL_OFF, LDAP_SSL_START_TLS};

Version-Release number of selected component (if applicable):
 samba_version 3.6.23

How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Marc Muehlfeld 2016-07-15 10:20:36 UTC
This is also wrong in the latest Samba version's (4.4.5) man page.

Comment 4 errata-xmlrpc 2017-08-01 18:19:59 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHSA-2017:1950