From Fedora Project Wiki

(Created page with 'Hola')
 
Line 1: Line 1:
Hola
+
# Samba config file created using SWAT
 +
# from UNKNOWN (0.0.0.0)
 +
# Date: 2011/05/19 14:48:54
 +
 
 +
[global]
 +
idmap gid = 15000-20000
 +
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
 +
store dos attributes = Yes
 +
time server = yes
 +
passwd program = /etc/passwd %u
 +
dns proxy = yes
 +
netbios name = LABIGSA
 +
cups options = raw
 +
idmap uid = 15000-20000
 +
logon script = logon.bat
 +
local master = yes ; Especifica si Samba ¡ convertirse en el visualizador maestro local para la subred cada vez que arranque Samba
 +
workgroup = LAB_IGSA
 +
os level = 65
 +
auto services = Public1
 +
security = user
 +
add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
 +
delete user script = /usr/sbin/userdel -r %u
 +
max log size = 30
 +
log file = /var/log/samba/log.%m
 +
add group script = /usr/sbin/groupadd %g
 +
delete group script = /usr/sbin/groupdel %g
 +
add user to group script = /usr/sbin/usermod -G %g %u
 +
domain master = Yes
 +
username map = /etc/samba/smbusers
 +
wins proxy = Yes
 +
logon home = \\%N\%U
 +
wins support = true
 +
server string = LABIGSA %v
 +
unix password sync = Yes
 +
logon path = \\%N\profiles\%U
 +
add user script = /usr/sbin/useradd -m %u
 +
domain logons = yes
 +
 
 +
[homes]
 +
comment = Home Directories
 +
        # path del recurso
 +
        path = /home/%U
 +
;valid users = %S
 +
;read only = No
 +
        public = yes
 +
writable = yes
 +
browseable = No
 +
        create mask = 0600
 +
        directory mask = 0700
 +
 
 +
[netlogon]
 +
comment = Network Logon Service
 +
path = /var/lib/samba/netlogon
 +
browseable = yes
 +
read only = yes
 +
        locking = no
 +
 
 +
[profiles]
 +
comment = Roaming Profile Share
 +
path = /home/profiles/
 +
# Si ponemos browseable = no, al listar los recursos compartidos, no se verá
 +
        browseable = no
 +
# Compartimos con Acceso de escritura ?
 +
        writeable = yes
 +
# Permitimos el acceso sin password con privilegios de invitado ?
 +
        public = no
 +
# Máscaras por defecto
 +
        create mask = 0600
 +
        directory mask = 0700
 +
 
 +
 
 +
[printers]
 +
comment = All Printers
 +
path = /var/spool/samba
 +
printable = Yes
 +
browseable = No
 +
 
 +
[Public1]
 +
writeable = yes
 +
path = /home/Public1
 +
write list = @smbuser
 +
sync always = Yes
 +
create mask = 0777
 +
comment = Archivos de laboratorio
 +
directory mask = 0777
 +
[Public2]
 +
create mask = 0777
 +
comment = Archivos de laboratorio
 +
directory mask = 0777
 +
writeable = yes
 +
path = /home/Public2
 +
write list = jsolis,test,@smbuser

Revision as of 23:22, 24 May 2011

  1. Samba config file created using SWAT
  2. from UNKNOWN (0.0.0.0)
  3. Date: 2011/05/19 14:48:54

[global]

idmap gid = 15000-20000
passwd chat = *New*password* %n\n *Retype*new*password* %n\n *all*authentication*tokens*updated*
store dos attributes = Yes
time server = yes
passwd program = /etc/passwd %u
dns proxy = yes
netbios name = LABIGSA
cups options = raw
idmap uid = 15000-20000
logon script = logon.bat
local master = yes ; Especifica si Samba ¡ convertirse en el visualizador maestro local para la subred cada vez que arranque Samba
workgroup = LAB_IGSA
os level = 65
auto services = Public1
security = user
add machine script = /usr/sbin/useradd -d /dev/null -g samba-clients -s /bin/false -M %u
delete user script = /usr/sbin/userdel -r %u
max log size = 30
log file = /var/log/samba/log.%m
add group script = /usr/sbin/groupadd %g
delete group script = /usr/sbin/groupdel %g
add user to group script = /usr/sbin/usermod -G %g %u 
domain master = Yes
username map = /etc/samba/smbusers
wins proxy = Yes
logon home = \\%N\%U
wins support = true
server string = LABIGSA %v
unix password sync = Yes
logon path = \\%N\profiles\%U
add user script = /usr/sbin/useradd -m %u
domain logons = yes

[homes]

comment = Home Directories
       # path del recurso
       path = /home/%U
;valid users = %S
;read only = No
       public = yes
writable = yes
browseable = No
       create mask = 0600
       directory mask = 0700

[netlogon]

comment = Network Logon Service
path = /var/lib/samba/netlogon
browseable = yes
read only = yes
       locking = no

[profiles]

comment = Roaming Profile Share
path = /home/profiles/
  1. Si ponemos browseable = no, al listar los recursos compartidos, no se verá
       browseable = no
  1. Compartimos con Acceso de escritura ?
       writeable = yes
  1. Permitimos el acceso sin password con privilegios de invitado ?
       public = no
  1. Máscaras por defecto
       create mask = 0600
       directory mask = 0700


[printers]

comment = All Printers
path = /var/spool/samba
printable = Yes
browseable = No

[Public1]

writeable = yes
path = /home/Public1
write list = @smbuser
sync always = Yes
create mask = 0777
comment = Archivos de laboratorio
directory mask = 0777

[Public2]

create mask = 0777
comment = Archivos de laboratorio
directory mask = 0777
writeable = yes
path = /home/Public2
write list = jsolis,test,@smbuser