[Samba] creating and copying users

Robert Wooden wdn2420systm at gmail.com
Fri Oct 9 16:24:48 UTC 2020


Next question. (sorry)

At the end of each path, should the end of the path be the username or
"%username%" (like windows, will samba recognize the "%username%" like ADUC
and insert the username?)

On Fri, Oct 9, 2020 at 11:19 AM Rowland penny via samba <
samba at lists.samba.org> wrote:

> On 09/10/2020 16:52, Robert Wooden wrote:
> > Rowland,
> > I remember now, you and I have been here before and I have lost the
> email.
> >
> > Due to the manner that linux handles backslashes "\" users need to
> > backslash /around/ the backslash you need for W10 like so, "\\\\FQDN"
> > to get "\FQDN" on the W10 path?
> >
> > Therefore, the following is what I want:
> >  "--profile-path=\\dtmbr04.ad.dtntwk.work
> > <http://dtmbr04.ad.dtntwk.work>\profiles\sttest11
> > --home-directory=\\dtmbr04.ad.dtntwk.work
> > <http://dtmbr04.ad.dtntwk.work>\users\sttest11"
> >
> > So I need to send this: " --profile-path=\\\\dtmbr04.ad.dtntwk.work
> > <http://dtmbr04.ad.dtntwk.work>\\\profiles\\\sttest11.V6
> > --home-directory=\\\\dtmbr04.ad.dtntwk.work
> > <http://dtmbr04.ad.dtntwk.work>\\\users\\\sttest11"
> >
> > Did my brain remember correctly?
>
> Yes, the backslash is treated as an escape character on Unix (for
> instance, if you wanted to echo a Dollar sign ($) you would have
> something like <echo "Computername\$">), so if you want use a '\', you
> need to double them.
>
> Rowland
>
>
> --
> To unsubscribe from this list go to the following URL and read the
> instructions:  https://lists.samba.org/mailman/options/samba
>


More information about the samba mailing list