summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ads_ldap_protos.h4
-rw-r--r--source3/libads/ldap_utils.c15
2 files changed, 0 insertions, 19 deletions
diff --git a/source3/libads/ads_ldap_protos.h b/source3/libads/ads_ldap_protos.h
index b81a713cb3..d7f93b737f 100644
--- a/source3/libads/ads_ldap_protos.h
+++ b/source3/libads/ads_ldap_protos.h
@@ -68,10 +68,6 @@ ADS_STATUS ads_search_retry(ADS_STRUCT *ads, LDAPMessage **res,
ADS_STATUS ads_search_retry_dn(ADS_STRUCT *ads, LDAPMessage **res,
const char *dn,
const char **attrs);
-ADS_STATUS ads_search_retry_extended_dn(ADS_STRUCT *ads, LDAPMessage **res,
- const char *dn,
- const char **attrs,
- enum ads_extended_dn_flags flags);
ADS_STATUS ads_search_retry_extended_dn_ranged(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx,
const char *dn,
const char **attrs,
diff --git a/source3/libads/ldap_utils.c b/source3/libads/ldap_utils.c
index 498a810c35..5de9c370db 100644
--- a/source3/libads/ldap_utils.c
+++ b/source3/libads/ldap_utils.c
@@ -145,21 +145,6 @@ static ADS_STATUS ads_do_search_retry_args(ADS_STRUCT *ads, const char *bind_pat
"(objectclass=*)", attrs, res);
}
- ADS_STATUS ads_search_retry_extended_dn(ADS_STRUCT *ads, LDAPMessage **res,
- const char *dn,
- const char **attrs,
- enum ads_extended_dn_flags flags)
-{
- ads_control args;
-
- args.control = ADS_EXTENDED_DN_OID;
- args.val = flags;
- args.critical = True;
-
- return ads_do_search_retry_args(ads, dn, LDAP_SCOPE_BASE,
- "(objectclass=*)", attrs, &args, res);
-}
-
ADS_STATUS ads_search_retry_dn_sd_flags(ADS_STRUCT *ads, LDAPMessage **res,
uint32 sd_flags,
const char *dn,