Re: Re: deprecated smbmount --> mount.cifs

2009-01-26 Thread Amit Finkler

Tried that. The output is as follows:


parsing options: rw,username=amitf%mypassword


mount.cifs kernel mount options 
unc=//servername\share,ip=xxx.xxx.xxx.xxx,pass=mypassword,ver=1,rw,username=amitf, 


mount error 5 = Input/output error
Refer to the mount.cifs(8) manual page (e.g.man mount.cifs)


xxx.xxx.xxx.xxx stands for the server's real IP address.


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org




Re: deprecated smbmount --> mount.cifs

2009-01-26 Thread Tzafrir Cohen
On Sun, Jan 25, 2009 at 08:14:35PM +0200, Amit Finkler wrote:
> I know, it's been a while, and Lenny has since moved from 2.6.24 to
> 2.6.26. Samba probably has changed a lot as well. However, this
> problem persists...
> 
> Here's what I tried to do and the outcome:
> 
> in1: mount -t cifs //server/share /home/amitf/mount_point -o
> username=amitf%mypassword
> out1: mount error 5 = Input/output error, Refer to the mount.cifs(8)
> manual page (e.g.man mount.cifs)
> 
> in2: mount -t smbfs //server/share /home/amitf/mount_point -o
> username=amitf%mypassword
> out2: mount error 5 = Input/output error, Refer to the mount.cifs(8)
> manual page (e.g.man mount.cifs)
> 
> in3: smbmount //server/share /home/amitf/mount_point -o
> username=amitf%mypassword
> out3: mount error 5 = Input/output error, Refer to the mount.cifs(8)
> manual page (e.g.man mount.cifs)

Let's make this more explicit:

  mount.cifs //server/share /home/amitf/mount_point -o 
'username=amitf%mypassword'

Or even slightly more verbose:

  mount.cifs //server/share /home/amitf/mount_point --verbose -o 
'username=amitf%mypassword'

BTW: the man page mentioned in that message refers to the option
'username' as deprecated, IIRC.

-- 
Tzafrir Cohen | tzaf...@jabber.org | VIM is
http://tzafrir.org.il || a Mutt's
tzaf...@cohens.org.il ||  best
ICQ# 16849754 || friend


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: deprecated smbmount --> mount.cifs

2009-01-25 Thread Amit Finkler
I know, it's been a while, and Lenny has since moved from 2.6.24 to
2.6.26. Samba probably has changed a lot as well. However, this
problem persists...

Here's what I tried to do and the outcome:

in1: mount -t cifs //server/share /home/amitf/mount_point -o
username=amitf%mypassword
out1: mount error 5 = Input/output error, Refer to the mount.cifs(8)
manual page (e.g.man mount.cifs)

in2: mount -t smbfs //server/share /home/amitf/mount_point -o
username=amitf%mypassword
out2: mount error 5 = Input/output error, Refer to the mount.cifs(8)
manual page (e.g.man mount.cifs)

in3: smbmount //server/share /home/amitf/mount_point -o
username=amitf%mypassword
out3: mount error 5 = Input/output error, Refer to the mount.cifs(8)
manual page (e.g.man mount.cifs)

I tried replacing the server name with its complete IP address, to no avail.
I don't know if it's related, but I added the two following lines to
my /etc/samba/smb.conf

client plaintext auth = yes
client lanman auth = yes

and now the following command works (it didn't before)
smbclient -L servername -U amitf

Other than that I'm pretty much at a loss here.

Help will be greatly appreciated.

Amit Finkler


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org



Re: deprecated smbmount --> mount.cifs

2008-05-09 Thread Amit Finkler
Tobias Nissen wrote:
> Amit Finkler wrote:
>   
>> After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood
>> using smbmount doesn't work anymore (mount.cifs error number 5 -
>> input/output)
>>
>> smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username
>> amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0
>>
>> 
>
> smbmount //host/share /mnt/target/ \
>   -o username=usern,fmask=644,dmsak=755,uid=1000,gid=1000,debug=0
>
> works here[0] (note the notation of the -o-argument) with the 
> following output:
>
>   Warning: ignoring deprecated smbfs option 'debug=0'
>   WARNING: 'fmask' not expressed in octal.
>   WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead
>
> Regards,
> Tobias
>
> [0] up-to-date Lenny, Linux 2.6.24-1
>   
I'll try that, thanks.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: deprecated smbmount --> mount.cifs

2008-05-09 Thread Tobias Nissen
Amit Finkler wrote:
> After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood
> using smbmount doesn't work anymore (mount.cifs error number 5 -
> input/output)
> 
> smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username
> amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0
> 

smbmount //host/share /mnt/target/ \
  -o username=usern,fmask=644,dmsak=755,uid=1000,gid=1000,debug=0

works here[0] (note the notation of the -o-argument) with the 
following output:

  Warning: ignoring deprecated smbfs option 'debug=0'
  WARNING: 'fmask' not expressed in octal.
  WARNING: CIFS mount option 'fmask' is deprecated. Use 'file_mode' instead

Regards,
Tobias

[0] up-to-date Lenny, Linux 2.6.24-1


pgpsKp9stpnFh.pgp
Description: PGP signature


deprecated smbmount --> mount.cifs

2008-05-08 Thread Amit Finkler
Hi,

After upgrading to kernel 2.6.24, the usual line in my LinNeighborhood
using smbmount doesn't work anymore (mount.cifs error number 5 -
input/output)

smbmount //GURU/SuperC_small$ /home/amitf/SuperC$/ -o username
amitf% fmask 644 dmask 755 uid 1000 gid 1000 debug 0

Can someone please "translate" it to the new syntax of mount.cifs for me?

Thanks,

Amit.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]