summaryrefslogtreecommitdiffstats
path: root/src/db/sysdb.h
diff options
context:
space:
mode:
authorFabiano Fidêncio <fidencio@redhat.com>2017-03-24 15:29:23 +0100
committerJakub Hrozek <jhrozek@redhat.com>2017-03-29 14:00:17 +0200
commit2e85b015d8dd231094a09eab69b86e8b6fcc8b2b (patch)
tree456db7c019ef724896c9131fea4901bc5067999c /src/db/sysdb.h
parent5856a621ac5909ca96520ac5a809eb83fd46d8bc (diff)
downloadsssd-2e85b015d8dd231094a09eab69b86e8b6fcc8b2b.tar.gz
sssd-2e85b015d8dd231094a09eab69b86e8b6fcc8b2b.tar.xz
sssd-2e85b015d8dd231094a09eab69b86e8b6fcc8b2b.zip
SYSDB: Add methods to deal with the domain's resolution order
In the following-up patches those newly introduced methods will be used to deal with the domainResolutionOrder attribute. The sysdb_update_domain_resolution_order() method is purposely not checking whether a value has changed or not before writing to sysdb and while may not be optimal, the readability of the code has increased a lot by keeping it as simple as possible. Tests for these new methods are part of the next commit. Related: https://pagure.io/SSSD/sssd/issue/3001 Signed-off-by: Fabiano Fidêncio <fidencio@redhat.com> Reviewed-by: Sumit Bose <sbose@redhat.com> Reviewed-by: Pavel Březina <pbrezina@redhat.com>
Diffstat (limited to 'src/db/sysdb.h')
-rw-r--r--src/db/sysdb.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/db/sysdb.h b/src/db/sysdb.h
index 6762b51be..42d2857ed 100644
--- a/src/db/sysdb.h
+++ b/src/db/sysdb.h
@@ -184,6 +184,8 @@
#define SYSDB_OVERRIDE_GROUP_CLASS "groupOverride"
#define SYSDB_OVERRIDE_DN "overrideDN"
#define SYSDB_OVERRIDE_OBJECT_DN "overrideObjectDN"
+#define SYSDB_USE_DOMAIN_RESOLUTION_ORDER "useDomainResolutionOrder"
+#define SYSDB_DOMAIN_RESOLUTION_ORDER "domainResolutionOrder"
#define SYSDB_NEXTID_FILTER "("SYSDB_NEXTID"=*)"