Shutting down the connection closes outstanding sessions, so we don't need
authorAndrew Bartlett <abartlet@samba.org>
Sun, 28 Dec 2003 09:57:29 +0000 (09:57 +0000)
committerAndrew Bartlett <abartlet@samba.org>
Sun, 28 Dec 2003 09:57:29 +0000 (09:57 +0000)
to do it twice...

Amdrew Bartlett
(This used to be commit 8f9a069c59cbd357cbef8814764c10f6d8b6e6e8)

source3/libsmb/trusts_util.c

index 2c6eb1b55a807baa8685c367a1370fc02a64f371..7c1000b9a59c051735d775aab325b1c57fbb84b7 100644 (file)
@@ -182,7 +182,6 @@ done:
        /* cleanup */
        if (cli) {
                DEBUG(10,("enumerate_domain_trusts: shutting down connection...\n"));
-               cli_nt_session_close( cli );
                cli_shutdown( cli );
        }