Speed up "net conf list"
[ira/wip.git] / lib / smbconf / smbconf.c
index bcab0b97cd9afd276ac956dc1441dd35094735aa..595fd23421482c2704663850c95717f0d4472354 100644 (file)
@@ -203,10 +203,6 @@ WERROR smbconf_get_share(struct smbconf_ctx *ctx,
                         const char *servicename,
                         struct smbconf_service **service)
 {
-       if (!smbconf_share_exists(ctx, servicename)) {
-               return WERR_NO_SUCH_SERVICE;
-       }
-
        return ctx->ops->get_share(ctx, mem_ctx, servicename, service);
 }