diff options
author | Volker Lendecke <vl@samba.org> | 2010-11-16 19:12:35 +0100 |
---|---|---|
committer | Volker Lendecke <vl@samba.org> | 2010-11-20 14:42:44 +0100 |
commit | b3091e0e22acc10e1659c29fa63e2a1bde96c6df (patch) | |
tree | 0885c5a311946624ed958eec91086a98a0712010 | |
parent | cdf52d56d5476f77c5a594a996a1a7d65dc16ab4 (diff) | |
download | samba-b3091e0e22acc10e1659c29fa63e2a1bde96c6df.tar.gz samba-b3091e0e22acc10e1659c29fa63e2a1bde96c6df.tar.bz2 samba-b3091e0e22acc10e1659c29fa63e2a1bde96c6df.zip |
s3: Remove unused ads_search_retry_extended_dn
-rw-r--r-- | source3/libads/ads_ldap_protos.h | 4 | ||||
-rw-r--r-- | source3/libads/ldap_utils.c | 15 |
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, |