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

2010-08-02 Thread Tom H
On Sun, Aug 1, 2010 at 10:18 AM, H.S. hs.sa...@gmail.com wrote: On 01/08/10 02:52 AM, Tom H wrote: Run mkdir /home/hs/testsamba tail -f /var/log/messages on the client and try both mount -v -t cifs //192.168.0.8/testsamba /home/hs/testsamba -o

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

2010-08-01 Thread Tom H
On Sat, Jul 31, 2010 at 1:45 PM, H.S. hs.sa...@gmail.com wrote: On 29/07/10 02:23 PM, Stephan Seitz wrote: On Wed, Jul 28, 2010 at 11:11:31AM -0400, H.S. wrote: ~$ sudo mount -v -t cifs -o user=username //sambaserver/Share ~/mnt/Share Password: username's password here mount.cifs

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

2010-08-01 Thread H.S.
On 01/08/10 02:52 AM, Tom H wrote: On Sat, Jul 31, 2010 at 1:45 PM, H.S.hs.sa...@gmail.com wrote: On 29/07/10 02:23 PM, Stephan Seitz wrote: On Wed, Jul 28, 2010 at 11:11:31AM -0400, H.S. wrote: ~$ sudo mount -v -t cifs -o user=username //sambaserver/Share ~/mnt/Share Password:

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

2010-08-01 Thread Mr Smiley
Hi I remember now how i used it. First you have to run a smbmount // command, this fails but creates the cifs directory, it doesn't exist till your first smbmount command. It's a temporary directory which disappears on next boot. then run echo 0 /proc/fs/cifs/LinuxExtensionsEnabled and now

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

2010-08-01 Thread H.S.
On 01/08/10 10:19 AM, Mr Smiley wrote: Hi I remember now how i used it. First you have to run a smbmount // command, this fails but creates the cifs directory, it doesn't exist till your first smbmount command. It's a temporary directory which disappears on next boot. then run echo 0

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

2010-07-31 Thread H.S.
On 29/07/10 02:26 PM, Mr Smiley wrote: 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

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

2010-07-31 Thread H.S.
On 29/07/10 02:23 PM, Stephan Seitz wrote: On Wed, Jul 28, 2010 at 11:11:31AM -0400, H.S. wrote: ~$ sudo mount -v -t cifs -o user=username //sambaserver/Share ~/mnt/Share Password: username's password here mount.cifs kernel mount options:

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

2010-07-29 Thread H.S.
On 29/07/10 12:28 AM, H.S. wrote: On 28/07/10 11:46 PM, Tom H wrote: Please try again smbclient -L //server_ip_address -Uuser 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

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

2010-07-29 Thread Camaleón
On Thu, 29 Jul 2010 10:17:48 -0400, H.S. wrote: On 29/07/10 12:28 AM, H.S. wrote: On 28/07/10 11:46 PM, Tom H wrote: Please try again smbclient -L //server_ip_address -Uuser for both users Aha! Works for both users. Here is the output for my username on sambaserver machine named red:

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

2010-07-29 Thread H.S.
On 29/07/10 10:29 AM, Camaleón wrote: mount -t cifs //192.168.0.8/share -o username=hs /mnt/share No luck. I get mount error(13): Permission denied. Nothing in syslog of the server. In the samba logs, the only info I have is regarding the smbclient command that worked last night, and this

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

2010-07-29 Thread Camaleón
On Thu, 29 Jul 2010 10:48:21 -0400, H.S. wrote: On 29/07/10 10:29 AM, Camaleón wrote: mount -t cifs //192.168.0.8/share -o username=hs /mnt/share No luck. I get mount error(13): Permission denied. Nothing in syslog of the server. Nothing in dmesg? :-? Permission denied sounds a bit

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

2010-07-29 Thread Florian Kulzer
On Thu, Jul 29, 2010 at 10:48:21 -0400, H.S. wrote: On 29/07/10 10:29 AM, Camaleón wrote: mount -t cifs //192.168.0.8/share -o username=hs /mnt/share No luck. I get mount error(13): Permission denied. Nothing in syslog of the server. In the samba logs, the only info I have is regarding

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

2010-07-29 Thread H.S.
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

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

2010-07-29 Thread H.S.
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

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

2010-07-29 Thread Camaleón
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

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

2010-07-29 Thread Tom H
On Thu, Jul 29, 2010 at 12:28 AM, H.S. hs.sa...@gmail.com wrote: On 28/07/10 11:46 PM, Tom H wrote: Please try again smbclient -L //server_ip_address   -Uuser for both users Aha! Works for both users. Here is the output for my username on sambaserver machine named red: $ smbclient -L

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

2010-07-29 Thread Mr Smiley
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-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact

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

2010-07-29 Thread Mr Smiley
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

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

2010-07-29 Thread H.S.
On 29/07/10 02:09 PM, Tom H wrote: 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

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

2010-07-29 Thread Stephan Seitz
On Wed, Jul 28, 2010 at 11:11:31AM -0400, H.S. wrote: ~$ 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

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

2010-07-29 Thread Camaleón
On Thu, 29 Jul 2010 17:03:03 +, Camaleón wrote: On Thu, 29 Jul 2010 12:37:26 -0400, H.S. wrote: On 29/07/10 11:13 AM, Camaleón wrote: (...) 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

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

2010-07-28 Thread H.S.
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

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

2010-07-28 Thread Aniruddha
On Wed, Jul 28, 2010 at 5:11 PM, H.S. hs.sa...@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

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

2010-07-28 Thread Aniruddha
You can also try: sudo mount -t cifs //ipaddress/Share ~/mnt/Share -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org Archive:

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

2010-07-28 Thread H.S.
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

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

2010-07-28 Thread Camaleón
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

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

2010-07-28 Thread H.S.
On 28/07/10 04:45 PM, Camaleón wrote: On Wed, 28 Jul 2010 16:30:41 -0400, H.S. wrote: 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 =

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

2010-07-28 Thread Tom H
On Wed, Jul 28, 2010 at 8:32 PM, H.S. hs.sa...@gmail.com wrote: On 28/07/10 04:45 PM, Camaleón wrote: On Wed, 28 Jul 2010 16:30:41 -0400, H.S. wrote: 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

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

2010-07-28 Thread H.S.
On 28/07/10 09:12 PM, Tom H wrote: On Wed, Jul 28, 2010 at 8:32 PM, H.S.hs.sa...@gmail.com wrote: On 28/07/10 04:45 PM, Camaleón wrote: On Wed, 28 Jul 2010 16:30:41 -0400, H.S. wrote: IP address instead of the hostname doesn't make any difference. Strangely, I am not getting any errors in

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

2010-07-28 Thread Tom H
On Wed, Jul 28, 2010 at 9:37 PM, H.S. hs.sa...@gmail.com wrote: On 28/07/10 09:12 PM, Tom H wrote: On Wed, Jul 28, 2010 at 8:32 PM, H.S.hs.sa...@gmail.com  wrote: On 28/07/10 04:45 PM, Camaleón wrote: On Wed, 28 Jul 2010 16:30:41 -0400, H.S. wrote: IP address instead of the hostname

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

2010-07-28 Thread H.S.
On 28/07/10 11:46 PM, Tom H wrote: On Wed, Jul 28, 2010 at 9:37 PM, H.S.hs.sa...@gmail.com wrote: No. But I tried that name as well which I was using from the Windows box. Here is what I get with the command you mentioned: $ smbclient -L -I //hostname/Share -U hs Enter hs's password: