summaryrefslogtreecommitdiffstats
path: root/source/libads
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2007-06-16 00:39:52 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:23:24 -0500
commit03763bc5287fef5f100c911041668e23d4305f8d (patch)
tree6001bf501ebc7a128fe611229aa70c4f0e46b682 /source/libads
parentfca5637dc6c91a57c4e087670068688557e5bf32 (diff)
downloadsamba-03763bc5287fef5f100c911041668e23d4305f8d.tar.gz
samba-03763bc5287fef5f100c911041668e23d4305f8d.tar.xz
samba-03763bc5287fef5f100c911041668e23d4305f8d.zip
r23514: Remove unused function ads_get_dn_from_extended_dn().
Jeremy.
Diffstat (limited to 'source/libads')
-rw-r--r--source/libads/ldap.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index 5b87017d848..d60afcd0d55 100644
--- a/source/libads/ldap.c
+++ b/source/libads/ldap.c
@@ -2769,35 +2769,6 @@ ADS_STATUS ads_upn_suffixes(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, char ***suffix
}
/**
- * pull a dn from an extended dn string
- * @param mem_ctx TALLOC_CTX
- * @param extended_dn string
- * @param dn pointer to the dn
- * @return boolean inidicating success
- **/
-BOOL ads_get_dn_from_extended_dn(TALLOC_CTX *mem_ctx,
- const char *extended_dn,
- char **dn)
-{
- char *p;
- pstring tok;
-
- if (!extended_dn) {
- return False;
- }
-
- while (next_token(&extended_dn, tok, ";", sizeof(tok))) {
- p = tok;
- }
-
- if ((*dn = talloc_strdup(mem_ctx, p)) == NULL) {
- return False;
- }
-
- return True;
-}
-
-/**
* pull a DOM_SID from an extended dn string
* @param mem_ctx TALLOC_CTX
* @param extended_dn string