[HanoiLUG] mounting w2k3 share at boot

Steve steve at hivemind.net
Fri Sep 22 15:25:03 ICT 2006


On 22/09/06, David Tremblay <david at roy-tremblay.net> wrote:
> Hi!
>
> a technical one for friday afternoon
>
> I can easily mount a w2k3 share by doing the following
>
> mount -t cifs -o username=david //192.168.0.1/'LERAP DOCS'
> /home/david/lerapdocs
>
> then it ask me a password and it works read write access and so on
>
> but when I put the following line in fstab then it complain that the
> line is erroneous
>
> //192.168.0.1/'LERAP DOCS'    /home/david/lerapdocs cifs
> username=david,password=xxxxxxxx,dmask=777,fmask=777  0    0
>
> what's wrong with it ?
>
> David


This is a shot in the dark.  Maybe try changing //192.168.0.1/'LERAP DOCS to

//192.168.0.1/LERAP\ DOCS


More information about the HanoiLUG mailing list