summaryrefslogtreecommitdiff
path: root/source3
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
commit5a80fa5c0c461404f6f4dc3b4218d6f235796fff (patch)
tree65eeda11678b1bbbfe8476c9872f2c1545b6fe3d /source3
parentebb53d72882f783798067f3c31424b5ba6caf2da (diff)
downloadsamba-5a80fa5c0c461404f6f4dc3b4218d6f235796fff.tar.gz
samba-5a80fa5c0c461404f6f4dc3b4218d6f235796fff.tar.bz2
samba-5a80fa5c0c461404f6f4dc3b4218d6f235796fff.zip
r23514: Remove unused function ads_get_dn_from_extended_dn().
Jeremy. (This used to be commit 03763bc5287fef5f100c911041668e23d4305f8d)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c29
1 files changed, 0 insertions, 29 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index 5b87017d84..d60afcd0d5 100644
--- a/source3/libads/ldap.c
+++ b/source3/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