#97 SSSD Should Fail To Start if More Than One LOCAL Domain is Configured
Closed: Fixed None Opened 14 years ago by jgalipea.

= Description =
At this time, SSSD allows you to configure multiple LOCAL Domains. The behaviour starts to become odd when you do not specify FQN and doesn't work correctly if you specify ID ranges for each domain.

I personally can not think of any use case for having multiple local domains. If someone can please bring them to our attention.

Otherwise, I am suggesting that SSSD should fail to start if there are multiple local domains configured - with a nice error message too! "ERROR: Multiple LOCAL Domains are not allowed."

Configuration Tested:

[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 = DOMAIN1,DOMAIN2

[domains/DOMAIN1]
description = LOCAL DOMAIN1 Users domain
enumerate = 3
minId = 1000
maxId = 1010
legacy = TRUE
magicPrivateGroups = TRUE
provider = local

[domains/DOMAIN2]
description = LOCAL DOMAIN2 Users domain
enumerate = 3
minId = 2000
maxId = 2010
legacy = TRUE
magicPrivateGroups = TRUE
provider = local

Version:
sssd-2009081101-0.fc11.i586


Fields changed

summary: SSSD Should Fail To Start if More Than One Domain is Configured => SSSD Should Fail To Start if More Than One LOCAL Domain is Configured

Fields changed

owner: somebody => sgallagh

Fields changed

status: new => assigned

Fixed in 67cda7b

fixedin: => 0.5.0
resolution: => fixed
status: assigned => closed

No fully fixed here ... services appear to start successfully but do not

[root@jennyv2 sssd]# service sssd start
Starting sssd:                                             [  OK  ]

[root@jennyv2 sssd]# ls /var/lib/sss/db/
config.ldb

[root@jennyv2 sssd]# more /var/run/sssd.pid 
23977

[root@jennyv2 sssd]# ps -ef | grep sssd
root     23981  3993  0 16:43 pts/1    00:00:00 grep sssd

doc: => 0
docupdated: => 0
milestone: SSSD 1.0 => SSSD 0.6.0
resolution: fixed =>
status: closed => reopened
tests: => 0
testsupdated: => 0

Really fixed in 1f4f4f1

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

Fields changed

testsupdated: 0 => 1

Fields changed

tests: 1 => 0

Fields changed

rhbz: => 0

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

7 years ago

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/1139

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.

Login to comment on this ticket.

Metadata