URL:
https://github.com/SSSD/sssd/pull/436
Title: #436: subdomains: Remove code only used in tests
lslebodn commented:
"""
@amitkumar50 Removing code is not enough otherwise unit test will fail.
You need to also update related test.
```
FAIL: ad_common_tests
=====================
[==========] Running 11 test(s).
[ RUN ] test_ad_create_1way_trust_options
(Fri Nov 3 15:50:25:508078 2017) [sssd] [confdb_get_param] (0x0020): Failed to get
[ldap_uri] from [(null)], error [22] (Invalid argument)
(Fri Nov 3 15:50:25:508104 2017) [sssd] [confdb_get_string] (0x0020): Failed to get
[ldap_uri] from [(null)], error [22] (Invalid argument)
(Fri Nov 3 15:50:25:508109 2017) [sssd] [dp_get_options] (0x0020): Failed to retrieve
value for option (ldap_uri)
(Fri Nov 3 15:50:25:508119 2017) [sssd] [ad_create_1way_trust_options] (0x0020):
ad_create_options failed
Could not run the test - check test fixtures
[ ERROR ] test_ad_create_1way_trust_options
[ RUN ] test_ad_create_2way_trust_options
(Fri Nov 3 15:50:25:512705 2017) [sssd] [confdb_get_param] (0x0020): Failed to get
[ldap_uri] from [(null)], error [22] (Invalid argument)
(Fri Nov 3 15:50:25:512715 2017) [sssd] [confdb_get_string] (0x0020): Failed to get
[ldap_uri] from [(null)], error [22] (Invalid argument)
(Fri Nov 3 15:50:25:512719 2017) [sssd] [dp_get_options] (0x0020): Failed to retrieve
value for option (ldap_uri)
(Fri Nov 3 15:50:25:512723 2017) [sssd] [ad_create_2way_trust_options] (0x0020):
ad_create_options failed
Could not run the test - check test fixtures
[ ERROR ] test_ad_create_2way_trust_options
```
"""
See the full comment at
https://github.com/SSSD/sssd/pull/436#issuecomment-341725811