Bug 1044134

Summary: [RFE] should set LDAP_OPT_X_SASL_NOCANON to LDAP_OPT_ON by default
Product: Red Hat Enterprise Linux 7 Reporter: Nathan Kinder <nkinder>
Component: 389-ds-baseAssignee: Rich Megginson <rmeggins>
Status: CLOSED ERRATA QA Contact: Viktor Ashirov <vashirov>
Severity: unspecified Docs Contact:
Priority: low    
Version: 7.0CC: amsharma, mreynolds, nhosoi
Target Milestone: rcKeywords: FutureFeature
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: 389-ds-base-1.3.3.1-1.el7 Doc Type: Enhancement
Doc Text:
Feature: Add ability to set the ldap connection "no canon" settings Reason: Have the ability to avoid doing DNS reverse lookups for outgoing connections. Result: More fine grained control over how the server makes connections.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-03-05 09:29:34 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Nathan Kinder 2013-12-17 21:14:23 UTC
This bug is created as a clone of upstream ticket:
https://fedorahosted.org/389/ticket/47317

389 should use ldap_set_option(ld, LDAP_OPT_X_SASL_NOCANON, LDAP_OPT_ON) for outgoing ldap connections.  This option should also be configurable via a configuration attribute, with the value of "on" by default.

http://ssimo.org/blog/id_015.html

Comment 4 Amita Sharma 2014-12-30 09:57:20 UTC
[root@dhcp201-126 export]# ldapsearch -p 389 -h localhost -D "cn=Directory Manager" -w Secret123 -LLL -b "cn=config" | grep nsslapd-connection-nocanon
nsslapd-connection-nocanon: on

Hence VERIFIED,

Comment 6 errata-xmlrpc 2015-03-05 09:29:34 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://rhn.redhat.com/errata/RHSA-2015-0416.html