Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

domain.remove_provider() does not work #2430

Closed
sssd-bot opened this issue May 2, 2020 · 0 comments
Closed

domain.remove_provider() does not work #2430

sssd-bot opened this issue May 2, 2020 · 0 comments
Assignees
Labels
Closed: Fixed Issue was closed as fixed.

Comments

@sssd-bot
Copy link

sssd-bot commented May 2, 2020

Cloned from Pagure issue: https://pagure.io/SSSD/sssd/issue/1388

  • Created at 2012-06-22 17:21:37 by rcritten
  • Closed as Fixed
  • Assigned to sgallagh

I'm writing a tool for IPA to configure the autofs client. This needs to include the ability to roll back the changes. It works except for domain.remove_provider(). No exception is raised but it doesn't remove the provider either.

I'm using a daily build: sssd-1.8.93-0.20120618T1837Zgitbb79e75.fc17.x86_64

Here is the output from a script I wrote to demonstrate the problem. I start with an sssd.conf generated by ipa-client-install. I add autofs support, then remove it but the autofs provider remains.

Starting with:
[domain/example.com]

cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = example.com
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = pinto.example.com
chpass_provider = ipa
ipa_server = _srv_, tove.example.com
ldap_tls_cacert = /etc/ipa/ca.crt
[sssd]
services = nss, pam, ssh
config_file_version = 2

domains = example.com
[nss]

[pam]

[sudo]

[autofs]

[ssh]


AutoFS Configuration:
[domain/example.com]

cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = example.com
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = pinto.example.com
chpass_provider = ipa
ipa_server = _srv_, tove.example.com
ldap_tls_cacert = /etc/ipa/ca.crt
autofs_provider = ipa
ipa_automount_location = test
[sssd]
services = nss, pam, autofs, ssh
config_file_version = 2

domains = example.com
[nss]

[pam]

[sudo]

[autofs]

[ssh]


Restored Configuration:
[domain/example.com]

cache_credentials = True
krb5_store_password_if_offline = True
ipa_domain = example.com
id_provider = ipa
auth_provider = ipa
access_provider = ipa
ipa_hostname = pinto.example.com
chpass_provider = ipa
ipa_server = _srv_, tove.example.com
ldap_tls_cacert = /etc/ipa/ca.crt
autofs_provider = ipa
[sssd]
services = nss, pam, ssh
config_file_version = 2

domains = example.com
[nss]

[pam]

[sudo]

[autofs]

[ssh]

Comments


Comment from rcritten at 2012-06-22 17:21:55

Script to demonstrate problem
sssd.py


Comment from dpal at 2012-06-29 15:28:13

Fields changed

milestone: NEEDS_TRIAGE => SSSD 1.9.0
priority: major => blocker
rhbz: => 0


Comment from sgallagh at 2012-08-03 18:15:23

Fields changed

owner: somebody => sgallagh
status: new => assigned


Comment from dpal at 2012-08-03 22:14:45

Fields changed

milestone: SSSD 1.9.0 => SSSD 1.9.0 RC1


Comment from jhrozek at 2012-08-05 19:25:27

master: bf960d6


Comment from jhrozek at 2012-08-05 19:25:57

Fields changed

resolution: => fixed
status: assigned => closed


Comment from rcritten at 2017-02-24 15:02:19

Metadata Update from @rcritten:

  • Issue assigned to sgallagh
  • Issue set to the milestone: SSSD 1.9.0 beta 7
@sssd-bot sssd-bot added the Closed: Fixed Issue was closed as fixed. label May 2, 2020
@sssd-bot sssd-bot closed this as completed May 2, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Closed: Fixed Issue was closed as fixed.
Projects
None yet
Development

No branches or pull requests

2 participants