summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2002-11-02 03:37:26 +0000
committerAndrew Bartlett <abartlet@samba.org>2002-11-02 03:37:26 +0000
commit531cea29375dee44a8e611d7d0c7eaaae445e67e (patch)
treebeacdeb9f03f395b49ba97fee7652b5e251e1634 /source3
parenta66b852ddc495dda484b18d3d97ae1a2d1161254 (diff)
downloadsamba-531cea29375dee44a8e611d7d0c7eaaae445e67e.tar.gz
samba-531cea29375dee44a8e611d7d0c7eaaae445e67e.tar.bz2
samba-531cea29375dee44a8e611d7d0c7eaaae445e67e.zip
Return the result code, not false (0 == success) on error...
(This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac)
Diffstat (limited to 'source3')
-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 {