From 531cea29375dee44a8e611d7d0c7eaaae445e67e Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Sat, 2 Nov 2002 03:37:26 +0000 Subject: Return the result code, not false (0 == success) on error... (This used to be commit f91c363bc05d1c82ad8a99a5c0d59b46cf820aac) --- source3/passdb/pdb_ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') 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 { -- cgit