25
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

Proyecto de sistemas operativos servidores

  • Upload
    danilo

  • View
    474

  • Download
    4

Embed Size (px)

Citation preview

Page 1: Proyecto de sistemas operativos servidores

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 DANIELMORETA LUISMUNGABUSI LUISPALATE 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 redPara 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/ GeneralAquí 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.1Mascara de Subred: 255.255.255.0Luego 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>ipconfigEn 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 DirectoryPara activar el asistente de Instalación de Active Directory, ejecutamos lo siguiente:

Page 2: Proyecto de sistemas operativos servidores

Inicio/ Ejecutar > dcpromoInmediatamente 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 DNSPara configurar el DNS debemos seguir los pasos siguientes:Inicio/ Herramientas Administrativas/ DNSEn 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 DHCPPara 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: 24Dirección IP Final: 192.168.0.254 Mascara de subred: 255.255.255.0/Siguiente:Agregar exclusiones:Dirección IP Inicial: 192.168.0.15Direcció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: SERVIDORDirección IP: 192.168.0.2

Page 3: Proyecto de sistemas operativos servidores

>AgregarNombre de servidor: servidor.com>Resolver:Si ponemos resolver no va a generar otra IP, esta también le agregamos, dando clic en “Agregar”>SiguienteComo 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 DHCPCuando nosotros configuramos el DHCP, éste no se activa y para activarlo debemos autorizarlo siguiendo los pasos:Inicio/ Herramientas Administrativas/ DHCPCuando 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 rojoPara 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/CerrarPara 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: SERVIDORDirección IP: 192.168.0.13Mascara de subred: 255.255.255.0Puerta de enlace predeterminada: 192.168.0.1Ahora 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:

Page 4: Proyecto de sistemas operativos servidores

Inicio/ Ejecutar > ”cmd” > ”ping 192.168.0.13”Si recibimos respuesta está bien.

1.6 Crear usuarios y unirles al DominioPara 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/GrupoNombre de Grupo: “Administrativo”Nombre de Grupo (Anterior a Windows 2000): “Administrativo”>Global >Seguridad> AceptarClic 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: “[email protected]”Nombre de Inicio de sección de usuario (Anterior a Windows 2000): “[email protected]”/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ñasDamos 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 > AceptarClic derecho en: Las contraseñas deben cumplir los requerimientos de complejidad/ Propiedades > Definir esta configuración de directiva > deshabilitado > aplicar >AceptarNuevamente debemos crear el usuario y ya no nos va a salir ese mensaje y nos va a dejar crear la cuenta.

Page 5: Proyecto de sistemas operativos servidores

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/interfacesY escribimos lo siguiente:auto eth0iface eth0 inet staticaddress 192.168.0.2netmask 255.255.255.0broadcast 192.168.1.255gateway 192.168.0.2Guardamos pulsando Crtl + O y lo cerramos.Y Ahora reiniciamos la red con:sudo /etc/init.d/networking restartLuego escribimos:IfconfigPara verificar que se haya modificado la IP.

2.2 Configuracion del DNSPrimero debemos montar el CD para lo cual usamos el siguiente comando:Sudo su => administradorMount /dev/scd0 /media/cdromIncorporar el CDROM al sistemaSudo apt-cdrom addAhora vamos a instalar el paquete de DNS:apt-get install bind9Editamos 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";

Page 6: Proyecto de sistemas operativos servidores

};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-checkconfSi 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.zonaY modificamos así:$TTL 86400@ IN SOA localhost.localdomain. root.localhost.localdomain. (2008061001; numero de serie28800; tiempo de refresco7200; tiempo de reintentos604800; expiración86400; 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.2mail 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.zonaA 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.zoneEste archivo se crea para la zona inversa, Y lo modificamos asi:

$TTL 86400@ IN SOA localhost.localdomain. root.localhost.localdomain. (2008061001; numero de serie28800; tiempo de refresco7200; tiempo de reitentos

Page 7: Proyecto de sistemas operativos servidores

604800; expiración86400; 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.zoneReiniciamos el servicio:sudo service bind9 restartSi todo va bien, veremos que está OK.Revisamos el log para comprobar que todo ha ido bien:less /var/log/syslogEditamos el archivo resolv.conf para que nuestro servidor resuelva las peticiones DNS:sudo nano /etc/resolv.confY editamos lo siguiente:

nameserver 192.168.0.1nameserver 192.168.0.2domain servidor.comsearch servidor.com

Salimos y guardamos este fichero. Para pasar al siguiente paso, a configurar el dhcp.

2.3 Configuracion de DHCPPara configurar el DHCP debemos seguir los pasos siguientes:Instalar el DHCP usamos el siguiente comando:Apt-get install dhcp3-serverVerificar la instalación del DHCP con el siguiente comando:Cd /etc/dhcp3Dentro del dhcp3 debe estar el archivo: dhcp.confPara configurar el dhcp.conf ingresamos con el siguiente comando:nano dhcp.confUsando 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 $

Page 8: Proyecto de sistemas operativos servidores

## 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

Page 9: Proyecto de sistemas operativos servidores

# 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

Page 10: Proyecto de sistemas operativos servidores

Sudo time –n 100/var/log/systong

2.4 Configuracion de SambaPara la configuración de samba necesitamos instalar los siguientes paquetes:Sambasamba-clientsamba-commonPara instalar samba tecleamos:yum install -y samba samba-client samba-commonLuego 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/lmhostsLo editamos así:

127.0.0.1 localhost192.168.0.10 localhost192.168.0.1 luis-mnp4d3x8hr192.168.0.2 ubuntu

Lo guardamos y lo cerramos, ahora vamos a configurar el fichero

/etc/samba/smb.confPara editar tecleamos:

nano /etc/samba/smb.confY 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

Page 11: Proyecto de sistemas operativos servidores

workgroup = SERVIDOR

# server string is the equivalent of the NT Description fieldserver 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/printcapload 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

Page 12: Proyecto de sistemas operativos servidores

encrypt passwords = yessmb 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 = Yespasswd program = /usr/bin/passwd %upasswd chat = *New*password* %n\n *Retype*new*password* %n\n

*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

Page 13: Proyecto de sistemas operativos servidores

# 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 = \\%L\Profiles\%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

Page 14: Proyecto de sistemas operativos servidores

# 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 Directoriesbrowseable = yeswriteable = yesvalid users = %Screate mode = 0664directory 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]

Page 15: Proyecto de sistemas operativos servidores

comment = All Printerspath = /var/spool/sambabrowseable = yes

# Set public = yes to allow user 'guest account' to printprintable = 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

Page 16: Proyecto de sistemas operativos servidores

# 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 compartidopath = /optvalid users = administradorguest ok = yeswriteable = yesprintable = yescreate 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:

Page 17: Proyecto de sistemas operativos servidores

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 <[email protected]>

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