]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
s3: smbd: Remove call to dptr_closecnum() on connection shutdown.
authorJeremy Allison <jra@samba.org>
Wed, 17 Jul 2019 21:59:00 +0000 (14:59 -0700)
committerRalph Boehme <slow@samba.org>
Tue, 6 Aug 2019 14:23:35 +0000 (14:23 +0000)
Now all client enumerations use fsp file handles we will
aleady close them in file_close_conn() above.

The only user of dptr_closecnum() is for the strange old OS/2
semantics, so I can't get rid of it until SMB1 is removed.

Signed-off-by: Jeremy Allison <jra@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/smbd/service.c

index d7c85d8b6ca1a5045a3fd7c5b02658309bfe99fe..732cd237b66ec9105b0bd72a3d3fe845656e8f85 100644 (file)
@@ -1118,10 +1118,6 @@ void close_cnum(connection_struct *conn, uint64_t vuid)
 
        file_close_conn(conn);
 
-       if (!IS_IPC(conn)) {
-               dptr_closecnum(conn);
-       }
-
        change_to_root_user();
 
        DEBUG(IS_IPC(conn)?3:2, ("%s (%s) closed connection to service %s\n",