25/06/2013, 17:15
|
| | Fecha de Ingreso: junio-2013
Mensajes: 43
Antigüedad: 11 años, 4 meses Puntos: 0 | |
Respuesta: Acceso a Servidor Local CENTOS que se cae cuando cae Internet tengo esto en mi smb.conf
#
# server string is the equivalent of the NT Description field
#
# netbios name can be used to specify a server name not tied to the hostname
workgroup = ELECTROMERLO
server string = Servidor INFERNO
client lanman auth = yes
netbios name = ServerInferno
rlimit_max=16384
server role = ROLE_DOMAIN_MEMBER
wins support = yes
interfaces = lo eth0 192.168.10.1/255 10.10.1.1
hosts allow = 127.0.0.1/255.255.255.0, 192.168.10.160
logon home = \\ServerInferno\%U
passwd program=/usr/bin/passwd %u
dns proxy = no
name resolve order = lmhosts hosts wins bcast
unix password sync = No
os level = 64
remote announce = 192.168.10.255/electromerlo
# --------------------------- Logging Options -----------------------------
#
# Log File let you specify where to put logs and how to split them up.
#
# Max Log Size let you specify the max size log files should reach
# logs split per machine
log file = /var/log/samba/log.%m
# max 50KB per log file, then rotate
max log size = 50
# ----------------------- Standalone Server Options ------------------------
#
# Scurity can be set to user, share(deprecated) or server(deprecated)
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
security = ads
passdb backend = tdbsam
encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# ----------------------- Domain Members Options ------------------------
#
# Security must be set to domain or ads
#
# Use the realm option only with security = ads
# Specifies the Active Directory realm the host is part of
#
# Backend to store user information in. New installations should
# use either tdbsam or ldapsam. smbpasswd is available for backwards
# compatibility. tdbsam requires no further configuration.
#
# Use password server option only with security = server or if you can't
# use the DNS to locate Domain Controllers
# 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 = *
security = ads
passdb backend = tdbsam
idmap config * : range = 1000000-1999999
idmap config LEVEL1 : backend = rid
idmap config LEVEL1 : range = 1000000-1999999
realm = MY_REALM
; password server = <NT-Server-Name>
#
# Various scripts can be used on a domain controller or stand-alone
# machine to add or delete corresponding unix accounts
#
; security = user
; passdb backend = tdbsam
domain master = yes
domain logons = yes
# the login script name depends on the machine name
; logon script = %m.bat
# the login script name depends on the unix user used
; logon script = %u.bat
; logon path = \\%L\Profiles\%u
# disables profiles support by specifing an empty path
; logon path =
; add user script = /usr/sbin/useradd "%u" -n -g users
; add group script = /usr/sbin/groupadd "%g"
; add machine script = /usr/sbin/useradd -n -c "Workstation (%u)" -M -d /nohome -s /bin/false "%u"
; delete user script = /usr/sbin/userdel "%u"
; delete user from group script = /usr/sbin/userdel "%u" "%g"
; delete group script = /usr/sbin/groupdel "%g"
# ----------------------- 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
#
# OS Level determines the precedence of this server in master browser
# elections. The default value should be reasonable
#
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
local master = yes
pam password change = yes
domain master = yes
domain logons = yes
; os level = 33
preferred master = yes
#----------------------------- Name Resolution -------------------------------
# Windows Internet Name Serving Support Section:
# Note: Samba can be either a WINS Server, or a WINS Client, but NOT both
#
# - WINS Support: Tells the NMBD component of Samba to enable it's WINS Server
#
Última edición por electromerlo; 25/06/2013 a las 17:34 |