Bug 1473577 - slapi-nis should use requests to SSSD with ability to cancel them with a timeout
slapi-nis should use requests to SSSD with ability to cancel them with a timeout
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: slapi-nis (Show other bugs)
Unspecified Unspecified
high Severity high
: rc
: ---
Assigned To: Alexander Bokovoy
Aneta Šteflová Petrová
Depends On: 1473571
Blocks: 1420851 1467835 1472344 1477926 1490412
  Show dependency treegraph
Reported: 2017-07-21 04:03 EDT by Alexander Bokovoy
Modified: 2018-02-23 09:25 EST (History)
16 users (show)

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
See the Doc Text in https://bugzilla.redhat.com/show_bug.cgi?id=1415162
Story Points: ---
Clone Of: 1415162
Last Closed:
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Comment 2 Alexander Bokovoy 2017-07-21 04:12:03 EDT
This is a slapi-nis bug to use new timeout/cancellable API from SSSD when bug 1473571 is fixed.
Comment 18 Nikhil Dehadrai 2017-12-18 04:20:49 EST
IPA-server: ipa-server-4.5.4-7.el7.x86_64
SSSD version: sssd-1.16.0-14.el7.x86_64

Verified the bug on the basis of below observations:
1. Verified that the sanity test run for ADtrust runs successfully.
2. Verified that following commands runs successfully:
 # setup IPA master with latest version , configure ad-trust with slapi-nis option enabled.

[root@auto-hv-01-guest03 ~]# ipa trust-find ipaad2016.test
1 trust matched
  Realm name: ipaad2016.test
  Domain NetBIOS name: IPAAD2016
  Domain Security Identifier: S-1-5-21-813110839-3732285123-1597101681
  Trust type: Active Directory domain
Number of entries returned 1
[root@auto-hv-01-guest03 ~]# sleep 60
[root@auto-hv-01-guest03 ~]# id administrator@ipaad2016.test
uid=1577600500(administrator@ipaad2016.test) gid=1577600500(administrator@ipaad2016.test) groups=1577600500(administrator@ipaad2016.test),1577600512(domain admins@ipaad2016.test),1577600520(group policy creator owners@ipaad2016.test),1577600513(domain users@ipaad2016.test),1577600518(schema admins@ipaad2016.test),1577600519(enterprise admins@ipaad2016.test)

[root@auto-hv-01-guest03 ~]# vi /etc/sssd/sssd.conf
[root@auto-hv-01-guest03 ~]# systemctl restart sssd
[root@auto-hv-01-guest03 ~]# kill -STOP $(pidof sssd_be)
[root@auto-hv-01-guest03 ~]# ./sss_nss_getpwnam_timeout_test  test303
Done [5].

Thus on the basis of above observations, marking the bug status to "VERIFIED".

Note You need to log in before you can comment on or make changes to this bug.