git.samba.org
/
bbaumbach
/
samba-autobuild
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cfa1e45
)
Return the result code, not false (0 == success) on error...
author
Andrew Bartlett
<abartlet@samba.org>
Sat, 2 Nov 2002 03:37:26 +0000
(
03:37
+0000)
committer
Andrew Bartlett
<abartlet@samba.org>
Sat, 2 Nov 2002 03:37:26 +0000
(
03:37
+0000)
source/passdb/pdb_ldap.c
patch
|
blob
|
history
diff --git
a/source/passdb/pdb_ldap.c
b/source/passdb/pdb_ldap.c
index 5be9246995a4b9c9763434ecabce96628df039cb..9ab10b8c084e88d3f93f5a216ae38bbc3b5d7d2b 100644
(file)
--- a/
source/passdb/pdb_ldap.c
+++ b/
source/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 {