summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index 3296f7994a..68084b0404 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -874,9 +874,9 @@ static int smbldap_connect_system(struct smbldap_state *ldap_state, LDAP * ldap_
static int smbldap_open(struct smbldap_state *ldap_state)
{
int rc, opt_rc;
- SMB_ASSERT(ldap_state);
BOOL reopen = False;
+ SMB_ASSERT(ldap_state);
#ifndef NO_LDAP_SECURITY
if (geteuid() != 0) {
DEBUG(0, ("smbldap_open: cannot access LDAP when not root..\n"));