From owner-freebsd-questions@freebsd.org Fri Jul 30 12:38:22 2021 Return-Path: Delivered-To: freebsd-questions@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id EDF1E666BFF for ; Fri, 30 Jul 2021 12:38:22 +0000 (UTC) (envelope-from tomek@cedro.info) Received: from mail-wr1-x430.google.com (mail-wr1-x430.google.com [IPv6:2a00:1450:4864:20::430]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "smtp.gmail.com", Issuer "GTS CA 1O1" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Gbn4Z0HHVz4kWg for ; Fri, 30 Jul 2021 12:38:21 +0000 (UTC) (envelope-from tomek@cedro.info) Received: by mail-wr1-x430.google.com with SMTP id b7so11151722wri.8 for ; Fri, 30 Jul 2021 05:38:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cedro.info; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=0g/uMiG9zY7gqKTh+mnVREPtPJU/ZN8PAYVCnv0Xars=; b=Dx2uhXW6MPIrrCvCV37cPHaS184rLiqsvJyc7zklLxliZi58Hvc3HY2/Q405RlUZd8 GBbYq2Sz/dVEFuAQnVTeqB+rYoZek1akX9Pipg7Dq9EPr+tmQJBFF8vzvS6FpSTYZN81 +amabAwnaUZj7/u880aT3D3ByKxtBjKZy1AVZeudyUr4vAMMqjuYCyqAebZCl+Jbo4oh NI3SQNwCbs1XK3vstdAq/FXeOqfmBtvPLbnWkyPlE9+M31A+SIUJi9NLMmr4C9EN2kpN X2rBTMR4xSxDJgTpv8uKUXz1vNu9NSwJHghYs1712mH2EoYexg7wKXQDBWz8FJWmmi0O 2nvw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=0g/uMiG9zY7gqKTh+mnVREPtPJU/ZN8PAYVCnv0Xars=; b=b9Ihl0ThQDeveEEOKqTzFq6Z4/dDCp4C8eSYaMFMe4h1fz8mytXS69HH9zBQE9HajL SMZAlKNrYWzRELPqp8QW8GsXkpQZ0XmGv2QGIvi7q2Oq0Ub1+aVG/kfgvQ8U3moFDPhy VJ70o1IgyZC0nfNWHRVuz0pJ1BpHYEzBm5EW+zsfwMXs+uI/VkNf/RaZXY1mPWuS9but JHrpcTEiiDJ1kQs3O9OlXPYeS1Go6JbEiNL1fcflonFImoYwW7/UZIQWZiQHGFbACuSF KU/P7YfKxBYANo0ChKMaQwlFikqbPGgzXTHdNFWDg8CzW0TFjQX1zp87+32fc7oDApde MFFg== X-Gm-Message-State: AOAM530zPIEwwMD5tFAdL39g/ID8bs3FD70M2R4rDsjZcvrTuv5DZ16I V22jh/xWi7eajUyapaUGdX9/LDCW8yh4M2YG0VxEBQ== X-Google-Smtp-Source: ABdhPJyql6ivsCYP/kb2Wlp872VU5LL/YCeufrKfZJgz3QKd6kxddPjt0EwXtIYCxeYjgDXMaT311IaSvBMnuDC9Vbc= X-Received: by 2002:a5d:540d:: with SMTP id g13mr2793897wrv.329.1627648694242; Fri, 30 Jul 2021 05:38:14 -0700 (PDT) MIME-Version: 1.0 References: In-Reply-To: From: Tomasz CEDRO Date: Fri, 30 Jul 2021 14:37:59 +0200 Message-ID: Subject: Re: Symbolic link to external server To: Jos Chrispijn Cc: FreeBSD Mailing List Content-Type: text/plain; charset="UTF-8" X-Rspamd-Queue-Id: 4Gbn4Z0HHVz4kWg X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=cedro.info header.s=google header.b=Dx2uhXW6; dmarc=none; spf=none (mx1.freebsd.org: domain of tomek@cedro.info has no SPF policy when checking 2a00:1450:4864:20::430) smtp.mailfrom=tomek@cedro.info X-Spamd-Result: default: False [-3.29 / 15.00]; ARC_NA(0.00)[]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; R_DKIM_ALLOW(-0.20)[cedro.info:s=google]; FROM_HAS_DN(0.00)[]; NEURAL_HAM_LONG(-1.00)[-1.000]; MIME_GOOD(-0.10)[text/plain]; PREVIOUSLY_DELIVERED(0.00)[freebsd-questions@freebsd.org]; DMARC_NA(0.00)[cedro.info]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[cedro.info:+]; RCPT_COUNT_TWO(0.00)[2]; RCVD_IN_DNSWL_NONE(0.00)[2a00:1450:4864:20::430:from]; NEURAL_HAM_SHORT(-0.99)[-0.990]; R_SPF_NA(0.00)[no SPF record]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; ASN(0.00)[asn:15169, ipnet:2a00:1450::/32, country:US]; RCVD_TLS_ALL(0.00)[]; MAILMAN_DEST(0.00)[freebsd-questions]; RCVD_COUNT_TWO(0.00)[2] X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jul 2021 12:38:23 -0000 On Fri, Jul 30, 2021 at 2:32 PM Jos Chrispijn wrote: > I have a NAS that I access with wind* network clients by calling > \\10.10.10.55\myfiles (1) > My BSD server 10.10.10.5 has a directory /mydocs (2) > Is it possible to create a symbolic link in (2) to directory (1)? > I tried, but got stuck as I do realize that a user validation should be > done prior to be able to use the symlink. I did setup of Synology once and there was dedicated option to put symlinks to other network shares. You had to enable that by hand, so probably possible with additional option for SMBD. I don't know the details sorry. Alternatively you could just mount (1) and (2) next to each other..? Maybe this will be useful: https://unix.stackexchange.com/questions/5120/how-do-you-make-samba-follow-symlink-outside-the-shared-path -- CeDeROM, SQ7MHZ, http://www.tomek.cedro.info