summaryrefslogtreecommitdiff
path: root/source3/libads/ldap.c
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2007-01-02 21:45:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:16:52 -0500
commitd3fc370fb9e32b881bb6c626ac525246af665ea4 (patch)
treeccf1ea3bd8088fa06c8bb75f41ea8c3f0ba101e3 /source3/libads/ldap.c
parent725cb5d7c9e651af7a5739774bdaff69ea5a61a9 (diff)
downloadsamba-d3fc370fb9e32b881bb6c626ac525246af665ea4.tar.gz
samba-d3fc370fb9e32b881bb6c626ac525246af665ea4.tar.bz2
samba-d3fc370fb9e32b881bb6c626ac525246af665ea4.zip
r20487: Remove the unused dn2ad_canonical() call
(This used to be commit 86e6ae6a9fe2a6fdaeeb503653a312662c7f50e9)
Diffstat (limited to 'source3/libads/ldap.c')
-rw-r--r--source3/libads/ldap.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index f65ae02ede..c263e8e133 100644
--- a/source3/libads/ldap.c
+++ b/source3/libads/ldap.c
@@ -979,21 +979,6 @@ void ads_memfree(ADS_STRUCT *ads, void *mem)
}
/**
- * Get a canonical dn from search results
- * @param ads connection to ads server
- * @param msg Search result
- * @return dn string
- **/
- char *ads_get_dn_canonical(ADS_STRUCT *ads, LDAPMessage *msg)
-{
-#ifdef HAVE_LDAP_DN2AD_CANONICAL
- return ldap_dn2ad_canonical(ads_get_dn(ads, msg));
-#else
- return NULL;
-#endif
-}
-
-/**
* Get the parent from a dn
* @param dn the dn to return the parent from
* @return parent dn string
@@ -2938,8 +2923,6 @@ ADS_STATUS ads_join_realm(ADS_STRUCT *ads, const char *machine_name,
}
#endif
-#ifdef HAVE_LDAP
-
/**
* Delete a machine from the realm
* @param ads connection to ads server
@@ -3059,6 +3042,5 @@ ADS_STATUS ads_leave_realm(ADS_STRUCT *ads, const char *hostname)
SAFE_FREE(host);
return status;
}
-#endif
#endif