From: H.S. on

I have a Debian machine running Unstable acting as a samba server. The
server was installed a few days ago after a reinstall of the OS. The
older installation's samba configs were backed up and restored after
installation.

The Samba shares are accessible if I access them from a Windows 7
client. The shares, however, cannot be accessed from a Debian client
(newly installed amd64 Testing). The error I get from the Debian client
is the following:
~$ sudo mount -v -t cifs -o user=<username> //sambaserver/Share ~/mnt/Share
Password: .... <username's password here> ....
mount.cifs kernel mount options:
ip=192.168.0.8,unc=//sambaserver/Share,,ver=1,user=<username>,pass=********
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)


I looked at the man page for mount.cifs and I have also tried the
following with the same results:
$ sudo mount -v -t cifs -o user=SMBWG/<username> //sambaserver/Share
~/mnt/Share
(SMBWG is the workgroup)
$ sudo mount -v -t cifs -o user=home.pvt/<username> //sambaserver/Share
~/mnt/Share

What am I missing here?

Thanks.

--

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/i2phb4$ari$1(a)dough.gmane.org
From: Aniruddha on
On Wed, Jul 28, 2010 at 5:11 PM, H.S. <hs.samix(a)gmail.com> wrote:
>
> I have a Debian machine running Unstable acting as a samba server. The
> server was installed a few days ago after a reinstall of the OS. The older
> installation's samba configs were backed up and restored after installation.
>
> The Samba shares are accessible if I access them from a Windows 7 client.
> The shares, however, cannot be accessed from a Debian client (newly
> installed amd64 Testing). The error I get from the Debian client is the
> following:
> ~$ sudo mount -v -t cifs -o user=<username> //sambaserver/Share ~/mnt/Share
> Password: .... <username's password here> ....
> mount.cifs kernel mount options:
> ip=192.168.0.8,unc=//sambaserver/Share,,ver=1,user=<username>,pass=********
> mount error(13): Permission denied

I encountered the same problem a few weeks ago. Unfortunately I don't
have the correct command in bash_history anymore. Can you try:

sudo mount -t cifs -o user=<username>,password=<password>
//<ipaddress>/Share ~/mnt/Share
sudo mount -t cifs -o user=guest //<ipaddress>r/Share ~/mnt/Share

Which message do you get in the Samba logs? You can take a look at the
samba wiki as well:

http://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client


--
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/AANLkTinR4MoFZNRnuEu4d3HrDeHRWY1t_EnFTYUHNd7S(a)mail.gmail.com
From: Aniruddha on
You can also try:

sudo mount -t cifs //<ipaddress>/Share ~/mnt/Share


--
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/AANLkTim4SDxv_d28CJGvJvZdTahYmqnuD+U26D5HEj4e(a)mail.gmail.com
From: H.S. on
On 28/07/10 02:51 PM, Aniruddha wrote:
>
> I encountered the same problem a few weeks ago. Unfortunately I don't
> have the correct command in bash_history anymore. Can you try:
>
> sudo mount -t cifs -o user=<username>,password=<password>
> //<ipaddress>/Share ~/mnt/Share
> sudo mount -t cifs -o user=guest //<ipaddress>r/Share ~/mnt/Share
>
> Which message do you get in the Samba logs? You can take a look at the
> samba wiki as well:
>
> http://wiki.samba.org/index.php/Mounting_samba_shares_from_a_unix_client
>
>

IP address instead of the hostname doesn't make any difference.
Strangely, I am not getting any errors in the logs on the samba server.



--

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/i2q41i$he6$1(a)dough.gmane.org
From: Camaleón on
On Wed, 28 Jul 2010 16:30:41 -0400, H.S. wrote:

> On 28/07/10 02:51 PM, Aniruddha wrote:
>>
>> I encountered the same problem a few weeks ago. Unfortunately I don't
>> have the correct command in bash_history anymore. Can you try:
>>
>> sudo mount -t cifs -o user=<username>,password=<password>
>> //<ipaddress>/Share ~/mnt/Share
>> sudo mount -t cifs -o user=guest //<ipaddress>r/Share ~/mnt/Share
>>
>> Which message do you get in the Samba logs? You can take a look at the
>> samba wiki as well:
>>
>> http://wiki.samba.org/index.php/
Mounting_samba_shares_from_a_unix_client
>>
>>
>>
> IP address instead of the hostname doesn't make any difference.
> Strangely, I am not getting any errors in the logs on the samba server.

Then you can increase the log level verbosity in "smb.conf":

log level = 4

And restart the involved services.

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.28.20.45.51(a)gmail.com