diff options
author | Günther Deschner <gd@samba.org> | 2005-07-01 10:28:31 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:58:09 -0500 |
commit | 065d7e82a74166d06cb99678109d6de5d25e2298 (patch) | |
tree | 4f7fc6062c54e73bbda12ea9af6eb22b7e94dd16 | |
parent | 3f11139bf361ecc9dbcf928c48c67f2fdb95b771 (diff) | |
download | samba-065d7e82a74166d06cb99678109d6de5d25e2298.tar.gz samba-065d7e82a74166d06cb99678109d6de5d25e2298.tar.bz2 samba-065d7e82a74166d06cb99678109d6de5d25e2298.zip |
r8048: Replace "done" with "failed".
Guenther
(This used to be commit 7285edc4fe71f47ab648c31760c357fc2af29ce7)
-rw-r--r-- | source3/libads/ldap.c | 10 |
1 files changed, 5 insertions, 5 deletions
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)); |