summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorSumit Bose <sbose@redhat.com>2010-11-02 21:24:53 +0100
committerStephen Gallagher <sgallagh@redhat.com>2010-11-04 15:04:21 -0400
commitdc6fb2323c964456d4b22597b575e42f1fd79246 (patch)
treef6464363ebd4919f567ec3a572464367ad440aea /src/providers
parente7a4ea98c6751a8c3d8405ca31481006f29b901e (diff)
downloadsssd-dc6fb2323c964456d4b22597b575e42f1fd79246.tar.gz
sssd-dc6fb2323c964456d4b22597b575e42f1fd79246.tar.bz2
sssd-dc6fb2323c964456d4b22597b575e42f1fd79246.zip
Add defaultNamingContext to RootDSE attributes
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/sdap.h2
-rw-r--r--src/providers/ldap/sdap_async.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/providers/ldap/sdap.h b/src/providers/ldap/sdap.h
index be4cf8a0..f4ea1099 100644
--- a/src/providers/ldap/sdap.h
+++ b/src/providers/ldap/sdap.h
@@ -127,6 +127,8 @@ struct sdap_ppolicy_data {
#define SYSDB_PWD_ATTRIBUTE "pwdAttribute"
+#define SDAP_ROOTDSE_ATTR_DEFAULT_NAMING_CONTEXT "defaultNamingContext"
+
enum sdap_result {
SDAP_SUCCESS,
SDAP_NOT_FOUND,
diff --git a/src/providers/ldap/sdap_async.c b/src/providers/ldap/sdap_async.c
index 84da288a..a3e114a0 100644
--- a/src/providers/ldap/sdap_async.c
+++ b/src/providers/ldap/sdap_async.c
@@ -654,6 +654,7 @@ struct tevent_req *sdap_get_rootdse_send(TALLOC_CTX *memctx,
"supportedFeatures",
"supportedLDAPVersion",
"supportedSASLMechanisms",
+ SDAP_ROOTDSE_ATTR_DEFAULT_NAMING_CONTEXT,
NULL
};