As a follow up to this I yesterday upgraded the samba packages on a v8.2
I have the following mounts in an Xubuntu 14.04 LTS desktop
//server/testbay /home/user/Mounts/testbay cifs credentials=/etc/samba/user,uid=1000,gid=500,sec=ntlmv2 0 0
After the upgrade/reboot I got mount errors on the client as follows:
/var/log/kern.log
xubuntu kernel: [22743.557463] CIFS VFS: Send error in SessSetup = -22
xubuntu kernel: [22743.557856] CIFS VFS: cifs_mount failed w/return code = -22
xubuntu kernel: [22743.574662] Status code returned 0xc000000d NT_STATUS_INVALID_PARAMETER
sudo mount -a gives:
mount error(22): Invalid argument
Refer to the mount.cifs(
manual page (e.g. man mount.cifs)
I remembered seeing that ntlmv2 was going to get deprecated/disused and had a note that I should probably move at some point to using
sec=krb5(i) or sec=ntlmssp(i)
I changed to ntlmssp and mounts are not working as before.
//server/general /home/user/Mounts/general cifs credentials=/etc/samba/user,uid=1000,gid=500,sec=ntlmssp 0 0
In this case it is would not appear to be a direct issue with SME but with Xubuntu.
Server packages:
[root@server ~]# rpm -qa |grep samba
samba3x-winbind-3.6.23-12.el5_11
samba3x-3.6.23-12.el5_11
samba3x-client-3.6.23-12.el5_11
samba3x-common-3.6.23-12.el5_11
e-smith-samba-2.2.0-66.el5.sme
For those in a similar scenario I strongly suggest looking at the SSSD/LDAP pages on the wiki here
https://wiki.contribs.org/Client_Authentication:Ubuntu_via_sssd/ldap. It's fairly easy to setup, and works really well.