[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Problem with mount.cifs with kernels > 2.8



With the 2.8 kernel mounting a samba share like this works without a problem.  But as soon as I run a kernel > 3.0 (3.2 and 3.6 tried)
I get a mount error(13): Permission denied:

mount.cifs kernel mount options: ip=146.232.x.x,unc=\\x.sun.ac.za\dept,uid=1000,gid=1000,user=jspies,,domain=stb,prefixpath=let/senis,pass=********

When trying with smbclient with a > 3 kernel:

sudo smbclient -d 3 -U stb\jspies //xxx.sun.ac.za/dept/let/senis
lp_load_ex: refreshing parameters
Initialising global parameters
rlimit_max: increasing rlimit_max (1024) to minimum Windows limit (16384)
params.c:pm_process() - Processing configuration file "/etc/samba/smb.conf"
Processing section "[global]"
Unknown parameter encountered: "SO_RCVBUF"
Ignoring unknown parameter "SO_RCVBUF"
added interface eth0 ip=fe80::5e26:aff:fe08:ace2%eth0 bcast=fe80::ffff:ffff:ffff:ffff%eth0 netmask=ffff:ffff:ffff:ffff::
added interface eth0 ip=146.232.116.99 bcast=146.232.119.255 netmask=255.255.252.0
added interface lo ip=127.0.0.1 bcast=127.255.255.255 netmask=255.0.0.0
Client started (version 3.6.6).
Enter stbjspies's password:
Connecting to 146.232.x.x at port 445
Doing spnego session setup (blob length=99)
got OID=1.2.840.48018.1.2.2
got OID=1.2.840.113554.1.2.2
got OID=1.3.6.1.4.1.311.2.2.10
got principal=xx$@STB.SUN.AC.ZA
Got challenge flags:
Got NTLMSSP neg_flags=0x60898205
NTLMSSP: Set final flags:
Got NTLMSSP neg_flags=0x60088205
NTLMSSP Sign/Seal - Initialising with flags:
Got NTLMSSP neg_flags=0x60088205
SPNEGO login failed: Logon failure
session setup failed: NT_STATUS_LOGON_FAILURE

Does anyone have an idea how to solve this?

As a workaround I boot a 2.8 kernel when I want to use the cifs-mount but that is not supposed to be...

Regards
Johann
--
Because experiencing your loyal love is better than life itself,
my lips will praise you.  (Psalm 63:3)


Reply to: