RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 860397 - new /etc/sudo-ldap.conf configuration file problems
Summary: new /etc/sudo-ldap.conf configuration file problems
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: sudo
Version: 6.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Daniel Kopeček
QA Contact: Aleš Mareček
URL:
Whiteboard:
Depends On:
Blocks: 982702
TreeView+ depends on / blocked
 
Reported: 2012-09-25 18:08 UTC by Rob Crittenden
Modified: 2013-07-09 15:38 UTC (History)
3 users (show)

Fixed In Version: sudo-1.8.6p3-6.el6
Doc Type: Bug Fix
Doc Text:
Cause: Wrong file permissions on /etc/sudo-ldap.conf and missing examples in the same file. Consequence: Inconsistency with Red Hat provided documentation. Fix: Corrected file permissions and added example configuration lines. Result: Restored consistency with Red Hat documentation.
Clone Of:
: 982702 (view as bug list)
Environment:
Last Closed: 2013-02-21 09:44:48 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2013:0363 0 normal SHIPPED_LIVE sudo bug fix and enhancement update 2013-02-20 20:52:59 UTC

Description Rob Crittenden 2012-09-25 18:08:47 UTC
Description of problem:

First two problems moved over from BZ https://bugzilla.redhat.com/show_bug.cgi?id=860386

1. The newly installed /etc/sudo-ldap.conf has some of the entries from the old /etc/nslcd.conf, but not all. However, all the entries from the documentation are needed. It would be nice is that is reflected in the file commented out entries.

2. The permissions of /etc/sudo-ldap does not seem to be correct. It is 440. Shouldn't it be 640?

3. There is no man page for sudo-ldap.conf

4. sudo-ldap.conf is not mentioned in the sudo man page.

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

sudo-1.7.4p5-13.el6_3

How reproducible:


Steps to Reproduce:
1.
2.
3.
  
Actual results:


Expected results:


Additional info:

Comment 2 Daniel Kopeček 2012-09-26 12:22:19 UTC
Hi,

(In reply to comment #0)
> Description of problem:
> 
> First two problems moved over from BZ
> https://bugzilla.redhat.com/show_bug.cgi?id=860386
> 
> 1. The newly installed /etc/sudo-ldap.conf has some of the entries from the
> old /etc/nslcd.conf, but not all. However, all the entries from the
> documentation are needed. It would be nice is that is reflected in the file
> commented out entries.

could you please provide the list of additional entries that should be in the sudo-ldap.conf file? The configuration file now contains the most important once and they are commented out.

> 3. There is no man page for sudo-ldap.conf
> 4. sudo-ldap.conf is not mentioned in the sudo man page.

It's referenced from the README.LDAP file which is part of the documentation that gets installed on the system.

Comment 4 Daniel Kopeček 2012-09-26 13:07:18 UTC
(In reply to comment #2)
> > 3. There is no man page for sudo-ldap.conf
> > 4. sudo-ldap.conf is not mentioned in the sudo man page.
> 
> It's referenced from the README.LDAP file which is part of the documentation
> that gets installed on the system.

And also from man sudoers.ldap

Comment 6 Daniel Kopeček 2012-09-26 14:41:12 UTC
Changes made:
1. corrected file permissions to 0640
2. added commented out option to sudo-ldap.conf:
   #binddn uid=sudo,cn=sysaccounts,cn=etc,dc=example,dc=com
   #bindpw secret
   #ssl start_tls
   #tls_cacertfile /path/to/CA.crt
   #tls_checkpeer yes

Comment 13 errata-xmlrpc 2013-02-21 09:44:48 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.

http://rhn.redhat.com/errata/RHBA-2013-0363.html


Note You need to log in before you can comment on or make changes to this bug.