[Ubuntu-BR] Apple Snow Leopard e SMB

Fábio Rabelo fabio em fabiorabelo.wiki.br
Segunda Abril 5 18:50:31 UTC 2010


Um comentário, e não a solução para o seu problema .

O sr. já tentou usar netatalk para que os MACs tenham acesso ao seu servidor
:

apt-get  install  netatalk

e leia a documentação, eu acho mais simples do que ficar fazendo gambiarras
no Samba .


Fábio Rabelo



Em 5 de abril de 2010 15:34, joe zyrk <joezyrk em gmail.com> escreveu:

> Saudações a todos...
>
> Mal tive tempo de implementar o SCP segundo a orientação dos colegas e já
> entrou outra urgência...
>
> Mas TI é assim mesmo, então vamos a luta....
>
> Estou com uma máquina na rede que é da Apple com sistema operacional novo,
> o
> Snow Leopard, e que veio com um "bug", segundo descrição da matéria a
> seguir
> informando que já havia corrigido.
>
> http://www.kerodicas.com/downloads/software/mac/artigo=32790
>
> Entretanto, o erro ainda acontece impedindo que usuários com este novo
> sistema operacional possam gravar, copiar, editar ou gravar arquivos na
> partição SMB (seja Ubuntu ou não) e mesmo no Windows.
>
> Consegui alterar por meio de linha de comando no arquivo SMB do MAC uma
> linha que inibe o stream do nome do arquivo, assim o usuário pode salvar,
> editar e deletar o arquivo, mas não pode copiá-lo de sua estação para o
> servidor onde está o SMB, segundo a orientação a seguir:
>
> -------------------
> Mac OS X v10.5, v10.6: About named streams on SMB-mounted NAS, Mac OS X,
> and
> Windows servers; "-36" or "-50" alerts may appear
>
>   - *Last Modified:* February 26, 2010
>   - *Article:* HT4017
>
>
> <
> http://support.apple.com/kb/index?page=login&redirect=http%3A%2F%2Fsupport.apple.com%2Fkb%2Findex%3Fpage%3Dkb%26id%3DHT4017%26locale%3Den_US%26login%3Demail
> >
>
> <http://www.apple.com/support/expert>
>
> <http://support.apple.com/kb/HT4017>
>
> Learn about using named streams over SMB connections in this advanced
> article.
>
> Named streams are used to store Mac OS X extended attributes and can be
> leveraged to avoid using AppleDouble files to store the data fork and the
> resource fork of legacy Mac files.
>
> Mac OS X Server v10.5 and v10.6, as well as many Network Attached Storage
> (NAS) devices, support named streams when you connect to them via SMB.
>
> Microsoft Windows servers with NTFS-formatted hard drives also support
> named
> streams when you connect to them via SMB; named streams are called
> "Alternate Data Streams" in Windows.
>
> Mac OS X v10.5 and v10.6 clients automatically enable named streams support
> when they have a SMB connection to a Mac OS X Server v10.5 or v10.6-based
> server.
>
> Mac OS X v10.6 clients automatically enable named streams over SMB when the
> NAS or Windows server claims to support it.  See below for details about
> how
> to activate Mac OS X v10.5 client support of named streams over SMB
> connections to a NAS or Windows server.
>
> You can enable named streams in three different ways, as described below.
> Mac OS X Server 10.5, Mac OS X 10.5, Mac OS X 10.6, Mac OS X Server 10.6
> Enabling named streamsDisabling named streams
>
> *To disable named streams for Mac clients on a per SMB mount point basis*
>
>   1. Mount the NAS device or Windows server on your Mac via SMB. *Note*: A
>   NAS is used in the below example command.
>   2. Run the Terminal command ls /Volumes and note the proper mount name
>   for your shared NAS.
>   3. Run this command in Terminal (replace *SharedNAS* with the proper
>   mount name of your shared NAS):
>
>   touch "/Volumes/*SharedNAS*/.com.apple.smb.streams.off*"*
>
>   4. Eject the NAS or Windows server by dragging it to the Trash.
>
> Named streams will now be deactivated whenever the NAS or Windows server is
> mounted.
>
> *To disable named streams as a default for your Mac OS X client user
> account
> *
>
> Execute these two commands in Terminal:
>
> echo "[default]" >>  ~/Library/Preferences/nsmb.conf
> echo "streams=no" >> ~/Library/Preferences/nsmb.conf
>
> *To disable named streams as a default for all Mac OS X client user
> accounts
> on a Mac
> *
>
> Log in to Mac OS X with an admin user account if you aren't already logged
> in as an admin, then execute these two commands in Terminal:
>
> echo "[default]" | sudo tee -a /etc/nsmb.conf
> echo "streams=no" | sudo tee -a /etc/nsmb.conf
>
> -------------------
>
>
> Se os colegas tiverem alguma dica em relação ao Samba para que possamos
> evitar este tipo de erro e não precisar aguardar por uma atualização da
> Apple, agradeço a ajuda.
>
> Abraço,
>
> Joe.
> --
> Mais sobre o Ubuntu em português: http://www.ubuntu-br.org/comece
>
> Lista de discussão Ubuntu Brasil
> Histórico, descadastramento e outras opções:
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-br
>



More information about the ubuntu-br mailing list