summaryrefslogtreecommitdiffstats
path: root/source/libads
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
commit86e6ae6a9fe2a6fdaeeb503653a312662c7f50e9 (patch)
tree9bb583c1a18f9c0e691f51cc48568b3514c6e2eb /source/libads
parentd4a5dc3ad5f56a5f741424ecc4fffa0ef39bdc67 (diff)
downloadsamba-86e6ae6a9fe2a6fdaeeb503653a312662c7f50e9.tar.gz
samba-86e6ae6a9fe2a6fdaeeb503653a312662c7f50e9.tar.xz
samba-86e6ae6a9fe2a6fdaeeb503653a312662c7f50e9.zip
r20487: Remove the unused dn2ad_canonical() call
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index f65ae02ede3..c263e8e133b 100644
--- a/source/libads/ldap.c
+++ b/source/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