From: H.S. on
On 29/07/10 11:13 AM, Camaleón wrote:
> On Thu, 29 Jul 2010 10:48:21 -0400, H.S. wrote:
>
> Nothing in "dmesg"? :-?

nope.

>
> "Permission denied" sounds a bit cryptic. I assume you are mounting the
> share being "root".
>
> Does accessing via nautilus/konqueror ("smb://192.168.0.8/share/") work?
>

Ha! Yes, it works with dolphin file browser (I am using KDE). I can
browse the network, then browse samba shares and then when I click on
the samba server, I can click on the shares, I am then prompted for a
username and password, which are given and then I can browse the shared
folders. This all works.

Perhaps I should just ditch mounting the share using cifs. :-?

I am not much familiar with samba clients. So I have this question in my
mind now, what is the status of cifs at this time in Linux? Is it a
popular option? I used to use smbmount in the past, but I gather that it
is provided by smbfs and is deprecated or to be replaced by cifs?





--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i2sao7$93j$1(a)dough.gmane.org
From: H.S. on
On 29/07/10 11:09 AM, Florian Kulzer wrote:
>
> This is grasping at straws, but you can try:
>
> mount -t cifs //192.168.0.8/user$/share -o username=hs /mnt/share
>
> ("user$" is a literal string here and does not indicate variable
> substitution or similar.)
>

No luck, same problem :(

But please check my other recent post, browsing the shares with dolphin
in KDE works.


--

Please reply to this list only. I read this list on its corresponding
newsgroup on gmane.org. Replies sent to my email address are just
filtered to a folder in my mailbox and get periodically deleted without
ever having been read.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/i2saql$93j$2(a)dough.gmane.org
From: Camaleón on
On Thu, 29 Jul 2010 12:37:26 -0400, H.S. wrote:

> On 29/07/10 11:13 AM, Camaleón wrote:

(...)

>> Does accessing via nautilus/konqueror ("smb://192.168.0.8/share/")
>> work?
>>
>>
> Ha! Yes, it works with dolphin file browser (I am using KDE). I can
> browse the network, then browse samba shares and then when I click on
> the samba server, I can click on the shares, I am then prompted for a
> username and password, which are given and then I can browse the shared
> folders. This all works.

Good. KDE/GNOE use their own samba client framework to handle samba
shares, different than "mount -t cifs" does.

> Perhaps I should just ditch mounting the share using cifs. :-?

No, mounting a samba share "must" work, but is a bit picky :-).

I do not use it at all, but a mounted samba share offers more
possibilities than just accessing the resource using "smb://" protocol.

(I.e., some programs cannot open/save documents from/to a shared resource
using "smb://", they need a "local" path to work -meaning "/mnt" and
such).

> I am not much familiar with samba clients. So I have this question in my
> mind now, what is the status of cifs at this time in Linux? Is it a
> popular option? I used to use smbmount in the past, but I gather that it
> is provided by smbfs and is deprecated or to be replaced by cifs?

It's a very popular option... but people using two linux boxes tend to
prefer using "sftp://" (or "fish://" in KDE) for document sharing/
browsing instead samba (it's lighther, safer and easier) :-)

Anyway, "mount -t cifs" has to work, there must be something we are
missing here...

Greetings,

--
Camaleón


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/pan.2010.07.29.17.03.03(a)gmail.com
From: Tom H on
On Thu, Jul 29, 2010 at 12:28 AM, H.S. <hs.samix(a)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.


--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/AANLkTi?WXsnYuFwYk1c+NYvMGGJnR5oN-RTVM9ssXo(a)mail.gmail.com
From: Mr Smiley on
Sorry, also try

echo 0 > /proc/fs/cifs/LinuxExtensionsEnabled

and then smbmount again.

It's one of the two, but at the mo can't remember which, but both at the same time won't hurt.


Try

echo 0 > /proc/fs/cifs/OplockEnabled


then try and smbmount again.


Mr Smiley


A man with a thermometer knows the temperature. A man with
two thermometers is never sure.










--
To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org
Archive: http://lists.debian.org/252882.26273.qm(a)web56602.mail.re3.yahoo.com