summaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorJakub Hrozek <jhrozek@redhat.com>2015-05-26 12:41:36 +0200
committerJakub Hrozek <jhrozek@redhat.com>2015-06-14 21:47:11 +0200
commit05d935cc9d04f03522d0bb44598d22d99b085926 (patch)
tree7cc82e7037293d8ef9f037f837db52d266416376 /src/util
parent89ddc9ed474e9ac2b1e7bccb0a58610babf26cf8 (diff)
downloadsssd-05d935cc9d04f03522d0bb44598d22d99b085926.tar.gz
sssd-05d935cc9d04f03522d0bb44598d22d99b085926.tar.xz
sssd-05d935cc9d04f03522d0bb44598d22d99b085926.zip
IPA: Include ipaNTTrustDirection in the attribute set for trusted domains
Allows to distinguish the trust directions for trusted domains. For domains where we don't know the direction in server mode, we assume two-way trusts. Member domains do not have the direction, but rather the forest root direction is used. Reviewed-by: Sumit Bose <sbose@redhat.com>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/util_errors.c1
-rw-r--r--src/util/util_errors.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/src/util/util_errors.c b/src/util/util_errors.c
index f219d9787..6bf3566f7 100644
--- a/src/util/util_errors.c
+++ b/src/util/util_errors.c
@@ -75,6 +75,7 @@ struct err_string error_to_str[] = {
{ "Unexpected cache entry type" }, /* ERR_UNEXPECTED_ENTRY_TYPE */
{ "Failed to resolve one of user groups" }, /* ERR_SIMPLE_GROUPS_MISSING */
{ "Home directory is NULL" }, /* ERR_HOMEDIR_IS_NULL */
+ { "Unsupported trust direction" }, /* ERR_TRUST_NOT_SUPPORTED */
{ "ERR_LAST" } /* ERR_LAST */
};
diff --git a/src/util/util_errors.h b/src/util/util_errors.h
index 74f8e13db..86f6fa13b 100644
--- a/src/util/util_errors.h
+++ b/src/util/util_errors.h
@@ -97,6 +97,7 @@ enum sssd_errors {
ERR_UNEXPECTED_ENTRY_TYPE,
ERR_SIMPLE_GROUPS_MISSING,
ERR_HOMEDIR_IS_NULL,
+ ERR_TRUST_NOT_SUPPORTED,
ERR_LAST /* ALWAYS LAST */
};