Mensaje del debate
Problema con Samba
Path: g2news1.google.com!news4.google.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!bofh.it!news.nic.it!robomod
From: "Henry Santiago Vasquez" <chantyb...@hotmail.com>
Newsgroups: linux.debian.user.spanish
Subject: Problema con Samba
Date: Thu, 08 Dec 2005 21:40:13 +0100
Message-ID: <5hAIJ-6cQ-39@gated-at.bofh.it>
X-Original-To: debian-user-span...@lists.debian.org
Old-Return-Path: <chantyb...@hotmail.com>
X-Originating-IP: [201.240.87.29]
X-Originating-Email: [chantyb...@hotmail.com]
X-Sender: chantyb...@hotmail.com
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----=_NextPart_000_7a4a_b2b_50a1"
X-Originalarrivaltime: 08 Dec 2005 20:38:02.0822 (UTC) FILETIME=[49025E60:01C5FC37]
X-Rc-Virus: 2005-11-10_01
X-Rc-Spam: 2005-09-11_01
X-Mailing-List: <debian-user-spanish@lists.debian.org> archive/latest/123855
List-ID: <debian-user-spanish.lists.debian.org>
Approved: robo...@news.nic.it
Lines: 252
Organization: linux.* mail to news gateway
Sender: robo...@news.nic.it
X-Original-Date: Thu, 08 Dec 2005 20:38:02 +0000
X-Original-Message-ID: <BAY115-F24AED7E53CD1FC2CE5E569C1420@phx.gbl>
This is a multi-part message in MIME format.
------=_NextPart_000_7a4a_b2b_50a1
Content-Type: text/html; charset=iso-8859-1; format=flowed
<html><div style='background-color:'><DIV class=RTE>Hola a todos.</DIV>
<DIV class=RTE>Tengo un problema con mi servidor Samba (Linux Debian Sarge 3.1). Ya lo he configurado todo como debe ser pero al momento q desde maquinas clientes con Win98 o win2000 trato de ingresar a mis archivos ubicadis en el servidor Samba si los puedo ver y navegar en todo sus directorios, pero no puedo realizar modificaciones a estos archivos, ni crear o eliminar alguno, solo tengo acceso de lectura.</DIV>
<DIV class=RTE>Lo probe con varios usuarios de la red y en todos solo tengo acceso de lectura. Salvo los directorios home de cada usuario alli si puedo modificar, cerar o eliminar archivos.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Aqui les envio adjunto mi archivo smb.conf a ver si me pueden ayudar en que estoy fallando.</DIV>
<DIV class=RTE>La particiion principal de donde acceden los usarios a ver sus archivos es:</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>/macg</DIV>
<DIV class=RTE> /principal</DIV>
<DIV class=RTE> /EPublicas</DIV>
<DIV class=RTE> /BE05-06</DIV>
<DIV class=RTE> /BE03-04</DIV>
<DIV class=RTE> ........</DIV>
<DIV class=RTE> /Kardexs</DIV>
<DIV class=RTE> /k03-04</DIV>
<DIV class=RTE> /k05-06</DIV>
<DIV class=RTE> ..............</DIV>
<DIV class=RTE> /Testamentos</DIV>
<DIV class=RTE> /T05-06</DIV>
<DIV class=RTE> ............</DIV>
<DIV class=RTE> ................</DIV>
<DIV class=RTE> /programas</DIV>
<DIV class=RTE> ..................</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Yo copie todos los archivos, incluyendo directorios, ubicados en un inicio en una particon FAT a mi particion linux (/macg) quedando la estructura de directorios que les muestro arriba .</DIV>
<DIV class=RTE>Esto lo lleve a cabo como usuario root, y al inspeccionar dichos archivos una vez copiados todos ellos tenian como usuario root y grupo root con permisos de rwx y r-x respectivamente.</DIV>
<DIV class=RTE>Este puede ser el problema???</DIV>
<DIV class=RTE>Yo he creado grupos dentro del istema linux (los mismo que pueden observar dentro del archivo smb.conf , por ejemplo gcaja) y le he asignado a cada usuario que he creado un grupo de estos que le corresponsa.(en el archivo lo ven comentado los grupos por ejmplo gcomputo, porque no me aceptaba ingresar a ver los archivos de samba de esa forma, tenia que ingresar explicitamente los usuarios para poder ver los archivos desde los clientes windows) Ahora lo que tambioen necesito es asignar a cada usario mas de un grupo correpondiente de tal manera que si el usuario henry crea un archivo y este pertenece al grupo gcomputo y gescrituras todos los demas usuarios que pertenezcan a los grupos gcomputo y gescrituras puedan tambien tener acceso de lectura y escritura sobre estos archivos y directorios que cree henry. Como podria hacer esto????</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>Espero puedan ayudarme.</DIV>
<DIV class=RTE>Gracias.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE>PD: conocen de algun chat en español q pueda consultar tambien en linea sobr estos temas, gracias.</DIV>
<DIV class=RTE> </DIV>
<DIV class=RTE> </DIV></div></html>
------=_NextPart_000_7a4a_b2b_50a1
Content-Type: text/plain; name="Smb.txt"; format=flowed
Content-Transfer-Encoding: 8bit
Content-Disposition: attachment; filename="Smb.txt"
#Archivo de configuración del Servidor de Archivos Samb
#[global]
workgroup = DOMINIO2
server string = %h server (Samba %v)
# This will prevent nmbd to search for NetBIOS names through DNS.
dns proxy = no
;domain logons = yes
; logon script = %U.bat
log file = /var/log/samba/log.%m
max log size = 1000
# We want Samba to log a minimum amount of information to syslog. Everything
# should go to /var/log/samba/log.{smbd,nmbd} instead. If you want to log
# through syslog you should set the following parameter to something higher.
syslog = 0
# Do something sensible when Samba crashes: mail the admin a backtrace panic
action = /usr/share/samba/panic-action %d
; time server = yes security = user
encrypt passwords = true
# If you are using encrypted passwords, Samba will need to know what
# password database type you are using.
passdb backend = tdbsam guest
obey pam restrictions = yes
; guest account = nobody
invalid users = root bin daemon adm sync shutdown \
sys halt mail news uucp operator gopher
; valid users = yaninav, alexiss, gcomputo, gadminis, gcounter, gcaja,
gtvehicu, gpractic, \
; gprotesto, gsecretaria, gnoconten, gescrituras
valid users = alexiss, ricardog, christianl, ceciliab, violetaq, victorg, \
henrys, yaninav, erikam, ursulac, manuelc, ernestor,
danielg, \ jesusf, luisf, jesseniar, jessicar, luciad, rosaa, milagrosc,
\ claraa, vanesav, diegoc, mariad, marcoc, karinal
# This boolean parameter controls whether Samba attempts to sync the Unix
# password with the SMB password when the encrypted SMB password in the
# passdb is changed.
; unix password sync = no
# For Unix password sync to work on a Debian GNU/Linux system, the following
# parameters must be set (thanks to Augustin Luton <alu...@hybrigenics.fr>
for
# sending the correct chat script for the passwd program in Debian Potato).
passwd program = /usr/bin/passwd %u
passwd chat = *Enter\snew\sUNIX\spassword:* %n\n
*Retype\snew\sUNIX\spassword:* %n\n .
# This boolean controls whether PAM will be used for password changes
# when requested by an SMB client instead of the program listed in
# 'passwd program'. The default is 'no'.
; pam password change = no
smb passwd file = /usr/bin/smbpasswd
######## File sharing ########
# Name mangling options
; preserve case = yes
; short preserve case = yes
############ Misc ############
# 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 = /home/samba/etc/smb.conf.%m
# Most people will find that this option gives better performance.
# See smb.conf(5) and /usr/share/doc/samba-doc/htmldocs/speed.html
# for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY
# The following parameter is useful only if you have the linpopup package
# installed. The samba maintainer and the linpopup maintainer are
# working to ease installation and configuration of linpopup and samba.
; message command = /bin/sh -c '/usr/bin/linpopup "%f" "%m" %s; rm %s' &
# Domain Master specifies Samba to be the Domain Master Browser. If this
# machine will be configured as a BDC (a secondary logon server), you
# must set this to 'no'; otherwise, the default behavior is recommended.
; domain master = auto
#======================= Share Definitions =======================
[homes] comment = Directorio de usuarios del sistema
browseable = no
writeable = yes
# File creation mask is set to 0700 for security reasons. If you want to
# create files with group=rw permissions, set next parameter to 0775.
create mask = 0775
# Directory creation mask is set to 0700 for security reasons. If you want
to
# create dirs. with group=rw permissions, set next parameter to 0775.
directory mask = 0775
#probar si es necesario en cada recurso o solo lo defino en globals
[principal]
path = /macg/principal
comment = Documentos notariales
browseable = yes
;writeable = yes
writeable = no
[programas]
path = /macg/programas
comment = Aplicaciones en red
browseable = yes
writeable = yes
[escrituras]
path = /macg/principal/EPublicas
comment = Bienios de Escrituras
browseable = yes
read only = yes
;write list = gescrituras, gsecretaria
write list = yaninav, erikam, victorg, ricardog, gescrituras
[kardex]
path = /macg/principal/Kardexs
comment = Bienios de Kardex
browseable = yes
read only = yes
;write list = gescrituras, gsecretaria, gcomputo, gnoconten, gtvehicu
write list = yaninav, erikam, victorg, ricardog, cristhianl, alexiss, \
ceciliab, manuelc, ernestor, milagrosc, jesusf, luisf
[noconten]
path = /macg/principal/NoConten
comment = Bienios de No Contenciosos
browseable = yes
read only = yes
;write list = gnoconten
write list = milagrosc, vanesav, diegoc, claraa
[testamentos]
path = /macg/principal/Testamentos
comment = Bienios de Testamentos
browseable = yes
read only = yes
;write list = gnoconten
write list = milagrosc, vanesav, diegoc, claraa
[tvehiculares]
path = /macg/principal/TVehiculares
comment = Bienios de Transferencias Vehiculares
browseable = yes
read only = yes
;write list = gtvehicu
write list = jesusf, luisf
[notaria]
path = /macg/principal/Notaria
comment = Notaria
browseable = yes
read only = yes
[administ]
path = /macg/principal/Notaria/Administ
comment = Documentos Administrativos
browseable = yes
read only = yes
;write list = gadminist
write list = mariad
[tvehicul]
path = /macg/principal/Notaria/TVehicul
comment = Documentos de TVehiculares
browseable = yes
read only = yes
;write list = gtvehicu
write list = jesusf, luisf
[computo]
path = /macg/principal/Notaria/COMPUTO
comment = Documentos de Computo
browseable = yes
read only = yes
;write list = gcomputo
write list = victorg, ricardog, alexiss, ceciliab, manuelc, jesusf,
luisf, \
ernestor
# Un-comment the following and create the netlogon directory for Domain
Logons
# (you need to configure Samba to act as a domain controller too.)
;[netlogon]
; comment = Network Logon Service
; path = /home/samba/netlogon
; guest ok = yes
; writable = no
; share modes = no
# Windows clients look for this share name as a source of downloadable
# printer drivers
;[print$]
; comment = Printer Drivers
; path = /var/lib/samba/printers
; browseable = yes
; read only = yes
; guest ok = no
# Uncomment to allow remote administration of Windows print drivers.
# Replace 'ntadmin' with the name of the group your admin users are
# members of.
; write list = root, @ntadmin
# A sample share for sharing your CD-ROM with others.
;[cdrom]
; comment = Samba server's CD-ROM
; writable = no
; locking = no
; path = /cdrom
; public = yes
# The next two parameters show how to auto-mount a CD-ROM when the
# cdrom share is accesed. For this to work /etc/fstab must contain
# an entry like this:
#
# /dev/scd0 /cdrom iso9660 defaults,noauto,ro,user 0 0
#
# The CD-ROM gets unmounted automatically after the connection to the
#
# If you don't want to use auto-mounting/unmounting make sure the CD
# is mounted on /cdrom
#
; preexec = /bin/mount /cdrom
; postexec = /bin/umount /cdrom
------=_NextPart_000_7a4a_b2b_50a1--
--
To UNSUBSCRIBE, email to debian-user-spanish-REQU...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org