ricardocopano
(usa Debian)
Enviado em 13/07/2011 - 13:44h
Olá amigos;
Preciso configurar um sistema de servidor de dominio. No primeiro comando me deparei com o seguinte :
net groupnet list
Serve´s Role (logon server) conflicts with share-level security
tentei algumas coisas no smb.conf... tenho ele desta forma:
Arquivo /etc/samba/smb.conf
[global]
workgroup = naipi
netbios name = Travel
server string = Linux SMB Server
printcap name = cups
load printers = no
; printing = cups
log file = /var/log/samba/%m.log
max log size = 50
debug level = 1
security = share
os level = 50
logon script = SCRIPT.BAT
logon path = home/samba/netlogon
domain master = yes
domain logons = yes
; local master = yes
preferred master = yes
; encrypt passwords = yes
smb passwd file = /etc/samba/smbpasswd
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba machine" -d /dev/null -s /bin/false %u
unix charset = iso-8859-1
# see the smb.conf(5) manpage for other important backends, such as tdbsam and ldap
; passdb backend = smbpasswd
create mask = 0770
directory mask = 0770
; guest ok = no
; guest account = nobody
#============================ Share Definitions ==============================
#[homes]
# comment = Home Directories
# browseable = no
# writable = yes
# Un-comment the following and create the netlogon directory for Domain Logons
[netlogon]
; comment = Network Logon Service
path = /home/samba/netlogon
guest ok = yes
; writeable = no
share modes = no
; browseable = yes
[printers]
; comment = All Printers
path = /var/spool/samba
browseable = no
public = yes
; writable = No
printable = yes
[arquivos]
path = /home/samba/arquivos
force create mode = 0777
force directory mode = 0777
guest ok = yes
writeable = yes
; browseable = yes
[diretoria]
path = /home/samba/diretoria
force create mode = 0770
force directory mode = 0770
guest ok = yes
writable = yes
browseable = no
[marketing]
path = /home/samba/marketing
force create mode = 0770
force directory mode = 0770
guest ok = yes
writable = yes
[publicidade]
path = /home/samba/publicidade
force create mode = 0770
force directory mode = 0770
guest ok = yes
writable = yes
---------------------------------------------------------------
agradeço desde já.
Ricardo.