diff options
author | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-07 21:15:12 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2014-07-08 20:27:54 +0200 |
commit | b1559c6498e791aa870f6e01948d1ad0f1af32e7 (patch) | |
tree | b8ba6663286e6d4c3bb749b76a2033e1a76f7e26 /src/providers | |
parent | 852722ecb5dc09fc80cd3c837edb1cf6db529210 (diff) | |
download | sssd-b1559c6498e791aa870f6e01948d1ad0f1af32e7.tar.gz sssd-b1559c6498e791aa870f6e01948d1ad0f1af32e7.tar.xz sssd-b1559c6498e791aa870f6e01948d1ad0f1af32e7.zip |
PROVIDERS: Add ldap_common.h to opts.h of each provider
the opts.h files were consuming some #defines from ldap_common.h (such
as SSS_LDAP_SRV_NAME) without including ldap_common.h. That's bad
practice and break programs that wish to just include the opts.h header.
Reviewed-by: Michal Židek <mzidek@redhat.com>
Diffstat (limited to 'src/providers')
-rw-r--r-- | src/providers/ad/ad_opts.h | 1 | ||||
-rw-r--r-- | src/providers/ipa/ipa_opts.h | 1 | ||||
-rw-r--r-- | src/providers/ldap/ldap_opts.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ad/ad_opts.h b/src/providers/ad/ad_opts.h index 8f6ce7e1e..b80aaddf2 100644 --- a/src/providers/ad/ad_opts.h +++ b/src/providers/ad/ad_opts.h @@ -26,6 +26,7 @@ #include "src/providers/data_provider.h" #include "db/sysdb_services.h" #include "db/sysdb_autofs.h" +#include "providers/ldap/ldap_common.h" struct dp_option ad_basic_opts[] = { { "ad_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING }, diff --git a/src/providers/ipa/ipa_opts.h b/src/providers/ipa/ipa_opts.h index 0b39b8c5a..d7c2b189f 100644 --- a/src/providers/ipa/ipa_opts.h +++ b/src/providers/ipa/ipa_opts.h @@ -29,6 +29,7 @@ #include "db/sysdb_autofs.h" #include "db/sysdb_services.h" #include "db/sysdb_selinux.h" +#include "providers/ldap/ldap_common.h" struct dp_option ipa_basic_opts[] = { { "ipa_domain", DP_OPT_STRING, NULL_STRING, NULL_STRING }, diff --git a/src/providers/ldap/ldap_opts.h b/src/providers/ldap/ldap_opts.h index f4e18d949..adf200caa 100644 --- a/src/providers/ldap/ldap_opts.h +++ b/src/providers/ldap/ldap_opts.h @@ -28,6 +28,7 @@ #include "db/sysdb_sudo.h" #include "db/sysdb_autofs.h" #include "db/sysdb_services.h" +#include "providers/ldap/ldap_common.h" struct dp_option default_basic_opts[] = { { "ldap_uri", DP_OPT_STRING, NULL_STRING, NULL_STRING }, |