summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/pdb_ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/passdb/pdb_ldap.c b/source3/passdb/pdb_ldap.c
index 5be9246995..9ab10b8c08 100644
--- a/source3/passdb/pdb_ldap.c
+++ b/source3/passdb/pdb_ldap.c
@@ -243,7 +243,7 @@ static int ldapsam_open_connection (struct ldapsam_privates *ldap_state, LDAP **
{
DEBUG(0,("Failed to issue the StartTLS instruction: %s\n",
ldap_err2string(rc)));
- return False;
+ return rc;
}
DEBUG (3, ("StartTLS issued: using a TLS connection\n"));
} else {