Hi Mark,

Thanks for this.  I guess this is the right answer.  It's certainly more
elegant.

Regards

Steve

On 23 January 2013 at 17:27 Mark Dootson <mark.doot...@znix.com> wrote:
> Hi,
>
> Just a follow up
>
> On 20/01/2013 16:58, stephen.cook...@sca-uk.com wrote:
>
> > Thanks for this. It worked perfectly. I was already using the ip address
> > rather than the host name, but the -o before each option, as you say, was
> > not
> > totally intuitive :)
> >
>
> After posting I looked at man mount a little more closely and the
> correct syntax for mount options is a comma delimited list - so the
> following would also work - according to the manual.
>
> mount -t cifs -o user="User Name",password=mypassword
> //10.10.10.10/sharedfs /mnt/cifstest
>
> Cheers
>
> Mark
>
>
> >
> > Steve
> >
> > On 20 January 2013 at 03:12 Mark Dootson <mark.doot...@znix.com> wrote:
> >> Hi,
> >>
> >> On 19/01/2013 15:41, stephen.cook...@sca-uk.com wrote:
> >>
> >>>
> >>> Do you have this working on your system?
> >>>
> >>> If so, I'd appreciate an example.
> >>
> >> The following works OK for me:
> >>
> >> mount -t cifs -o user="User Name" -o password=mypassword
> >> //10.10.10.10/sharedfs /mnt/cifstest
> >>
> >> None obvious things were:
> >> -o required before every option
> >> IP address needed - name resolution did not seem to work with cifs. I
> >> would guess this is because it tries to resolve //SomeName/sharedfs as a
> >> NetBios address but that's just me grabbing a reason out of the air.
> >>
> >>
> >> Hope it helps.
> >>
> >> Mark
> >>
>

Reply via email to