Bug 517431

Summary: ldap is not configured during install
Product: [Fedora] Fedora Reporter: Orion Poplawski <orion>
Component: authconfigAssignee: Tomas Mraz <tmraz>
Status: CLOSED NOTABUG QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: medium Docs Contact:
Priority: low    
Version: 11CC: tmraz, vanmeeuwen+fedora
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2009-08-14 20:15:54 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Orion Poplawski 2009-08-13 21:37:09 UTC
Description of problem:

kickstart install with:

authconfig --enablemd5 --enableshadow --enableldap --enableldapauth --ldapserver=ldap.cora.nwra.com --ldapbasedn=dc=nwra,dc=com --enableldaptls --ldaploadcacert=http://www.cora.nwra.com/cgi-bin/getca.pl --enablecache

program.log simply shows:

Running... ['/usr/sbin/authconfig', '--update', '--nostart', '--enablemd5', '--enableshadow', '--enableldap', '--enableldapauth', '--ldapserver=ldap.cora.nwra.com', '--ldapbasedn=dc=nwra,dc=com', '--enableldaptls', '--ldaploadcacert=http://www.cora.nwra.com/cgi-bin/getca.pl', '--enablecache']

but after install /etc/ldap.conf is not configured.  I can run the authconfig command by hand after install and it works and ldap is configured.

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

I see records in the webserver logs for retrieving the CA cert.

Comment 1 Andy Lindeberg 2009-08-14 14:38:36 UTC
Anaconda seems to be doing what it should here.

Sending to authconfig - has there been any recent change in ldap support, or do you see any apparent user error?

Comment 2 Chris Lumens 2009-08-14 14:42:06 UTC
Did you do a network install?  If there's no network enabled, I can see how authconfig might fail with trying to contact the ldap server.  When you say that you ran the command after install, did you run it from tty2 while anaconda was sitting on the completion screen or did you reboot?  If the latter, could you try the former?

Comment 3 Orion Poplawski 2009-08-14 20:15:54 UTC
Hmm, must have been a one time fluke.  Works now.  Sorry about that.