Não é assim tão simples.
Passo1-acrescentar ao arquivo /etc/fuse.conf :
user_allow_other

Passo2-acrescentar ao arquivo /etc/samba/cred-file (se ele não
existir, entao voce cria)
username=nomedousuario
password=senha

Passo3-cria a pasta onde a unidade compartilhada será montada
sudo mkdir -p /media/compartilhamento
sudo chmod 777 /media/compartilhamento

Aí, finalmente voce edita o /etc/fstab e acrescenta :
//servidor/compartilhamento /media/caixa_entrada smbfs
user,noauto,credentials=/etc/samba/cred-file,uid=seulogin,gid=seulogin,file_mode=0775,dir_mode=0775
0 0

Se voce não precisa desse tipo de montagem, o mais simples é ir no
GNOME->Locais->Conectar ao Servidor e fornecer as credenciais, daí ele
monta para voce na area de trabalho.

[]'s e sucesso

2008/8/5 MiLTòiN <[EMAIL PROTECTED]>:
> Olá.
>
> estou tentando montar um compartilhamento samba, feito no meu
> pc-desktop, com ubuntu 8.04 instalado, no meu laptop, com xubuntu
> 8.04. editei meu fstab desta forma:
>
> # /etc/fstab: static file system information.
> #
> # <file system> <mount point>   <type>  <options>       <dump>  <pass>
> proc            /proc           proc    defaults        0       0
> # /dev/sda2
> UUID=f538b4ba-98c9-42a5-be0b-640aeaa333d4 /               ext3
> relatime,errors=remount-ro 0       1
> # /dev/sda4
> UUID=c7856dc6-f1b5-4e2a-8cab-8d8c2627cae8 none            swap    sw
>           0       0
> /dev/scd0       /media/cdrom0   udf,iso9660 user,noauto,exec,utf8 0       0
> #usbdevfs /media/pen-drive usbdevfs defaults 0 0
> //192.168.1.4/media/hd-250GB /home/miltoin/Desktop/HD-250GB smb noauto,user 0 > 0
>
> quando rodo tento montar:
>
> [EMAIL PROTECTED]:~$ sudo mount /home/miltoin/Desktop/HD-250GB/
> [mntent]: warning: no final newline at the end of /etc/fstab
> mount: unknown filesystem type 'smb'
>
> aparece a mensagem acima. tenho que instalar o samba no meu laptop
> também? não entendi o porquê do erro.
>
>
> desde já, gracias!
> MiLToN
> --
> Interessado em aprender mais sobre o Ubuntu em português?
> http://wiki.ubuntu-br.org/ComeceAqui  -
> ubuntu-br mailing list
> [email protected]
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>

-- 
Interessado em aprender mais sobre o Ubuntu em português?
http://wiki.ubuntu-br.org/ComeceAqui  -
ubuntu-br mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-br

Responder a