Servidor Samba

13. Re: Servidor Samba

Jefferson Diego
Diede

(usa Debian)

Enviado em 01/02/2010 - 16:12h

Nem usar o servidor samba como WINS resolveu?


  


14. Re: Servidor Samba

Deuzenildo
deuz

(usa Debian)

Enviado em 01/02/2010 - 16:31h

olá, segue meu .conf

/var/lib/samba/scripts
#======================= Global Settings ========
#name resolve order = lmhosts wins bcast host
[global]
#veto files = /*.mp3/*.mp4/*.wma
workgroup = XXXX
netbios name = Server1
server string = samba em Server1
; interfaces = lo eth0 192.168.12.2/24 192.168.13.2/24
; hosts allow = 127. 192.168.12. 192.168.13.
# 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 = 500
security = user
passdb backend = tdbsam
# ----------------------- Domain Members Options ----------------

; realm = MY_REALM

; password server = <NT-Server-Name>

; 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"
local master = no
os level = 33
preferred master = yes

#----------------------------- Name Resolution -----------------
wins support = yes
wins server = w.x.y.z
wins proxy = yes

dns proxy = yes
bind interfaces only = yes

; load printers = yes
; cups options = raw

; printcap name = /etc/printcap
#obtain list of printers automatically on SystemV
; printcap name = lpstat
; printing = cups

; map archive = no
; map hidden = no
; map read only = no
; map system = no
; store dos attributes = yes
#============================ Share Definitions [homes]
comment = Home Directories
browseable = no
writable = yes
; valid users = %S
; valid users = MYDOMAIN\%S
[printers]
; comment = All Printers
; path = /var/spool/samba
; browseable = no
; guest ok = no
; writable = no
; printable = yes
[netlogon]
comment = Network Logon Service
path = /home/netlogon
guest ok = yes
browseable = no
writable = no
share modes = no
[Profiles]
path = /home/profiles
browseable = no
guest ok = yes

; [public]
; comment = Public Stuff
; path = /home/samba
; public = yes
; writable = yes
; printable = no
; write list = +staff
[sistema]
path = /dados
read only = no
browseable = yes
guest ok = yes
force create mode = 777
force directory mode = 777
admin users = admin

desculpem se o arquivo ficou grande..



01 02



Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts