[Samba] Correct syntax for --home-directory option in samba-tool

Rowland Penny rowlandpenny at googlemail.com
Mon Nov 24 11:17:23 MST 2014


On 24/11/14 18:12, Marc Muehlfeld wrote:
> Am 24.11.2014 um 16:11 schrieb Rowland Penny:
>> Enclose the path in double quotes i.e.
>> <--home-directory="\\\\elektra\\home\\$i">
>
> With double quotes, you have to escape the backslashes (Rowland said
> this correct). With single quotes not:
>
> # samba-tool user add ... --home-directory='\\dc1\home\demo6'
>
>
>
> Regards,
> Marc
>

The OP is using a variable for the username, single quotes will not work.

Rowland


More information about the samba mailing list