|
![]() |
||
Como configurar o Samba....
|
||
. Nós temos 759.211 usuários, convidamos você fazer parte de nossa comunidade também! Se ainda não encontrou o que procura use nossa pesquisa. Esperamos que aprecie nosso trabalho.
![]() |
|
|
Opções do Tópico |
|
|
#1 (permalink) |
|
Novo Membro
Registrado em: Sep 2002
Mensagens: 81
Reputação: 20
![]() |
Olá Doutores.
Minha pergunta e esta: Como posso fazer com que todos os meus cliente possam salvar aqruivos em uma unica pasta. Linux Mandrake 9.1 Exemplo tenho uma Pasta ARQUIVOS onde queria que todos possam salvar aí. Minha configuração atual nao me permite fazer isso somente permite salvar na pasta do Usuario. |
|
|
|
|
|
#2 (permalink) |
|
Tô em todas
|
se vc usa o slackware, um abraço... senao ajuda muito:
http://www.linuxbsd.com.br/phpLinuxB..._slackware.htm
__________________
"Infelizmente... Bem vindo ao século do EGOÍSMO!" By Anonymous |
|
|
|
|
|
#3 (permalink) |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Basta compartilhar uma pasta qualquer (ex: /tmp) e colocar o writable=yes nela ;-)
|
|
|
|
|
|
#4 (permalink) | |
|
Highlander
Registrado em: May 2002
Localização: Tijuca/RJ
Idade: 9
Mensagens: 87.782
Reputação: 1756
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
(/etc/smb.conf) ... [ARQUIVOS] path = /data/arquivos writeable = yes ... -> chmod a+rwx /data/arquivos Mas só não reclame do que vier depois...
__________________
Visite Quepolis (link de indicação) | "chmod 777 nunca ajudou ninguém" (c) 2002-2010 JQueiroz/FGdH
CCNP: √ ² CCSI: □ | Conheça o Novo Bebuns ![]() |
|
|
|
|
|
|
#5 (permalink) | |
|
Super Participante
|
Citação:
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#6 (permalink) | |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Citação:
Browseable = Yes :?: |
|
|
|
|
|
|
#7 (permalink) | |
|
Highlander
Registrado em: May 2002
Localização: Tijuca/RJ
Idade: 9
Mensagens: 87.782
Reputação: 1756
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
__________________
Visite Quepolis (link de indicação) | "chmod 777 nunca ajudou ninguém" (c) 2002-2010 JQueiroz/FGdH
CCNP: √ ² CCSI: □ | Conheça o Novo Bebuns ![]() |
|
|
|
|
|
|
#8 (permalink) | |
|
Super Participante
|
Citação:
Como faço isto?? Não endendi ops:
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#9 (permalink) | |
|
Highlander
Registrado em: May 2002
Localização: Tijuca/RJ
Idade: 9
Mensagens: 87.782
Reputação: 1756
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
__________________
Visite Quepolis (link de indicação) | "chmod 777 nunca ajudou ninguém" (c) 2002-2010 JQueiroz/FGdH
CCNP: √ ² CCSI: □ | Conheça o Novo Bebuns ![]() |
|
|
|
|
|
|
#10 (permalink) | |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Citação:
No Painel de Controle -> Reder tem que estar com o serviço de compartilhamento instalado... e (acho) que tem que ter alguma coisa compartilhada, mas acho que isso não porque ele compartilha o ICS$ como padrão... |
|
|
|
|
|
|
#11 (permalink) | |
|
Super Participante
|
Citação:
ops: Agora entendi. Esta opção já esta habilitada. Tem alguma outra coisa que posso fazer para resolver esta SURRA que estou tomando do samba???
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#12 (permalink) | ||
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Citação:
Citação:
E posta seu smb.conf (já lhe falei isso?) para a gente dar uma olhada... |
||
|
|
|
|
|
#13 (permalink) | |
|
Super Participante
|
Citação:
Eu mereço este puxão de orelha,sim. :wink: Estou enviando o SMB.CONF ( Não esta completo pois o forum não aceita pelo tamanho mais se proscisar de outras informações me avise) [global] # workgroup = NT-Domain-Name or Workgroup-Name workgroup = siemp # server string is the equivalent of the NT Description field server string = samba server # This option is important for security. It allows you to restrict # connections to machines which are on your local network. The # following example restricts access to two C class networks and # the "loopback" interface. For more examples of the syntax see # the smb.conf man page hosts allow = 192.168.0.". # if you want to automatically load your printer list rather # than setting them up individually then you'll need this printcap name = /etc/printcap load printers = yes # It should not be necessary to spell out the print system type unless # yours is non-standard. Currently supported print systems include: # bsd, sysv, plp, lprng, aix, hpux, qnx, cups printing = cups # Uncomment this if you want a guest account, you must add this to /etc/passwd # otherwise the user "nobody" is used ; guest account = pcguest # this tells Samba to use a separate log file for each machine # that connects log file = /var/log/samba/%m.log # Put a capping on the size of the log files (in Kb). max log size = 0 # Security mode. Most people will want user level security. See # security_level.txt for details. security = share # Use password server option only with security = server # The argument list may include: # password server = My_PDC_Name [My_BDC_Name] [My_Next_BDC_Name] # or to auto-locate the domain controller/s # password server = * ; password server = <NT-Server-Name> # Browser Control Options: # set local master to no if you don't want Samba to become a master # browser on your network. Otherwise the normal election rules apply ; local master = no # OS Level determines the precedence of this server in master browser # elections. The default value should be reasonable os level = 33 # Domain Master specifies Samba to be the Domain Master Browser. This # allows Samba to collate browse lists between subnets. Don't use this # if you already have a Windows NT domain controller doing this job ; domain master = yes # Preferred Master causes Samba to force a local browser election on startup # and gives it a slightly higher chance of winning the election ; preferred master = yes # Enable this if you want Samba to be a domain logon server for # Windows95 workstations. ; domain logons = yes # Windows Internet Name Serving Support Section: # WINS Support - Tells the NMBD component of Samba to enable it's WINS Server ; wins support = yes # WINS Server - Tells the NMBD components of Samba to be a WINS Client # Note: Samba can be either a WINS Server, or a WINS Client, but NOT both ; wins server = w.x.y.z # WINS Proxy - Tells Samba to answer name resolution queries on # behalf of a non WINS capable client, for this to work there must be # at least one WINS Server on the network. The default is NO. ; wins proxy = yes # DNS Proxy - tells Samba whether or not to try to resolve NetBIOS names # via DNS nslookups. The built-in default for versions 1.9.17 is yes, # this has been changed in version 1.9.18 to no. username map = /etc/samba/smbusers encrypt passwords = yes dns proxy = no # share share modes = yes ---------------------------------------------- Share ------------------------------------------- [publico] comment = Arquivos diversos path = /home/siemp/publico writeable = yes guest ok = yes
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#14 (permalink) |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Cara, que zona!
Tá faltando uma porrada de coisas, tipo a NETBIOS Usa o Swat para criar o arquivo, ele cria um bem enxuto ![]() Mas se baseia pelo meu: Código:
Arruma o seu, reinicia o samba e tenta de novo ![]() |
|
|
|
|
|
#15 (permalink) |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Ah, e tira esse host allow fora!!!! :evil:
|
|
|
|
|
|
#16 (permalink) | |
|
Highlander
Registrado em: May 2002
Localização: Tijuca/RJ
Idade: 9
Mensagens: 87.782
Reputação: 1756
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
Não compartilhe o drive C:, nem o D:, nem nenhum drive inteiro, nem que seja só pra leitura!!! A não ser que vc queira ser infectado por vírus sem fazer nada... Compartilhe apenas o diretório que realmente precisa, e da mesma forma, nunca compartilhe os diretórios do sistema (C:\Windows e C:\Arquivos de Programas, principalmente)...
__________________
Visite Quepolis (link de indicação) | "chmod 777 nunca ajudou ninguém" (c) 2002-2010 JQueiroz/FGdH
CCNP: √ ² CCSI: □ | Conheça o Novo Bebuns ![]() |
|
|
|
|
|
|
#17 (permalink) | |
|
Highlander
Registrado em: Oct 2001
Localização: $HOME/São Paulo/Tatuapé
Mensagens: 10.305
Reputação: 34
![]() |
Citação:
![]() Eu uso nos meus servidores mirrors e no meu desktop compartilhado como leitura... poderia falar mais sobre isso? ![]() |
|
|
|
|
|
|
#18 (permalink) | |
|
Super Participante
|
Citação:
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#19 (permalink) | |
|
Super Participante
|
Citação:
__________________
Stephano de Souza P4 2.4 HT - Mobo INTEL D845PMB - ATI 9200 - 1GB DDR 400 - SCSI LSI 20320 R - HDD:ST318453LC :18 GB:15K rpm:Ultra320 SCSI Slackware 10.1 + Win2000Pro Seja livre, use LINUX http://spaces.msn.com/members/stephanobhz/ |
|
|
|
|
|
|
#20 (permalink) | |
|
Highlander
Registrado em: May 2002
Localização: Tijuca/RJ
Idade: 9
Mensagens: 87.782
Reputação: 1756
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() |
Citação:
Mas não pense que só tirando permissão de escrita resolve, não esqueça que esses monstrinhos vão poder abrir também os arquivos ".PWL" da máquina, e o registro, e os cookies, os documentos... pronto, é questão de tempo pra uma praga dessas invadir sua máquina. Ah!!! Ele também pode roubar seu bloco de endereços, e começar a enviar mensagens com vírus pra eles também. Ou você compartilharia o "/etc" de seu servidor? :twisted:
__________________
Visite Quepolis (link de indicação) | "chmod 777 nunca ajudou ninguém" (c) 2002-2010 JQueiroz/FGdH
CCNP: √ ² CCSI: □ | Conheça o Novo Bebuns ![]() |
|
|
|
|
![]() |
| Opções do Tópico | |
|
|