Não é possível montar a partilha de ficheiros OSX 10.8 com o CIFS a partir do Ubuntu 12.04

2

Estou tentando (e falhando) montar um compartilhamento hospedado no meu laptop OSX, no meu servidor Ubuntu 12.04. O servidor é um Vbox vm rodando em um macbook air.

Esta é minha /etc/fstab entry

//192.168.56.1/Users/sandfox/code /mnt/hostfs cifs user=sandfox,password=passwordhere,nounix,sec=ntlmssp,noperm,rw

e esta a saída do Ubuntu quando eu corro sudo mount -a -vvvv

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: proc already mounted on /proc
mount: spec:  "//192.168.56.1/Users/sandfox/code"
mount: node:  "/mnt/hostfs"
mount: types: "cifs"
mount: opts:  "user=sandfox,password=RebelRepublic85,nounix,ver=2,sec=ntlmssp,noperm,rw"
mount: external mount: argv[0] = "/sbin/mount.cifs"
mount: external mount: argv[1] = "//192.168.56.1/Users/sandfox/code"
mount: external mount: argv[2] = "/mnt/hostfs"
mount: external mount: argv[3] = "-v"
mount: external mount: argv[4] = "-o"
mount: external mount: argv[5] = "rw,user=sandfox,password=passwordhere,nounix,ver=2,sec=ntlmssp,noperm"
mount.cifs kernel mount options: ip=192.168.56.1,unc=\192.168.56.1\Users,nounix,ver=2,sec=ntlmssp,noperm,ver=1,user=sandfox,prefixpath=sandfox/code,pass=********
mount error(5): Input/output error
Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)

e aqui está a saída do /var/log/system.log

da máquina OSX
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: uid=0
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: init request
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: init return domain: MACBOOKAIR-FD34 server: JAMESS-MACBOOK-AIR
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: uid=0
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: init request
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: init return domain: MACBOOKAIR-FD34 server: JAMESS-MACBOOK-AIR
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: uid=0
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: od failed with 2 proto=ntlmv2
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request: user=MACBOOKAIR-FD34\sandfox
Jul 31 13:33:37 Jamess-MacBook-Air.local digest-service[49237]: digest-request kdc: ok user=MACBOOKAIR-FD34\sandfox proto=ntlmv2 flags: 
Jul 31 13:33:37 Jamess-MacBook-Air.local smbd[49120]: MACBOOKAIR-FD34\sandfox connected to path /var/rpc/ncacn_np

Eu percebi isso nos primeiros dias por problemas com o OSX, mas alguém tem alguma pista? se você precisar de mais informações, me avise.

    
por James Butler 31.07.2012 / 14:46

0 respostas