summaryrefslogtreecommitdiffstats
path: root/src/providers/ad/ad_domain_info.c
diff options
context:
space:
mode:
authorPavel Reichl <preichl@redhat.com>2014-06-10 18:14:45 +0100
committerJakub Hrozek <jhrozek@redhat.com>2014-06-18 14:41:38 +0200
commitedf96099f719e591e98be20af416a32cb4aeea73 (patch)
tree5fe4e3cf7a482ffce0ccdd186ede0ab4a5fa57e7 /src/providers/ad/ad_domain_info.c
parentc9f94bc64ed7dfbaef5a520bfc4e911c5d0ad6fe (diff)
downloadsssd-edf96099f719e591e98be20af416a32cb4aeea73.tar.gz
sssd-edf96099f719e591e98be20af416a32cb4aeea73.tar.xz
sssd-edf96099f719e591e98be20af416a32cb4aeea73.zip
AD: cleanup redundant #define statements
Resolves: https://fedorahosted.org/sssd/ticket/2185 Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/providers/ad/ad_domain_info.c')
-rw-r--r--src/providers/ad/ad_domain_info.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/providers/ad/ad_domain_info.c b/src/providers/ad/ad_domain_info.c
index a71323849..70e3a2875 100644
--- a/src/providers/ad/ad_domain_info.c
+++ b/src/providers/ad/ad_domain_info.c
@@ -32,15 +32,9 @@
#include "providers/ldap/sdap_async.h"
#include "providers/ldap/sdap_idmap.h"
#include "providers/ad/ad_domain_info.h"
+#include "providers/ad/ad_common.h"
#include "util/util.h"
-#define AD_AT_OBJECT_SID "objectSID"
-#define AD_AT_DNS_DOMAIN "DnsDomain"
-#define AD_AT_NT_VERSION "NtVer"
-#define AD_AT_NETLOGON "netlogon"
-
-#define MASTER_DOMAIN_SID_FILTER "objectclass=domain"
-
static errno_t
netlogon_get_domain_info(TALLOC_CTX *mem_ctx,
struct sysdb_attrs *reply,