mi sto scontrando con un problema stranissimo. Da anni ormai monto su fstab con cifs i drive condivisi della rete interna universitaria dal computer del mio ufficio. La parte di fstab che riguarda i drive è
- Codice: Seleziona tutto
//universita/dir1/miadir /home/emanuele/media/dir cifs credentials=/root/.smbpassword,rw,hard,nosetuids,noperm,iocharset=utf8 0 0
//universita/gruppi /home/emanuele/media/mieigruppi cifs credentials=/root/.smbpassword,rw,hard,nosetuids,noperm,iocharset=utf8 0 0
(perdonate la paranoia per aver nascosto gli indirizzi esatti
)Quanto sopra ha funzionato fino a Raring 13.04. Sono recentemente passato a Saucy 13.10 e misteriosamente ottengo un errore di montaggio. dmesg:
- Codice: Seleziona tutto
(omissis)
[ 25.703876] FS-Cache: Loaded
[ 25.819798] FS-Cache: Netfs 'cifs' registered for caching
[ 25.819903] Key type cifs.spnego registered
[ 25.819911] Key type cifs.idmap registered
[ 25.962118] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 25.962127] CIFS VFS: Send error in SessSetup = -13
[ 25.962259] CIFS VFS: cifs_mount failed w/return code = -13
[ 25.963612] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 25.963618] CIFS VFS: Send error in SessSetup = -13
[ 25.963729] CIFS VFS: cifs_mount failed w/return code = -13
[ 46.298905] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 46.298913] CIFS VFS: Send error in SessSetup = -13
[ 46.299133] CIFS VFS: cifs_mount failed w/return code = -13
[ 46.301218] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 46.301227] CIFS VFS: Send error in SessSetup = -13
[ 46.301340] CIFS VFS: cifs_mount failed w/return code = -13
[ 398.633261] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 398.633269] CIFS VFS: Send error in SessSetup = -13
[ 398.633393] CIFS VFS: cifs_mount failed w/return code = -13
[ 398.640842] Status code returned 0xc000006d NT_STATUS_LOGON_FAILURE
[ 398.640847] CIFS VFS: Send error in SessSetup = -13
[ 398.640969] CIFS VFS: cifs_mount failed w/return code = -13
(omissis)
Montaggio da terminale:
- Codice: Seleziona tutto
$ sudo mount -vvv -a
mount: fstab path: "/etc/fstab"
mount: mtab path: "/etc/mtab"
mount: lock path: "/etc/mtab~"
mount: temp path: "/etc/mtab.tmp"
mount: UID: 0
mount: eUID: 0
mount: spec: "//universita/dir1/miadir"
mount: node: "/home/emanuele/media/dir"
mount: types: "cifs"
mount: opts: "credentials=/root/.smbpassword,rw,hard,nosetuids,noperm,iocharset=utf8"
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//universita/dir1/miadir"
mount: external mount: argv[2] = "/home/emanuele/media/dir"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,credentials=/root/.smbpassword,hard,nosetuids,noperm,iocharset=utf8"
mount.cifs kernel mount options: ip=xxx.xxx.xx.xx,unc=\\universita\dir1,hard,nosetuids,noperm,iocharset=utf8,user=lausername,prefixpath=username,pass=************
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
mount: spec: "//universita/gruppi"
mount: node: "/home/emanuele/media/mieigruppi"
mount: types: "cifs"
mount: opts: "credentials=/root/.smbpassword,rw,hard,nosetuids,noperm,iocharset=utf8"
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//universita/gruppi"
mount: external mount: argv[2] = "/home/emanuele/media/gruppi"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,credentials=/root/.smbpasswd,hard,nosetuids,noperm,iocharset=utf8"
mount.cifs kernel mount options: ip=xxx.xxx.xx.xx,unc=\\universita\gruppi,hard,nosetuids,noperm,iocharset=utf8,user=lausername,pass=*************
mount error(13): Permission denied
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
Premesso che ho un altro computer con ancora Raring installato, ho già controllato che:
- il contenuto del file "/root/.smbpassword" sia identico;
- i permessi delle directory "/home/emanuele/media/dir" e "/home/emanuele/media/mieigruppi" e del file "/root/.smbpassword" siano gli stessi;
- le linee riguardanti i drive condivisi degli fstab sui due computer siano identiche.
- i pacchetti riguardanti cifs siano gli stessi (non stessa versione, ovviamente).
Sto iniziando a disperare anche perché per me è accedere ai drive condivisi è fondamentale. Nei limiti delle mie capacità, ho anche cercato in rete alla caccia di qualche bug, ma non ho trovato nulla.
Cosa potete suggerirmi di controllare ancora? Avete qualche idea?
Grazie, ciao.
Emanuele

