From 065d7e82a74166d06cb99678109d6de5d25e2298 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Fri, 1 Jul 2005 10:28:31 +0000 Subject: r8048: Replace "done" with "failed". Guenther (This used to be commit 7285edc4fe71f47ab648c31760c357fc2af29ce7) --- source3/libads/ldap.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/libads') diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c index b3faad1fb1..81afd7f49e 100644 --- a/source3/libads/ldap.c +++ b/source3/libads/ldap.c @@ -2397,28 +2397,28 @@ const char *ads_get_attrname_by_oid(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, const const char *attrs[] = { "lDAPDisplayName", NULL }; if (ads == NULL || mem_ctx == NULL || OID == NULL) { - goto done; + goto failed; } expr = talloc_asprintf(mem_ctx, "(attributeId=%s)", OID); if (expr == NULL) { - goto done; + goto failed; } rc = ads_do_search_retry(ads, ads->config.schema_path, LDAP_SCOPE_SUBTREE, expr, attrs, &res); if (!ADS_ERR_OK(rc)) { - goto done; + goto failed; } count = ads_count_replies(ads, res); if (count == 0 || !res) { - goto done; + goto failed; } return ads_pull_string(ads, mem_ctx, res, "lDAPDisplayName"); -done: +failed: DEBUG(0,("ads_get_attrname_by_oid: failed to retrieve name for oid: %s\n", OID)); -- cgit