#232 sss utils segfault when no local provider is present
Closed: Fixed Opened by jgalipea.

Description[[BR]]
sss utils segfault when there is no local provider configured.[[BR]]

Example configuration[[BR]]

[sssd]
config_file_version = 2
domains = EXAMPLE.COM,BOS.REDHAT.COM
reconnection_retries = 3
services = nss, pam
[nss]
debug_level = 4
filter_groups = root
filter_users = root
reconnection_retries = 3
[pam]
reconnection_retries = 3
[dp]
debug_level = 4
reconnection_retries = 3
[domain/EXAMPLE.COM]
cache_credentials = FALSE
enumerate = TRUE
id_provider = ldap
ldap_group_search_base = ou=groups,dc=example,dc=com
ldap_uri = ldap://jennyv4.bos.redhat.com:389
ldap_user_search_base = ou=people,dc=example,dc=com
max_id = 1010
min_id = 1000
use_fully_qualified_names = TRUE
[domain/BOS.REDHAT.COM]
cache_credentials = FALSE
enumerate = TRUE
id_provider = proxy
proxy_lib_name = ldap
use_fully_qualified_names = TRUE

Steps to reproduce[[BR]]

  1. install sssd and configured as above with no local domain.[[BR]]

  2. attempt to add a user from one domain to a group in the other domain.[[BR]]

Results[[BR]]

[root@localhost ~]# sss_usermod -a Group1@BOS.REDHAT.COM puser1@EXAMPLE.COM
Aborted (core dumped)
[root@localhost ~]# echo $?
134

Version[[BR]]
sssd-0.7.0-0.2009101520git9a554bc.fc11.i586[[BR]]

sssd-client-0.7.0-0.2009101520git9a554bc.fc11.i586[[BR]]

sssd-debuginfo-0.7.0-0.2009101520git9a554bc.fc11.i586


Fields changed

component: SSSD => sss_tools
milestone: SSSD Deferred => SSSD 1.0
owner: somebody => sgallagh
priority: major => minor
status: new => assigned

Fixed in 50c3aad0676fb66b6204537c841b2c9d71835537

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

Fields changed

rhbz: => 0

Metadata Update from @jgalipea:
- Issue assigned to sgallagh
- Issue set to the milestone: SSSD 1.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/1274

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