Bug 578258

Summary: authconfig does not setup sssd with ldap properly
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: 13CC: sgallagh, tmraz
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: 2010-03-30 20:35:35 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:
Attachments:
Description Flags
sssd.conf file as created by authconfig none

Description Orion Poplawski 2010-03-30 17:49:01 UTC
Created attachment 403535 [details]
sssd.conf file as created by authconfig

Description of problem:

On sssd live image, did:

# authconfig --enablesssd --enablesssdauth --ldapserver=ldap.cora.nwra.com  --ldapbasedn=dc=nwra,dc=com --enableldaptls --ldaploadcacert=http://www.cora.nwra.com/cgi-bin/getca.pl --update

and got:

Starting sssd: Cannot load configuration database
                                                           [FAILED]

Version-Release number of selected component (if applicable):
authconfig-6.1.2-1.fc13.i686

Comment 1 Tomas Mraz 2010-03-30 18:03:09 UTC
This is not the way the SSSD should be set up by the command-line. Using the --enablesssd and --enablesssdauth options forces startup of sssd but does not set up the ldap provider.


I suppose you want LDAP for both user identity and The correct way is:

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

Of course you should run this command either on fresh install without any other network authentication set or disable all other network identity/authentication with authconfig call. You can find out the current settings with 'authconfig --test'.

Comment 2 Tomas Mraz 2010-03-30 18:04:50 UTC
I'll try to document that in the authconfig man page.

Comment 3 Orion Poplawski 2010-03-30 20:35:35 UTC
Okay, that works.  Sorry for the noise.

Comment 4 Orion Poplawski 2010-09-24 15:53:20 UTC
*** Bug 636324 has been marked as a duplicate of this bug. ***