#2699 SSSDConfig: wrong return type returned on python3
Closed: Fixed None Opened 5 years ago by lslebodn.

Ticket was cloned from Red Hat Bugzilla (product Fedora): Bug 1234792

Created attachment 1042155
uninstall log

realmd-0.16.0-1.fc23.x86_64
freeipa-client-4.1.4-4.fc23.x86_64
authconfig-6.2.10-8.fc23.x86_64

Running "realm join" fails, and a subsequent ipa-client-install --uninstall
also fails.

The relevant error message in both cases seems to be:

  File "/usr/share/authconfig/authinfo.py", line 1901, in readSSSD
    domain = self.sssdDomain =
self.sssdConfig.get_domain(SSSD_AUTHCONFIG_DOMAIN)
  File "/usr/lib/python3.4/site-packages/SSSDConfig/__init__.py", line 1847, in
get_domain
    raise NoDomainError(name)
SSSDConfig.NoDomainError: default

I don't have the original install log anymore, but I attach the uninstall log.

# cat /etc/ipa/default.conf
#File modified by ipa-client-install

[global]
basedn = dc=mvo,dc=lan
realm = MVO.LAN
domain = mvo.lan
server = ipa.mvo.lan
host = fraw.mvo.lan
xmlrpc_uri = https://ipa.mvo.lan/ipa/xml
enable_ra = True

# cat /etc/sssd/sssd.conf
[domain/mvo.lan]

cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = mvo.lan
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = fraw.mvo.lan
chpass_provider = ipa
dyndns_update = True
ipa_server = _srv_, ipa.mvo.lan
ldap_tls_cacert = /etc/ipa/ca.crt
[sssd]
services = nss, sudo, pam, ssh
config_file_version = 2

domains = mvo.lan
[nss]
homedir_substring = /home

[pam]

[sudo]

[autofs]

[ssh]

[pac]

[ifp]

Lukas has a patch

blockedby: =>
blocking: =>
changelog: =>
coverity: =>
design: =>
design_review: => 0
feature_milestone: =>
fedora_test_page: =>
mark: no => 0
milestone: NEEDS_TRIAGE => SSSD 1.13.1
review: True => 0
selected: =>
testsupdated: => 0

Fields changed

owner: somebody => lslebodn

Fields changed

patch: 0 => 1
status: new => assigned

resolution: => fixed
status: assigned => closed

Metadata Update from @lslebodn:
- Issue assigned to lslebodn
- Issue set to the milestone: SSSD 1.13.1

3 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/3740

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