I'm using Ubuntu 14.04 LTS x86_64.
I'm trying to mount a windows share on boot, but occur this error message on syslog:
CIFS VFS: Error connecting to socket. Aborting operation. CIFS VFS: Error connecting to socket. Aborting operation. CIFS VFS: cifs_mount failed w/return code = -113 CIFS VFS: cifs_mount failed w/return code = -113
My fstab lines:
//ardo/gra /mnt/gra cifs credentials=/etc/.ardo1,iocharset=utf8,uid=1000,sec=ntlm 0 0 //192.168.0.19/pro /mnt/pro cifs credentials=/root/.ardo1,iocharset=utf8,sec=ntlm,dir_mode=0777,file_mode=0777,uid=www-data,gid=users,nobrl 0 0
When I run sudo mount -a works fine.
The permissions on credential file are 0600, owner root, with user and password.
I researched some forums, and try somethings like use IP, different options in fstab, I've installed samba cifs-utils smbnetfs libpam-mount, editted /etc/nsswitch.conf and added hosts: wins, inserted IP/Name in hosts, change credentials dir. But anything works.