Samba: Error connecting to socket. Return code -115

Linux howto's, compile information, information on whatever we learned on working with linux, MACOs and - of course - Products of the big evil....
Post Reply
User avatar
^rooker
Site Admin
Posts: 1483
Joined: Fri Aug 29, 2003 8:39 pm

Samba: Error connecting to socket. Return code -115

Post by ^rooker »

[PROBLEM]
I'm trying to connect to Windows DFS once again, and as usual it's a little princess with special needs:
[ 22.784021] CIFS VFS: Error connecting to socket. Aborting operation
[ 22.784086] CIFS VFS: cifs_mount failed w/return code = -115
[SOLUTION]
Thanks to an article on Pragmatic IT, titled "Connecting to DFS Shares with Ubuntu", I found a solution:
  • Install "keyutils":

    Code: Select all

    $ sudo apt-get install keyutils
  • Add the following 2 lines in /etc/request-key.conf:

    Code: Select all

    create  cifs.spnego *   *       /usr/sbin/cifs.upcall -c %k %d
    create  dns_resolver    *   *       /usr/sbin/cifs.upcall %k
By default, the 2 lines in /etc/request-key.conf are "almost" there, already. Just make sure that they look the way I wrote above.
Jumping out of an airplane is not a basic instinct. Neither is breathing underwater. But put the two together and you're traveling through space!
Post Reply