diff options
-rw-r--r-- | source3/smbd/conn_idle.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/smbd/conn_idle.c b/source3/smbd/conn_idle.c index 96b76ee3f8..4dfa4097c3 100644 --- a/source3/smbd/conn_idle.c +++ b/source3/smbd/conn_idle.c @@ -154,7 +154,7 @@ void conn_force_tdis(struct smbd_server_connection *sconn, const char *sharename if (strequal(lp_servicename(SNUM(conn)), sharename)) { DEBUG(1,("Forcing close of share %s cnum=%d\n", sharename, conn->cnum)); - close_cnum(conn, (uint16)-1); + close_cnum(conn, UID_FIELD_INVALID); } } } |