summaryrefslogtreecommitdiffstats
path: root/src/providers/ipa/ipa_subdomains.h
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2012-10-11 12:35:32 +0200
committerJakub Hrozek <jhrozek@redhat.com>2012-10-12 16:42:17 +0200
commit70eaade10feedd7845e39170d0b7eebf3a030af1 (patch)
tree5c78acb29cdbc356ec5621210400dbe3661a411e /src/providers/ipa/ipa_subdomains.h
parent1774ee9a61b9d691dadd1a0538f32bcdcc84f72f (diff)
downloadsssd-70eaade10feedd7845e39170d0b7eebf3a030af1.tar.gz
sssd-70eaade10feedd7845e39170d0b7eebf3a030af1.tar.xz
sssd-70eaade10feedd7845e39170d0b7eebf3a030af1.zip
Allow extdom exop to return flat domain name as well
There are case where the extdom extended operation will return the flat or NetBIOS name of a domain instead of the DNS domain name. If this name is available for the current domain we accept it as well. Related to https://fedorahosted.org/sssd/ticket/1561
Diffstat (limited to 'src/providers/ipa/ipa_subdomains.h')
-rw-r--r--src/providers/ipa/ipa_subdomains.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ipa/ipa_subdomains.h b/src/providers/ipa/ipa_subdomains.h
index 9d24bccf2..35b42b41c 100644
--- a/src/providers/ipa/ipa_subdomains.h
+++ b/src/providers/ipa/ipa_subdomains.h
@@ -28,6 +28,9 @@
#include "providers/dp_backend.h"
#include "providers/ipa/ipa_common.h"
+const char *get_flat_name_from_subdomain_name(struct be_ctx *be_ctx,
+ const char *name);
+
int ipa_subdom_init(struct be_ctx *be_ctx,
struct ipa_id_ctx *id_ctx,
struct bet_ops **ops,