summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_cm.c
diff options
context:
space:
mode:
authorLuk Claes <luk@debian.org>2012-05-20 16:26:25 +0200
committerStefan Metzmacher <metze@samba.org>2012-05-28 14:49:49 +0200
commit82895ab22fb19fabe43ec29365dbe33da0b917f2 (patch)
tree9b0a4cb7953d7df301f521edf7d885c52968be4d /source3/winbindd/winbindd_cm.c
parent1ff8c404a64ea583b8265441edfb78c3613134dd (diff)
downloadsamba-82895ab22fb19fabe43ec29365dbe33da0b917f2.tar.gz
samba-82895ab22fb19fabe43ec29365dbe33da0b917f2.tar.bz2
samba-82895ab22fb19fabe43ec29365dbe33da0b917f2.zip
s3:libsmb: get rid of cli_state_disconnect
Signed-off-by: Luk Claes <luk@debian.org> Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'source3/winbindd/winbindd_cm.c')
-rw-r--r--source3/winbindd/winbindd_cm.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/winbindd/winbindd_cm.c b/source3/winbindd/winbindd_cm.c
index 81d19a9d72..d4af23783d 100644
--- a/source3/winbindd/winbindd_cm.c
+++ b/source3/winbindd/winbindd_cm.c
@@ -1691,7 +1691,7 @@ void close_conns_after_fork(void)
* requests in invalidate_cm_connection()
*/
if (cli_state_is_connected(domain->conn.cli)) {
- cli_state_disconnect(domain->conn.cli);
+ smbXcli_conn_disconnect(domain->conn.cli->conn, NT_STATUS_OK);
}
invalidate_cm_connection(&domain->conn);
@@ -2725,7 +2725,7 @@ void winbind_msg_ip_dropped(struct messaging_context *msg_ctx,
smbXcli_conn_local_sockaddr(domain->conn.cli->conn));
if (strequal(sockaddr, addr)) {
- cli_state_disconnect(domain->conn.cli);
+ smbXcli_conn_disconnect(domain->conn.cli->conn, NT_STATUS_OK);
}
}
TALLOC_FREE(freeit);