Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 744101 - Client install fails when anonymous bind is disabled
Client install fails when anonymous bind is disabled
Status: CLOSED ERRATA
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: ipa (Show other bugs)
6.1
Unspecified Unspecified
unspecified Severity unspecified
: rc
: ---
Assigned To: Rob Crittenden
IDM QE LIST
:
Depends On:
Blocks: 748554
  Show dependency treegraph
 
Reported: 2011-10-06 23:49 EDT by Dmitri Pal
Modified: 2011-12-06 13:42 EST (History)
3 users (show)

See Also:
Fixed In Version: ipa-2.1.3-1.el6
Doc Type: Bug Fix
Doc Text:
Do not document
Story Points: ---
Clone Of:
Environment:
Last Closed: 2011-12-06 13:42:25 EST
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


Attachments (Terms of Use)


External Trackers
Tracker ID Priority Status Summary Last Updated
Red Hat Product Errata RHSA-2011:1533 normal SHIPPED_LIVE Moderate: ipa security and bug fix update 2011-12-05 20:23:31 EST

  None (edit)
Description Dmitri Pal 2011-10-06 23:49:15 EDT
ipa-client-install produces this error when trying to join a client to a freeipa server with anonymous-access set to rootdse:

ERROR LDAP Error: Inappropriate authentication: Anonymous access is not allowed.
Comment 1 Dmitri Pal 2011-10-06 23:50:01 EDT
Upstream ticket:
https://fedorahosted.org/freeipa/ticket/1935
Comment 2 Martin Kosek 2011-10-13 04:30:43 EDT
Fixed upstream:

master: f2fb6552c91fa530597e6deb776d90344bfe67bd
ipa-2-1: 32dbf7ff06cf36467570409ca0c93e8cc5788bf7
Comment 4 Martin Kosek 2011-10-31 16:01:42 EDT
Documented in Bug 741050.
Comment 5 Martin Kosek 2011-10-31 16:01:42 EDT
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Do not document
Comment 6 Gowrishankar Rajaiyan 2011-11-07 06:53:27 EST
SERVER:

[root@decepticons slapd-PKI-IPA]# ldapsearch -x -h localhost -p 389 -D 'cn=directory manager' -w Secret123 -b 'cn=config' "objectClass=nsslapdConfig"  nsslapd-allow-anonymous-access
# extended LDIF
#
# LDAPv3
# base <cn=config> with scope subtree
# filter: objectClass=nsslapdConfig
# requesting: nsslapd-allow-anonymous-access 
#

# config
dn: cn=config
nsslapd-allow-anonymous-access: off

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


CLIENT:

[root@sideswipe ~]# ipa-client-install --domain=lab.eng.pnq.redhat.com --server=decepticons.lab.eng.pnq.redhat.com --realm=LAB.ENG.PNQ.REDHAT.COM -w Secret123 -U
Warning: Anonymous access to the LDAP server is disabled.
Proceeding without strict verification.
Note: This is not an error if anonymous access has been explicitly restricted.
DNS domain 'lab.eng.pnq.redhat.com' is not configured for automatic KDC address lookup.
KDC address will be set to fixed value.

Discovery was successful!
Hostname: sideswipe.lab.eng.pnq.redhat.com
Realm: LAB.ENG.PNQ.REDHAT.COM
DNS Domain: lab.eng.pnq.redhat.com
IPA Server: decepticons.lab.eng.pnq.redhat.com
BaseDN: dc=lab,dc=eng,dc=pnq,dc=redhat,dc=com


Synchronizing time with KDC...
Enrolled in IPA realm LAB.ENG.PNQ.REDHAT.COM
Created /etc/ipa/default.conf
Configured /etc/sssd/sssd.conf
Configured /etc/krb5.conf for IPA realm LAB.ENG.PNQ.REDHAT.COM
SSSD enabled
NTP enabled
Client configuration complete.
[root@sideswipe ~]# 


[root@sideswipe ~]# kinit shanks
Password for shanks@LAB.ENG.PNQ.REDHAT.COM: 


[root@sideswipe ~]# klist 
Ticket cache: FILE:/tmp/krb5cc_0
Default principal: shanks@LAB.ENG.PNQ.REDHAT.COM

Valid starting     Expires            Service principal
11/07/11 17:19:51  11/08/11 17:19:48  krbtgt/LAB.ENG.PNQ.REDHAT.COM@LAB.ENG.PNQ.REDHAT.COM
[root@sideswipe ~]# 


Verified in version: ipa-client-2.1.3-8.el6.i686.
Comment 7 errata-xmlrpc 2011-12-06 13:42:25 EST
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/RHSA-2011-1533.html

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