[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: samba: mounting as cifs not working (works in Windows though)



On Thu, Jul 29, 2010 at 12:28 AM, H.S. <hs.samix@gmail.com> wrote:
> On 28/07/10 11:46 PM, Tom H wrote:
>>
>> Please try again
>> smbclient -L //<server_ip_address>   -U<user>
>> for both users
>
> Aha! Works for both users.
>
> Here is the output for my username on sambaserver machine named "red":
> $ smbclient -L //192.168.0.8  -U hs
> Enter hs's password:
> Domain=[SMBWG] OS=[Unix] Server=[Samba 3.4.8]
>
>        Sharename       Type      Comment
>        ---------       ----      -------
>        print$          Disk      Printer Drivers
>        Pictures        Disk      Pictures Repository
>        IPC$            IPC       IPC Service (red server)
>        hs              Disk      Home Directories
> Domain=[SMBWG] OS=[Unix] Server=[Samba 3.4.8]
>
>        Server               Comment
>        ---------            -------
>        RED                 red server
>
>        Workgroup           Master
>        ---------            -------
>        SMBWG               red

Good. So the hs user is "samba-enabled" and can get a list of the shares on red.

Going back to your initial email, you had "mount error(13): Permission
denied", so you now have to check whether the share that you are
trying to access as hs has the correct mode both in smb.conf and at
the filesystem level.


Reply to: