1. UNIVERSIDAD TECNICA DE AMBATO
F.I.S.E.I
INFORME DEL PROYECTO
TEMA: INTEROPERABILIDAD ENTRE WINDOWS SERVER 2003 Y UBUNTU
SERVER 10
INTEGRANTES: CALAPIÑA DANIEL
MORETA LUIS
MUNGABUSI LUIS
PALATE LUIS
OBJETIVOS: COMPARTIR RECURSOS ENTRE TODAS LAS MAQUINAS QUE
ESTEN CONECTADAS EN LA RED.
PROCEDIMIENTO:
1. Configuración de Windows Server 2003
1.1 Configuración de la tarjeta de red
Para la configuración de la tarjeta de red, debemos asignar una IP estática
siguiendo los pasos siguientes:
Inicio/ Panel de Control/ Conexiones de Red/ Conexión de Área Local/ General/
propiedades/ General
Aquí señalamos: “Protocolo de Internet (TCP/IP)” y damos clic en propiedades,
señalamos la opción: “Usar la siguiente Dirección IP” y escribimos lo siguiente:
Dirección IP: 192.168.0.1
Mascara de Subred: 255.255.255.0
Luego damos clic en “Aceptar”, “Aceptar” y “Cerrar”.
Para verificar si los cambios realizados han tenido efecto se debe ejecutar la
consola y escribir “ipcofig”, así:
Inicio/Ejecutar>cmd>ipconfig
En la ventana de la consola nos mostrará la IP y la máscara de subred que
nosotros pusimos.
Nota: Para configurar Windows Server 2003 es necesario que el cable de red
esté conectado a la tarjeta de red y a un swich.
1.2 Configuración de Active Directory
Para activar el asistente de Instalación de Active Directory, ejecutamos lo
siguiente:
2. Inicio/ Ejecutar > dcpromo
Inmediatamente se ejecutara el Asistente de Instalación de Active Directory y
para configurarlo debemos seguir los pasos siguientes:
Siguiente/ Siguiente/ “Controlador de dominio para un dominio nuevo” >
Siguiente/ “Dominio en un nuevo bosque” > Siguiente/ “No, Solo instalar y
configurar DNS en este equipo” > Siguiente/ > “servidor.com” > Siguiente/ >
“SERVIDOR” > Siguiente/ Siguiente/ Siguiente/ “Permisos Compatibles solo con
sistemas operativos de servidor Windows 2000 o Windows Server 2003” > Siguiente/
contraseña: “luisjavier” > Confirmar contraseña: “luisjavier” > Siguiente/ Siguiente.
Esperamos hasta que se instale, luego damos clic en finalizar y reiniciamos el equipo.
1.3 Configuración del DNS
Para configurar el DNS debemos seguir los pasos siguientes:
Inicio/ Herramientas Administrativas/ DNS
En esta ventana seleccionamos: “Zona de búsqueda inversa” y damos clic derecho,
escojamos la opción: “Zona Nueva” y se ejecutara el Asistente para Crear Zona Nueva,
Y comenzaremos a configurar así:
Siguiente/ “Zona Principal” > Siguiente/ “Para todos los controladores de dominio en el
ámbito servidor.com de Active Directory” > Siguiente/ “Id. de red: 192.168.0” >
Siguiente/ “Permitir solo actualizaciones dinámicas seguras recomendado para Active
Directory” > Siguiente/ Finalizar.
Para verificar si esta configurado el DNS ejecutamos:
Inicio/ Ejecutar > nslookup > servidor.com
1.4 Configuración del DHCP
Para la configuración del DHCP debemos seguir los siguientes pasos:
Inicio/ Herramientas Administrativas/ Asistente para configurar su servidor/ Siguiente/
Siguiente/ > Servidor de DHCP > Siguiente/ Siguiente/ Siguiente/ “Nombre: servidor1”
> “Descripción: proyecto”/ Siguiente:
Intervalo de Direcciones:
Dirección IP Inicial: 192.168.0.10 Longitud: 24
Dirección IP Final: 192.168.0.254 Mascara de subred: 255.255.255.0
/Siguiente:
Agregar exclusiones:
Dirección IP Inicial: 192.168.0.15
Dirección IP Final: 192.168.0.25
>Agregar>Siguiente/ “25 Dias” > Siguiente/ Configurar opciones de DHCP >
“Configurar estas opciones ahora” > Siguiente:
Enrutador (Puerta de Enlace Predeterminada):
Dirección IP: 192.168.0.1
>Agregar>Siguiente:
Nombre de dominio y servidores DNS:
Dominio primario: SERVIDOR
Dirección IP: 192.168.0.2
3. >Agregar
Nombre de servidor: servidor.com
>Resolver:
Si ponemos resolver no va a generar otra IP, esta también le agregamos, dando clic en
“Agregar”
>Siguiente
Como no tenemos servidores wins no hacemos nada y damos clic en “Siguiente”
Activar Ámbito:
>Activar este ámbito ahora > Siguiente/ Finalizar/ Finalizar
1.5 Activación de DHCP
Cuando nosotros configuramos el DHCP, éste no se activa y para activarlo debemos
autorizarlo siguiendo los pasos:
Inicio/ Herramientas Administrativas/ DHCP
Cuando se abre el DHCP nos sale un icono con una flecha hacia debajo de color rojo
seguido de el nombre siguiente:
luis-x8u4v4a3q2.servidor.com[192.168.0.1]
Damos clic derecho en el nombre: luis-x8u4v4a3q2.servidor.com[192.168.0.1]
Clic en “Autorizar”
En este momento todavía el color del icono permanece de color rojo
Para que cambie el color del icono debemos actualizar, así:
Clic derecho en el nombre: luis-x8u4v4a3q2.servidor.com[192.168.0.1]
Clic en “Actualizar”
Listo, la flecha del icono debe estar con dirección para arriba y el color debe ser de
color verde.
Para verificar que este bien configurado el DHCP vamos a una maquina con Windows
xp y a esta le configuramos la tarjeta de red para que reciba una IP dinámicamente, así:
Inicio/ Panel de Control/ Conexiones de Red/ Conexión de Área Local/ General/
Propiedades/ General > “Protocolo Internet (TCP/IP)” > Propiedades:
Seleccionamos la opción: “Obtener una dirección IP automáticamente”
>Aceptar/Aceptar/Cerrar
Para ver que ip nos asigno el DHCP tecleamos en la maquina con Windows xp:
Inicio/ Ejecutar > “cmd” > ”ipconfig”
Y nos debe salir algo parecido:
Sufijo de conexión especifica DNS: SERVIDOR
Dirección IP: 192.168.0.13
Mascara de subred: 255.255.255.0
Puerta de enlace predeterminada: 192.168.0.1
Ahora debemos hacer ping al servidor desde la máquina de Windows xp, tecleando lo
siguiente:
Inicio/ Ejecutar > ”cmd” > ”ping 192.168.0.1”
Si recibimos respuesta está bien.
Ahora debemos hacer ping desde el servidor a Windows xp, tecleando en la maquina
que esta con Windows server 2003 lo siguiente:
4. Inicio/ Ejecutar > ”cmd” > ”ping 192.168.0.13”
Si recibimos respuesta está bien.
1.6 Crear usuarios y unirles al Dominio
Para crear usuarios realizamos los pasos siguientes:
Inicio/ Herramientas Administrativas/ Usuarios y Equipos de Active Directory:
Debemos hacer clic derecho en: “servidor.com”
Clic en: Nuevo/ Unidad Organizativa:
Nombre: “CuentasProyecto”
Clic derecho en: “CuentasProyecto”
Clic en: Nuevo/Grupo
Nombre de Grupo: “Administrativo”
Nombre de Grupo (Anterior a Windows 2000): “Administrativo”
>Global >Seguridad> Aceptar
Clic derecho en: “CuentasProyecto”
Clic en: Nuevo/Usuario:
Nombre: “Luis Javier” Iniciales:
Apellidos: “Moreta Andagana”
Nombre Completo: “Luis Javier Moreta Andagana”
Nombre de Inicio de sección de usuario: “lmoreta@servidor.com”
Nombre de Inicio de sección de usuario (Anterior a Windows 2000):
“lmoreta@servidor.com”
/Siguiente:
Contraseña: “luis”
Confirmar contraseña: “luis”
>El usuario no puede cambiar la contraseña > La contraseña nunca caduca > Siguiente/
Finalizar.
Nos va a salir un mensaje así:
“Windows no puede establecer la contraseña para Luis Javier Moreta Andagana debido
a:
La contraseña no cumple con los requisitos de la directiva…etc.”
Ponemos aceptar y vamos a configurar las directivas de seguridad.
Inicio/ Herramientas administrativas/ Directiva de Seguridad de Dominio/
Configuración de seguridad/ Directivas de Cuenta/ Directiva de contraseñas
Damos clic derecho en: “Directiva de contraseñas”
Clic derecho en: “Longitud mínima de la contraseña”
/Propiedades > Definir esta configuración de directiva > “4” > Aplicar > Aceptar
Clic derecho en: Las contraseñas deben cumplir los requerimientos de complejidad/
Propiedades > Definir esta configuración de directiva > deshabilitado > aplicar
>Aceptar
Nuevamente debemos crear el usuario y ya no nos va a salir ese mensaje y nos va a
dejar crear la cuenta.
5. Listo esta creada la cuenta, para agregar más cuentas debemos seguir los pasos
anteriores, menos las directivas de seguridad, porque estas se aplican para todas las
cuentas.
2. Configuración de Ubuntu Server
2.1 Configuración de la Tarjeta de Red
Para la configuración de la tarjeta de red debemos abrir y modificar el fichero
interfaces, debemos darle una IP estática, así:
sudo nano /etc/network/interfaces
Y escribimos lo siguiente:
auto eth0
iface eth0 inet static
address 192.168.0.2
netmask 255.255.255.0
broadcast 192.168.1.255
gateway 192.168.0.2
Guardamos pulsando Crtl + O y lo cerramos.
Y Ahora reiniciamos la red con:
sudo /etc/init.d/networking restart
Luego escribimos:
Ifconfig
Para verificar que se haya modificado la IP.
2.2 Configuracion del DNS
Primero debemos montar el CD para lo cual usamos el siguiente comando:
Sudo su => administrador
Mount /dev/scd0 /media/cdrom
Incorporar el CDROM al sistema
Sudo apt-cdrom add
Ahora vamos a instalar el paquete de DNS:
apt-get install bind9
Editamos el archivo /etc/bind/named.conf.local con el siguiente comando:
sudo nano /etc/bind/named.conf.local
y modificamos asi:
// Do any local configuration here
// Consider adding the 1918 zones here, if they are not used in your
// organization
//include "/etc/bind/zones.rfc1918";
zone "servidor.com" {
type master;
file "servidor.com.zone";
6. };
zone "0.168.192.in-addr.arpa" {
type master;
file "0.168.192.in-addr.arpa.zone";
};
Para guardar el archivo debemos pulsar la combinación de teclas Control+O y para salir
Control+X.
Para comprobar la sintaxis de los archivos de configuración ejecutamos el siguiente
comando:
named-checkconf
Si no aparece nada, la sintaxis de los archivos de configuración es correcta.Eso no
significa que no haya ningún error, sólo que no hay errores de sintaxis.
Si hubiésemos cometido un error de sintaxis, nos aparecería indicado junto a la línea en
la que ocurre.
Creamos el archivo Ubuntu.servidor.com en el directorio: /var/cache/bind
Nano servidor.com.zona
Y modificamos así:
$TTL 86400
@ IN SOA localhost.localdomain. root.localhost.localdomain. (
2008061001; numero de serie
28800; tiempo de refresco
7200; tiempo de reintentos
604800; expiración
86400; tiempo total de vida
)
IN NS localhost.
@ IN NS 192.168.0.2
@ IN A 192.168.0.2
@ IN MX 10 ubuntu.servidor.com.
ubuntu IN A 192.168.0.2
mail IN A 192.168.0.2
Comprobamos la zona que acabamos de crear (servidor.com.zona):
named-checkzone servidor.com.zona /var/cache/bind/db.servidor.com.zona
A continuación creamos en la direccion /var/cache/bind/ 0.168.192.in-addr.arpa.zone el
archivo: sudo nano /var/cache/bind/0.168.192.in-addr.arpa.zone
Este archivo se crea para la zona inversa, Y lo modificamos asi:
$TTL 86400
@ IN SOA localhost.localdomain. root.localhost.localdomain. (
2008061001; numero de serie
28800; tiempo de refresco
7200; tiempo de reitentos
7. 604800; expiración
86400; tiempo total de vida
)
@ IN NS localhost.
2 IN PTR ubuntu.servidor.com.
El número 1 se corresponde con el último dígito de la dirección IP del servidor
(192.168.2.1).
Comprobamos la zona inversa recién creada:
named-checkzone 0.168.192.in-addr.arpa /var/cache/bind/0.168.192.in-addr.arpa.zone
Reiniciamos el servicio:
sudo service bind9 restart
Si todo va bien, veremos que está OK.
Revisamos el log para comprobar que todo ha ido bien:
less /var/log/syslog
Editamos el archivo resolv.conf para que nuestro servidor resuelva las peticiones DNS:
sudo nano /etc/resolv.conf
Y editamos lo siguiente:
nameserver 192.168.0.1
nameserver 192.168.0.2
domain servidor.com
search servidor.com
Salimos y guardamos este fichero. Para pasar al siguiente paso, a configurar el dhcp.
2.3 Configuracion de DHCP
Para configurar el DHCP debemos seguir los pasos siguientes:
Instalar el DHCP usamos el siguiente comando:
Apt-get install dhcp3-server
Verificar la instalación del DHCP con el siguiente comando:
Cd /etc/dhcp3
Dentro del dhcp3 debe estar el archivo: dhcp.conf
Para configurar el dhcp.conf ingresamos con el siguiente comando:
nano dhcp.conf
Usando los datos de nuestra red, editamos así:
# Sample configuration file for ISC dhcpd for Debian
#
# Attention: If /etc/ltsp/dhcpd.conf exists, that will be used as
# configuration file instead of this file.
#
# $Id: dhcpd.conf,v 1.1.1.1 2002/05/21 00:07:44 peloy Exp $
8. #
# The ddns-updates-style parameter controls whether or not the server will
# attempt to do a DNS update when a lease is confirmed. We default to the
# behavior of the version 2 packages ('none', since DHCP v2 didn't
# have support for DDNS.)
ddns-update-style none;
# option definitions common to all supported networks...
#option domain-name "example.org";
#option domain-name-servers ns1.example.org, ns2.example.org;
default-lease-time 600;
max-lease-time 7200;
# If this DHCP server is the official DHCP server for the local
# network, the authoritative directive should be uncommented.
#authoritative;
# Use this to send dhcp log messages to a different log file (you also
# have to hack syslog.conf to complete the redirection).
log-facility local7;
# No service will be given on this subnet, but declaring it helps the
# DHCP server to understand the network topology.
#subnet 10.152.187.0 netmask 255.255.255.0 {
#}
# This is a very basic subnet declaration.
#subnet 10.254.239.0 netmask 255.255.255.224 {
# range 10.254.239.10 10.254.239.20;
# option routers rtr-239-0-1.example.org, rtr-239-0-2.example.org;
#}
# This declaration allows BOOTP clients to get dynamic addresses,
# which we don't really recommend.
#subnet 10.254.239.32 netmask 255.255.255.224 {
# range dynamic-bootp 10.254.239.40 10.254.239.60;
# option broadcast-address 10.254.239.31;
# option routers rtr-239-32-1.example.org;
#}
# A slightly different configuration for an internal subnet.
subnet 192.168.0.0 netmask 255.255.255.0 {
range 192.168.0.25 192.168.0.254;
option domain-name-servers ubunto.servidor.com;
option domain-name "servidor.com";
option routers 192.168.0.2;
option broadcast-address 192.168.0.255;
default-lease-time 600;
max-lease-time 7200;
}
# Hosts which require special configuration options can be listed in
9. # host statements. If no address is specified, the address will be
# allocated dynamically (if possible), but the host-specific information
# will still come from the host declaration.
#host passacaglia {
# hardware ethernet 0:0:c0:5d:bd:95;
# filename "vmunix.passacaglia";
# server-name "toccata.fugue.com";
#}
# Fixed IP addresses can also be specified for hosts. These addresses
# should not also be listed as being available for dynamic assignment.
# Hosts for which fixed IP addresses have been specified can boot using
# BOOTP or DHCP. Hosts for which no fixed address is specified can only
# be booted with DHCP, unless there is an address range on the subnet
# to which a BOOTP client is connected which has the dynamic-bootp flag
# set.
#host fantasia {
# hardware ethernet 08:00:07:26:c0:a5;
# fixed-address fantasia.fugue.com;
#}
# You can declare a class of clients and then do address allocation
# based on that. The example below shows a case where all clients
# in a certain class get addresses on the 10.17.224/24 subnet, and all
# other clients get addresses on the 10.0.29/24 subnet.
#class "foo" {
# match if substring (option vendor-class-identifier, 0, 4) = "SUNW";
#}
#shared-network 224-29 {
# subnet 10.17.224.0 netmask 255.255.255.0 {
# option routers rtr-224.example.org;
# }
# subnet 10.0.29.0 netmask 255.255.255.0 {
# option routers rtr-29.example.org;
# }
# pool {
# allow members of "foo";
# range 10.17.224.10 10.17.224.250;
# }
# pool {
# deny members of "foo";
# range 10.0.29.10 10.0.29.230;
# }
#}
Guardamos pulsando Crtl + O y lo cerramos.
Sudo /etc/init.d/dhcp3-server status
10. Sudo time –n 100/var/log/systong
2.4 Configuracion de Samba
Para la configuración de samba necesitamos instalar los siguientes paquetes:
Samba
samba-client
samba-common
Para instalar samba tecleamos:
yum install -y samba samba-client samba-common
Luego modificamos el fichero lmhosts: (etc/samba/lmhosts)
El fichero /etc/samba/lmhosts es el fichero de gestión de los equipos de red estandar
usado para resolver nombres a direcciones IP en el sistema.
Para editar el archivo tecleamos:
nano /etc/samba/lmhosts
Lo editamos así:
127.0.0.1 localhost
192.168.0.10 localhost
192.168.0.1 luis-mnp4d3x8hr
192.168.0.2 ubuntu
Lo guardamos y lo cerramos, ahora vamos a configurar el fichero
/etc/samba/smb.conf
Para editar tecleamos:
nano /etc/samba/smb.conf
Y lo modificamos asi:
# This is the main Samba configuration file. You should read the
# smb.conf(5) manual page in order to understand the options listed
# here. Samba has a huge number of configurable options (perhaps too
# many!) most of which are not shown in this example
#
# Any line which starts with a ; (semi-colon) or a # (hash)
# is a comment and is ignored. In this example we will use a #
# for commentry and a ; for parts of the config file that you
# may wish to enable
#
# NOTE: Whenever you modify this file you should run the command "testparm"
# to check that you have not made any basic syntactic errors.
#
#======================= Global Settings
=====================================
[global]
# workgroup = NT-Domain-Name or Workgroup-Name
11. workgroup = SERVIDOR
# server string is the equivalent of the NT Description field
server string = %h Samba Server redhat
# 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. 192.168.0. 127.
# 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 = 5000
# Security mode. Most people will want user level security. See
# security_level.txt for details.
# 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>
# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8
# You may wish to use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
# Do not enable this option unless you have read those documents
12. encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
# The following is needed to keep smbclient from spouting spurious errors
# when Samba is built with support for SSL.
; ssl CA certFile = /usr/share/ssl/certs/ca-bundle.crt
# The following are needed to allow password changing from Windows to
# update the Linux system password also.
# NOTE: Use these with 'encrypt passwords' and 'smb passwd file' above.
# NOTE2: You do NOT need these to allow workstations to change only
# the encrypted SMB passwords. They allow the Unix password
# to be kept in sync with the SMB password.
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*password* %nn *Retype*new*password* %nn
*passwd:*all*authentication*tokens*updated*successfully*
# You can use PAM's password change control flag for Samba. If
# enabled, then PAM will be used for password changes when requested
# by an SMB client instead of the program listed in passwd program.
# It should be possible to enable this without changing your passwd
# chat parameter for most setups.
pam password change = yes
# Unix users can map to different SMB User names
; username map = /etc/samba/smbusers
# Using the following line enables you to customise your configuration
# on a per machine basis. The %m gets replaced with the netbios name
# of the machine that is connecting
; include = /etc/samba/smb.conf.%m
# This parameter will control whether or not Samba should obey PAM's
# account and session management directives. The default behavior is
# to use PAM for clear text authentication only and to ignore any
# account or session management. Note that Samba always ignores PAM
# for authentication in the case of encrypt passwords = yes
obey pam restrictions = yes
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# Configure Samba to use multiple interfaces
# If you have multiple network interfaces then you must list them
# here. See the man page for details.
interfaces = 192.168.0.10/24 192.168.0.255/24 127.0.0.0/8 eth0
13. # Configure remote browse list synchronisation here
# request announcement to, or browse list sync from:
# a specific host or from / to a whole subnet (see below)
; remote browse sync = 192.168.3.25 192.168.5.255
# Cause this host to announce itself to local subnets here
; remote announce = 192.168.1.255 192.168.2.44
# 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
# if you enable domain logons then you may want a per-machine or
# per user logon script
# run a specific logon batch file per workstation (machine)
; logon script = %m.bat
# run a specific logon batch file per username
; logon script = %U.bat
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# You must uncomment the [Profiles] share below
; logon path = %LProfiles%U
# 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
14. # 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
;dns proxy = no
# Case Preservation can be handy - system default is _no_
# NOTE: These can be set on a per share basis
; preserve case = no
; short preserve case = no
# Default case is normally upper case for all DOS files
; default case = lower
# Be very careful with case sensitivity - it can break things!
; case sensitive = no
#============================ Share Definitions
==============================
[homes]
comment = Home Directories
browseable = yes
writeable = yes
valid users = %S
create mode = 0664
directory mode = 0777
# If you want users samba doesn't recognize to be mapped to a guest user
; map to guest = bad user
# Un-comment the following and create the netlogon directory for Domain Logons
; [netlogon]
comment = Network Logon Service
path = /usr/local/samba/lib/netlogon
guest ok = yes
writable = yes
share modes = yes
# Un-comment the following to provide a specific roving profile share
# the default is to use the user's home directory
;[Profiles]
path = /usr/local/samba/profiles
browseable = yes
guest ok = yes
# NOTE: If you have a BSD-style print system there is no need to
# specifically define each individual printer
[printers]
15. comment = All Printers
path = /var/spool/samba
browseable = yes
# Set public = yes to allow user 'guest account' to print
printable = yes
# This one is useful for people to share files
;[tmp]
; comment = Temporary file space
; path = /tmp
; read only = no
; public = yes
# A publicly accessible directory, but read only, except for people in
# the "staff" group
;[public]
comment = Public Stuff
path = /home/samba
public = yes
writable = yes
printable = no
write list = @staff
# Other examples.
#
# A private printer, usable only by fred. Spool data will be placed in fred's
# home directory. Note that fred must have write access to the spool directory,
# wherever it is.
;[fredsprn]
; comment = Fred's Printer
; valid users = fred
; path = /home/fred
; printer = freds_printer
; public = no
; writable = no
; printable = yes
# A private directory, usable only by fred. Note that fred requires write
# access to the directory.
[linuxredhat]
; comment = Fred's Service
path = /home/descargasredhat
;valid users = dcalapina
browsable = yes
available = yes
public = yes
writable = yes
printable = no
# a service which has a different directory for each machine that connects
# this allows you to tailor configurations to incoming machines. You could
16. # also use the %U option to tailor it by user name.
# The %m gets replaced with the machine name that is connecting.
;[pchome]
; comment = PC Directories
; path = /usr/local/pc/%m
; public = no
; writable = yes
# A publicly accessible directory, read/write to all users. Note that all files
# created in the directory by users will be owned by the default user, so
# any user with access can delete any other user's files. Obviously this
# directory must be writable by the default user. Another user could of course
# be specified, in which case all files would be owned by that user instead.
;[public]
; path = /usr/somewhere/else/public
; public = yes
; only guest = yes
; writable = yes
; printable = no
# The following two entries demonstrate how to share a directory so that two
# users can place files there that will be owned by the specific users. In this
# setup, the directory should be writable by both users and should have the
# sticky bit set on it to prevent abuse. Obviously this could be extended to
# as many users as required.
[myshare]
comment = recurso compartido
path = /opt
valid users = administrador
guest ok = yes
writeable = yes
printable = yes
create mask = 0765
CONCLUSIONES:
Un sistema de red de computadores con los siguientes sistemas operativos: Windows
Server 2003, Windows xp, Ubuntu server v10, RetHat v9 pueden comunicarse e
intercambiar información.
La configuración de Windows server 2003 y Ubuntu server v10 es sencilla, basta con saber
definir bien los parámetros, ip, y saber que realiza cada uno de los servicios que prestan los
dos servidores.
Para la manipulación de cualquier Linux, la base es saber comandos, saber teclear bien y
realizar las operaciones con lógica.
RECOMENDACIONES:
17. Antes de introducirnos a esta práctica, debemos tener claro, ¿qué es una red? , ¿Qué es una
dirección IP?, ¿Qué se materiales se necesita para realizar una red?
Para los usuarios que deseen realizar esta practica, deben escoger otra distribución de Linux
diferente a la de rethat, ya que esta nos causo un poco de complejidad.
BIBLIOGRAFIA:
Libro: Ubuntu Server Guide <ubuntu-doc@lists.ubuntu.com>
www.linuxparatodos.net
http:// www.getronics.com
www.microsoft.com/ spain/technet
http://www.microsoft.com/windowsserver2003/evaluation/overvie w/technologies/iis.mspx
http://www.microsoft.com/windowsserver2003/techinfo/overview/ iis.mspx
www.acens.com