cifs-utils in squeeze v. wheezy/LMDE

Archived topics about LMDE 1
Forum rules
bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

cifs-utils in squeeze v. wheezy/LMDE

Postby bigbenaugust » Thu Dec 15, 2011 2:22 pm

Not sure whether to go to the Debian forums or here, but I am indeed stumped by this one.

The following command:

Code: Select all

sudo mount.cifs //server-name/share\$ /mnt/share -o rw,user=username,pass=hahahaha,dom=WIN,uid=username,gid=groupname,sec=ntlmv2,iocharset=utf8

Just Works on a freshly installed Debian Squeeze box. Install Squeeze, install cifs-utils, create mount point, run above command. (cifs-utils version is 4.5-2 in squeeze)

But in LMDE, I run the exact same command and get the following:

Code: Select all

mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

(cifs-utils version in wheezy is 5.1-2)

I've tried configuring winbind, using the FQDN for the server and various permutations of the server and share name.

Does anyone know what changed in mount.cifs?
--Ben

altair4
Level 17
Level 17
Posts: 7954
Joined: Tue Feb 03, 2009 10:27 am

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby altair4 » Thu Dec 15, 2011 2:57 pm

Instead of "sudo mount.cifs ..." try "sudo mount -t cifs ....."
Please add a [SOLVED] at the end of your original subject header if your question has been answered and solved.

bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby bigbenaugust » Thu Dec 15, 2011 3:21 pm

Same deal. Works in Squeeze, fails with same error in Wheezy/LMDE.

Also, the verbose option to mount.cifs is unhelpful.
--Ben

bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby bigbenaugust » Thu Dec 15, 2011 3:26 pm

I even tried downgrading the package in LMDE to the Squeeze version. This leads me to believe that a dependency somewhere is malfunctioning.
--Ben

blink4blog
Level 1
Level 1
Posts: 2
Joined: Tue Nov 29, 2011 11:28 pm

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby blink4blog » Sun Feb 26, 2012 11:59 pm

Sorry if I been hijacking this post but just want to stress that using "mount -t cifs ..." will crash the entire system and a force shutdown is required.

Been using default repos and uname -a:

3.0.0-1-amd64 #1 SMP x86_64 GNU/Linux

bigbenaugust
Level 3
Level 3
Posts: 107
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 919

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby bigbenaugust » Fri Aug 17, 2012 1:03 am

I will answer my own question 9 months later. :mrgreen:

Using

Code: Select all

sec=ntlmssp

instead of

Code: Select all

sec=ntlmv2

solved the problem and also enabled me to connect to our shiny new WS2008R2 server.

This option (to use the NT LanMan Secure Session Protocol) is (or was last I checked in May-ish) missing from the man page and most documentation. Maybe someone else will find this useful.
--Ben

dovido
Level 1
Level 1
Posts: 1
Joined: Wed Oct 31, 2012 12:21 pm

Re: cifs-utils in squeeze v. wheezy/LMDE

Postby dovido » Wed Oct 31, 2012 12:24 pm

bigbenaugust wrote:I will answer my own question 9 months later. :mrgreen:

Using

Code: Select all

sec=ntlmssp

instead of

Code: Select all

sec=ntlmv2

solved the problem and also enabled me to connect to our shiny new WS2008R2 server.

This option (to use the NT LanMan Secure Session Protocol) is (or was last I checked in May-ish) missing from the man page and most documentation. Maybe someone else will find this useful.


Thanks bigbenaugust, it worked for me!


Return to “Archive”

Who is online

Users browsing this forum: No registered users and 8 guests