[Samba] Mount share in Ubuntu

Henry dercni at gmail.com
Sun Dec 4 12:38:34 UTC 2016


Solved:
http://serverfault.com/questions/309429/mount-cifs-credentials-file-has-special-character

On Sun, Dec 4, 2016 at 9:24 PM, Henry <dercni at gmail.com> wrote:
> yes, ampersand :)
>
> I have included the password in quotes in fstab
>
> p.s. I previously hit reply and not reply all :)
>
> On Sun, Dec 4, 2016 at 7:55 PM, Reindl Harald via samba
> <samba at lists.samba.org> wrote:
>>
>>
>> Am 04.12.2016 um 03:41 schrieb Henry via samba:
>>>
>>> I have a samba server with three shares.
>>> I would like to permanently mount one of these shares in a Ubuntu
>>> server. I have read the following guide:
>>>
>>> https://wiki.ubuntu.com/MountWindowsSharesPermanently#Mount_password_protected_network_folders
>>>
>>> This guide states that I need to amend fstab and then use "mount -a"
>>>
>>> I have included the following in fstab:
>>> //aphrodite/Personal /mnt/samba_personal cifs
>>> username=henry,password=":)",iocharset=utf8  0  0
>>>
>>> When I try to mount this share I get:
>>> root at pve:~# mount -a
>>> mount error(13): Permission denied
>>> Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
>>>
>>> I know the username & password are correct so am unsure of what the
>>> problem may be
>>
>>
>> special chars in the password?
>>
>> --
>> 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