FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 05-09-2008, 03:25 AM
"Amit Finkler"
 
Default deprecated smbmount --> mount.cifs

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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 05-09-2008, 09:26 AM
Tobias Nissen
 
Default deprecated smbmount --> mount.cifs

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=10 00,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
 
Old 05-09-2008, 01:33 PM
Amit Finkler
 
Default deprecated smbmount --> mount.cifs

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=10 00,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 debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-25-2009, 05:14 PM
Amit Finkler
 
Default deprecated smbmount --> mount.cifs

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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-26-2009, 07:21 AM
Tzafrir Cohen
 
Default deprecated smbmount --> mount.cifs

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 | tzafrir@jabber.org | VIM is
http://tzafrir.org.il | | a Mutt's
tzafrir@cohens.org.il | | best
ICQ# 16849754 | | friend


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 
Old 01-26-2009, 08:25 AM
Amit Finkler
 
Default deprecated smbmount --> mount.cifs

Tried that. The output is as follows:


parsing options: rw,username=amitf%mypassword


mount.cifs kernel mount options
unc=//servernameshare,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-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
 

Thread Tools




All times are GMT. The time now is 04:08 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org