[MASOCH-L] Host para rede interna

Fabrício Veiga fabricioveiga at milnegocios.com.br
Thu Feb 21 08:40:32 -03 2008


Marcelo Estanislau escreveu:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Se apegue nas configurações do samba. nos envie a sua conf.
>
> Abraços,
>
> Marcelo Estanislau Geyer
> marcelo at standardnet.com.br
> Standard Net Tecnologia e Informação
> http://www.standardnet.com.br
> - --
> PGP Key: http://www.keyserver.net - Key ID 0x5812DE5E
>
>
> Fabrício Veiga escreveu:
> | Boa tarde senhores!
> |
> | Estou com um servidor utilizando Apache2, Samba, DNS e Firewall para um
> | rede. Nessa máquina possui a seguinte configuração de rede:
> |
> | eth0 200.x.x.x
> | eth1 192.168.1.254
> |
> | Eu gostaria que as máquinas Windows da rede interna conseguisse enxergar
> | esse firewall como host docs. No caso, mais específicamente, as máquinas
> | Windows acessaria o compartilhamento como \\docs. Não estou conseguindo
> | definir isso no servidor. Estou ajustando no arquivo /etc/hosts.
> |
> | Como poderia resolver isso?
> |
> | Obs.: Não gostaria de configurar um host no arquivo de DNS do domínio
> | dessa máquina com endereço de IP interno.
> |
> | Muito obrigado a todos!!
> |
> | Grato!
> |
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (GNU/Linux)
> Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org
>
> iQCVAwUBR7yhG4+bwQJYEt5eAQKvbwQA34fbo88KH81UO7b7pzO8HrvTW97MYAWs
> jL4B3E1btOmb1njJBqPunD9x2ZAG3vERx91DSFyjONFsG7HhpC6f2CzQsYYUdx5E
> X9ICh2zLk6EJhwp0AMCnpN7jl36MBsRoI+L0jfDYscFuK1nJOUnLsEoc7d5/g41B
> xraY6WN0+Gs=
> =0Zsf
> -----END PGP SIGNATURE-----
> __
> masoch-l list
> https://eng.registro.br/mailman/listinfo/masoch-l
>
>   
Bom dia!

Segue abaixo as configuração do samba - smb.conf

####
#======================= Global Settings =======================

[global]
    server string = %h Servidor Cootravale
;   wins support = no
;   wins server = w.x.y.z
    dns proxy = no
;   name resolve order = lmhosts host wins bcast
    interfaces = eth1
    bind interfaces only = true

#### Debugging/Accounting ####

   log file = /var/log/samba/log.%m
   max log size = 1000
;  syslog only = no
   syslog = 0
   panic action = /usr/share/samba/panic-action %d

####### Authentication #######

   security = user
   encrypt passwords = true
   ;passdb backend = tdbsam
   ;obey pam restrictions = yes
;  guest account = nobody
   invalid users = root
;  unix password sync = no
   passwd program = /usr/bin/passwd %u
   passwd chat = *Enter\snew\sUNIX\spassword:* %n\n 
*Retype\snew\sUNIX\spassword:* %n\n *password\supdated\ssuccessfully* .
;  pam password change = no

########## Domains ###########

;   domain logons = yes
;   logon path = \\%N\profiles\%U
;   logon path = \\%N\%U\profile
;   logon drive = H:
;   logon home = \\%N\%U
;   logon script = logon.cmd
;   add user script = /usr/sbin/adduser --quiet --disabled-password 
--gecos "" %u

########## Printing ##########

;   load printers = yes
;   printing = bsd
;   printcap name = /etc/printcap
;   printing = cups
;   printcap name = cups
;   printer admin = @lpadmin

############ Misc ############

;   include = /home/samba/etc/smb.conf.%m
    socket options = TCP_NODELAY
;   message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
;   domain master = auto
;   idmap uid = 10000-20000
;   idmap gid = 10000-20000
;   template shell = /bin/bash

#======================= Share Definitions =======================

;[homes]
;   comment = Home Directories
;   browseable = no
;   valid users = %S
;   writable = no
;   create mask = 0600
;   directory mask = 0700

;[netlogon]
;   comment = Network Logon Service
;   path = /home/samba/netlogon
;   guest ok = yes
;   writable = no
;   share modes = no

;[profiles]
;   comment = Users profiles
;   path = /home/samba/profiles
;   guest ok = no
;   browseable = no
;   create mask = 0600
;   directory mask = 0700

;[printers]
;   comment = All Printers
;   browseable = no
;   path = /tmp
;   printable = yes
;   public = no
;   writable = no
;   create mode = 0700

;[print$]
;   comment = Printer Drivers
;   path = /var/lib/samba/printers
;   browseable = yes
;   read only = yes
;   guest ok = no
;   write list = root, @ntadmin

;[cdrom]
;   comment = Samba server's CD-ROM
;   writable = no
;   locking = no
;   path = /cdrom
;   public = yes

;   preexec = /bin/mount /cdrom
;   postexec = /bin/umount /cdrom

[publico]
        comment = Arquivos Cootravale
        path = /home/cootravale/publico
        public = yes
        browseable = yes
        writable = yes
        read only = no


-- 
Fabricio Veiga
Mil Negocios Internet
http://www.milnegocios.com.br




More information about the masoch-l mailing list