summaryrefslogtreecommitdiff
path: root/source4/libcli/cldap/cldap.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2007-04-05 07:37:21 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:49:51 -0500
commit4685a42eaf28e0d4644bfa4cf18ef08abee329d3 (patch)
tree701141ba7dd2cde6edb15b26784e3cb96782e1c9 /source4/libcli/cldap/cldap.h
parent432dfdbcd186cbe8b8a85701e792085de407d18a (diff)
downloadsamba-4685a42eaf28e0d4644bfa4cf18ef08abee329d3.tar.gz
samba-4685a42eaf28e0d4644bfa4cf18ef08abee329d3.tar.bz2
samba-4685a42eaf28e0d4644bfa4cf18ef08abee329d3.zip
r22090: fix error handling in cldap client library to cope with bad host names
(This used to be commit 99c51b104d05a8ad32563497216271e2f20d4985)
Diffstat (limited to 'source4/libcli/cldap/cldap.h')
-rw-r--r--source4/libcli/cldap/cldap.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source4/libcli/cldap/cldap.h b/source4/libcli/cldap/cldap.h
index 8bae2aa41b..928cf1f3e4 100644
--- a/source4/libcli/cldap/cldap.h
+++ b/source4/libcli/cldap/cldap.h
@@ -28,7 +28,7 @@ struct ldap_message;
enum cldap_request_state {CLDAP_REQUEST_SEND,
CLDAP_REQUEST_WAIT,
CLDAP_REQUEST_DONE,
- CLDAP_REQUEST_TIMEOUT};
+ CLDAP_REQUEST_ERROR};
/*
a cldap request packet
@@ -39,6 +39,7 @@ struct cldap_request {
struct cldap_socket *cldap;
enum cldap_request_state state;
+ NTSTATUS status;
/* where to send the request */
struct socket_address *dest;