From dc6fb2323c964456d4b22597b575e42f1fd79246 Mon Sep 17 00:00:00 2001 From: Sumit Bose Date: Tue, 2 Nov 2010 21:24:53 +0100 Subject: Add defaultNamingContext to RootDSE attributes --- src/providers/ldap/sdap.h | 2 ++ src/providers/ldap/sdap_async.c | 1 + 2 files changed, 3 insertions(+) (limited to 'src/providers') 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 }; -- cgit