Learn more about these different git repos.
Other Git URLs
Description[[BR]] When configuring list of LDAP uri's for LDAP BE fail over, the ldap be fails to parse the URI and it crashes.
Log Messages[[BR]]
[sssd[be[LDAP]]] [sdap_service_init] (0): Failed to parse ldap URI ()! [sssd[be[LDAP]]] [load_backend_module] (0): Error (22) in module (ldap) initialization (sssm_ldap_init)! [sssd[be[LDAP]]] [be_process_init] (0): fatal error initializing data providers [sssd[be[LDAP]]] [main] (0): Could not initialize backend [22] [sssd[be[LDAP]]] [sdap_service_init] (0): Failed to parse ldap URI ()! [sssd[be[LDAP]]] [load_backend_module] (0): Error (22) in module (ldap) initialization (sssm_ldap_init)! [sssd[be[LDAP]]] [be_process_init] (0): fatal error initializing data providers [sssd[be[LDAP]]] [main] (0): Could not initialize backend [22] [sssd[be[LDAP]]] [sdap_service_init] (0): Failed to parse ldap URI ()! [sssd[be[LDAP]]] [load_backend_module] (0): Error (22) in module (ldap) initialization (sssm_ldap_init)! [sssd[be[LDAP]]] [be_process_init] (0): fatal error initializing data providers [sssd[be[LDAP]]] [main] (0): Could not initialize backend [22] [sssd[be[LDAP]]] [sdap_service_init] (0): Failed to parse ldap URI ()! [sssd[be[LDAP]]] [load_backend_module] (0): Error (22) in module (ldap) initialization (sssm_ldap_init)! [sssd[be[LDAP]]] [be_process_init] (0): fatal error initializing data providers [sssd[be[LDAP]]] [main] (0): Could not initialize backend [22] [sssd[be[LDAP]]] [sdap_service_init] (0): Failed to parse ldap URI ()! [sssd[be[LDAP]]] [load_backend_module] (0): Error (22) in module (ldap) initialization (sssm_ldap_init)! [sssd[be[LDAP]]] [be_process_init] (0): fatal error initializing data providers [sssd[be[LDAP]]] [main] (0): Could not initialize backend [22] [root@localhost log]# ps -ef | grep sssd root 30346 1 0 15:56 ? 00:00:00 /usr/sbin/sssd -f -D root 30366 30058 0 15:58 pts/2 00:00:00 vim /etc/sssd/sssd.conf root 30368 10573 0 16:00 pts/0 00:00:00 grep sssd
Configuration Tested[[BR]]
[sssd] config_file_version = 2 domains = LDAP sbus_timeout = 30 services = nss, pam [nss] filter_groups = root filter_users = root [pam] [domain/LDAP] auth_provider = ldap enumerate = FALSE id_provider = ldap ldap_group_search_base = ou=Groups,dc=example,dc=com ldap_tls_reqcert = never ldap_uri = ldap://jennyv4.bos.redhat.com:389 , ldap://jennyv4.bos.redhat.com:29778 ldap_user_search_base = ou=People,dc=example,dc=com cache_credentials = FALSE
If you remove spaces as follows:[[BR]]
ldap_uri = ldap://jennyv4.bos.redhat.com:389,ldap://jennyv4.bos.redhat.com:29778
All is well.
Fields changed
milestone: NEEDS_TRIAGE => SSSD 1.0
status: new => assigned
Fixed in 6730ad8
fixedin: => 1.0.0 resolution: => fixed status: assigned => closed tests: 0 => 1
rhbz: => 0
Metadata Update from @jgalipea: - Issue assigned to jhrozek - 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/1361
If you want to receive further updates on the issue, please navigate to the github issue and click on subscribe button.
subscribe
Thank you for understanding. We apologize for all inconvenience.
Login to comment on this ticket.