netapi: fix NetGetJoinableOUs_r: do not tear down connection.
authorGünther Deschner <gd@samba.org>
Tue, 2 Sep 2008 11:17:28 +0000 (13:17 +0200)
committerGünther Deschner <gd@samba.org>
Fri, 5 Sep 2008 10:58:05 +0000 (12:58 +0200)
Guenther
(This used to be commit 14c2688f2d37105ad129d26d13930177fe5c585f)

source3/lib/netapi/joindomain.c

index 17ea3923fee5f254cc8b076dcb393083937421bb..c83b0e01ffc8ce922c7f2a4bb0521d60c6aaac14 100644 (file)
@@ -445,9 +445,5 @@ WERROR NetGetJoinableOUs_r(struct libnetapi_ctx *ctx,
        }
 
  done:
-       if (cli) {
-               cli_shutdown(cli);
-       }
-
        return werr;
 }