summaryrefslogtreecommitdiff
path: root/source4/ldap_server
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2005-06-18 13:18:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:18:27 -0500
commitbf75ae41556a67739cd089a7e3182cf2a994448c (patch)
tree7782f538f0d6c83ccb037add1d907d4a0de2f5df /source4/ldap_server
parente2bb0d0ba75265101cefd7325d705a7bf63ec585 (diff)
downloadsamba-bf75ae41556a67739cd089a7e3182cf2a994448c.tar.gz
samba-bf75ae41556a67739cd089a7e3182cf2a994448c.tar.bz2
samba-bf75ae41556a67739cd089a7e3182cf2a994448c.zip
r7726: - removed some unused variables
- handle ldb_errstring() calls on failed connect (This used to be commit 8698a20fcc6a04ccbe533afd742e7a5df94423ee)
Diffstat (limited to 'source4/ldap_server')
-rw-r--r--source4/ldap_server/ldap_rootdse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ldap_server/ldap_rootdse.c b/source4/ldap_server/ldap_rootdse.c
index d4e11e429a..e5c74be78d 100644
--- a/source4/ldap_server/ldap_rootdse.c
+++ b/source4/ldap_server/ldap_rootdse.c
@@ -270,7 +270,7 @@ static NTSTATUS rootdse_Search(struct ldapsrv_partition *partition, struct ldaps
struct ldapsrv_reply *ent_r, *done_r;
struct ldb_context *ldb;
const char *errstr = NULL;
- int count, j, y;
+ int count, j;
const char **attrs = NULL;
if (r->scope != LDAP_SEARCH_SCOPE_BASE) {