cifs-utils in squeeze v. wheezy/LMDE

Connection sharing, Firewall, Samba..etc
Forum rules
Before you post please read this

cifs-utils in squeeze v. wheezy/LMDE

Postby bigbenaugust on 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?
bigbenaugust
Level 1
Level 1
 
Posts: 33
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 408/650

Linux Mint is funded by ads and donations.
 

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

Postby altair4 on 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.
altair4
Level 15
Level 15
 
Posts: 5798
Joined: Tue Feb 03, 2009 10:27 am

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

Postby bigbenaugust on 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.
bigbenaugust
Level 1
Level 1
 
Posts: 33
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 408/650

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

Postby bigbenaugust on 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.
bigbenaugust
Level 1
Level 1
 
Posts: 33
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 408/650

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

Postby blink4blog on 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
blink4blog
Level 1
Level 1
 
Posts: 2
Joined: Tue Nov 29, 2011 11:28 pm

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

Postby bigbenaugust on 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.
bigbenaugust
Level 1
Level 1
 
Posts: 33
Joined: Wed Dec 07, 2011 2:46 pm
Location: the 408/650

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

Postby dovido on 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!
dovido
Level 1
Level 1
 
Posts: 1
Joined: Wed Oct 31, 2012 12:21 pm

Linux Mint is funded by ads and donations.
 

Return to Other networking topics

Who is online

Users browsing this forum: No registered users and 3 guests