#130 If provider param missing from domain configuration - SSSD should fail to start
Closed: Fixed Opened by jgalipea.

Description[[BR]]

If the provider parameter is missing from a domain configuration then SSSD should fail to start with an appropriate error message. This is a required key.[[BR]]

Configuration Tested[[BR]]

[services]
description =  Local Service Configuration
activeServices = nss, pam
reconnection_retries = 3
[services/nss]
description = NSS Responder Configuration
filterGroups = root
filterUsers = root
debug-level = 4
[services/dp]
description = Data Provider Configuration
debug-level = 4
[services/pam]
description = PAM Responder Configuration
[services/monitor]
description = Service Monitor Configuration
[domains]
description = Domains served by SSSD
domains = LOCAL
[domains/LOCAL]
description = LOCAL Users domain
enumerate = 3
minId = 2000
maxId = 2010
magicPrivateGroups = TRUE
useFullyQualifiedNames = TRUE

ACTUAL RESULTS:[[BR]]
SSSD starts successfully[[BR]]
Attempting to add a user results in:[[BR]]

[sss_useradd] [confdb_get_domain] (0): Domain [LOCAL] does not specify a provider, disabling!
[sss_useradd] [confdb_get_domains] (0): Error (22 [Invalid argument]) retrieving domain [LOCAL], skipping!
[sss_useradd] [confdb_get_domains] (0): No domains configured, fatal error!
Error initializing the tools

Fields changed

doc: => 0
docupdated: => 0
milestone: SSSD 1.0 => SSSD 0.6.0
owner: somebody => sgallagh
status: new => assigned
tests: => 0
testsupdated: => 0

Fixed in 1f4f4f16337c37ab5680aacbfb45abecad8fcc0b

fixedin: => 0.6.0
resolution: => fixed
status: assigned => closed
tests: 0 => 1

Fields changed

tests: 1 => 0
testsupdated: 0 => 1

Fields changed

rhbz: => 0

Metadata Update from @jgalipea:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 0.6.0

SSSD is moving from Pagure to Github. This means that new issues and pull requests
will be accepted only in SSSD's github repository.

This issue has been cloned to Github and is available here:
- https://github.com/SSSD/sssd/issues/1172

If you want to receive further updates on the issue, please navigate to the github issue
and click on subscribe button.

Thank you for understanding. We apologize for all inconvenience.

Metadata