We are de-emphasizing the local domain in favor of the files domain. There is no point in offering a python interface for the local domain. We should just remove it.
Metadata Update from @jhrozek: - Issue set to the milestone: SSSD 2.0
Metadata Update from @jhrozek: - Issue tagged with: breaks compatibility
PR:https://github.com/SSSD/sssd/pull/430
Metadata Update from @jhrozek: - Issue priority set to: minor
PR: part of https://github.com/SSSD/sssd/pull/611
Metadata Update from @fidencio: - Issue assigned to fidencio
Metadata Update from @fidencio: - Issue tagged with: PR
Fixed as part of: 0e211b8ba30c3adcdeef21ca1339b194cbfffb04 82d51b7feba8df49df3f7a023d2b16aba26a858e b8946c46e04e8b5329e4d95f9a67b4a76f883bb2 c075e2865b2fbedb6a7eeb6a90780c6dbffeb5fd 15342ebe8c22738e947728f06c6833b5be09eca8 5a87af9128c5468ce1f2e55602c9d3ec05987b8d a24f0c202ed7ea159ad04eb19b506b7f21ad41cc 2e8fe6a3dd022721e1ff476c8fd7af317a535d63 728e4be10fc7a7b3173b74b1f597e835914c9abf 99b5bb54447287da5031dcd2bfebeef8b47d52d7 a8a9e66a852ba8aa1371e2e1897d49f3feee76da 064ca0b46eed06977dbd32c2bd894f71dc43be2e 6ebcc59b9458c5a118cd182c07a840fa6756a43e 35a200d5bd84d6a6742e77ffda9945e37134d721 2243b348976705ca81da954cb1ead1f406d01918 7d483737f3763947a5b8a43efbfaf31f54f956a4
Metadata Update from @jhrozek: - Issue close_status updated to: Fixed - Issue status updated to: Closed (was: Open)
Unfortunately, FreeIPA does use this interface and now we are broken:
[root@cloud-qe-19 ~]# ipa hbactest --host=cloud-qe-19.octy120.test --service=sshd --user='IPAAD2016\aduser1' ipa: ERROR: an internal error has occurred [root@cloud-qe-19 ~]# tail -30 /var/log/httpd/error_log [Wed Oct 24 03:03:47.477681 2018] [wsgi:error] [pid 8771:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: Destroyed connection context.ldap2_140573265369968 [Wed Oct 24 03:03:47.493424 2018] [:warn] [pid 8775:tid 140573163890432] [client 10.19.34.59:34812] failed to set perms (3140) on file (/var/run/ipa/ccaches/admin@OCTY120.TEST)!, referer: https://cloud-qe-19.octy120.test/ipa/xml [Wed Oct 24 03:03:47.493951 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: WSGI wsgi_dispatch.__call__: [Wed Oct 24 03:03:47.494025 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: WSGI jsonserver_session.__call__: [Wed Oct 24 03:03:47.526543 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: Created connection context.ldap2_140573265365760 [Wed Oct 24 03:03:47.526616 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: WSGI jsonserver.__call__: [Wed Oct 24 03:03:47.526666 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: WSGI WSGIExecutioner.__call__: [Wed Oct 24 03:03:47.526915 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: raw: hbactest(user='IPAAD2016\\\\aduser1', targethost='cloud-qe-19.octy120.test', service='sshd', version='2.230') [Wed Oct 24 03:03:47.527093 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: hbactest(user='IPAAD2016\\\\aduser1', targethost='cloud-qe-19.octy120.test', service='sshd', nodetail=False, enabled=False, disabled=False, version='2.230') [Wed Oct 24 03:03:47.527386 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: raw: hbacrule_find(None, sizelimit=None, version='2.230', no_members=False) [Wed Oct 24 03:03:47.527566 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: hbacrule_find(None, sizelimit=None, all=False, raw=False, version='2.230', no_members=False, pkey_only=False) [Wed Oct 24 03:03:47.529372 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: retrieving schema for SchemaCache url=ldapi://%2fvar%2frun%2fslapd-OCTY120-TEST.socket conn=<ldap.ldapobject.SimpleLDAPObject object at 0x7fd9c2fb3e80> [Wed Oct 24 03:03:47.717473 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: ERROR: non-public: AttributeError: module 'pysss' has no attribute 'getgrouplist' [Wed Oct 24 03:03:47.717492 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] Traceback (most recent call last): [Wed Oct 24 03:03:47.717495 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipaserver/rpcserver.py", line 370, in wsgi_execute [Wed Oct 24 03:03:47.717499 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] result = command(*args, **options) [Wed Oct 24 03:03:47.717501 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 450, in __call__ [Wed Oct 24 03:03:47.717504 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] return self.__do_call(*args, **options) [Wed Oct 24 03:03:47.717510 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 478, in __do_call [Wed Oct 24 03:03:47.717514 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ret = self.run(*args, **options) [Wed Oct 24 03:03:47.717516 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipalib/frontend.py", line 800, in run [Wed Oct 24 03:03:47.717519 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] return self.execute(*args, **options) [Wed Oct 24 03:03:47.717522 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipaserver/plugins/hbactest.py", line 410, in execute [Wed Oct 24 03:03:47.717525 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] user_sid, group_sids = domain_validator.get_trusted_domain_user_and_groups(options['user']) [Wed Oct 24 03:03:47.717527 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] File "/usr/lib/python3.6/site-packages/ipaserver/dcerpc.py", line 614, in get_trusted_domain_user_and_groups [Wed Oct 24 03:03:47.717530 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] group_list = pysss.getgrouplist(object_name) [Wed Oct 24 03:03:47.717534 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] AttributeError: module 'pysss' has no attribute 'getgrouplist' [Wed Oct 24 03:03:47.717541 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] [Wed Oct 24 03:03:47.717668 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: INFO: [jsonserver_session] admin@OCTY120.TEST: hbactest/1(user='IPAAD2016\\\\aduser1', targethost='cloud-qe-19.octy120.test', service='sshd', version='2.230'): InternalError [Wed Oct 24 03:03:47.718159 2018] [wsgi:error] [pid 8774:tid 140573238957824] [remote 10.19.34.59:34812] ipa: DEBUG: Destroyed connection context.ldap2_140573265365760
Metadata Update from @jhrozek: - Custom field rhbz adjusted to https://bugzilla.redhat.com/show_bug.cgi?id=1642372
Issue linked to Bugzilla: Bug 1642372
This re-adds the getgroupslist() api
Metadata Update from @jhrozek: - Issue set to the milestone: None (was: SSSD 2.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/4519
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.