- Duvidas no log do samba
+ Responder ao Tópico
-
Duvidas no log do samba
Apareceu as seguinte linhas, e ja vem aparecendoa um tempo...
alloc_sub_basic: NULL source string ! This should not happen
Alguem pode me ajudar ?
Agradecido
-
Duvidas no log do samba
vc esta usando o samba, como o que ?
impresssao, share, pdc?
eu vi esse problema uma vez no suse que configurei e era problema com a configuraçao da impressao no smb.conf.
abraços
Jeff
-
Duvidas no log do samba
Estou usando ele como PDC
Se eu colocar o meu smb.conf ajuda ?
-
Duvidas no log do samba
-
Duvidas no log do samba
#######################################################################################
# Configuracao do Samba #
# Samba + LDAP #
# by Luzumba #
#######################################################################################
[global]
###############################################################################
# Grupo, nome do servidor e comentario #
# que aparece no ambiente de rede #
###############################################################################
workgroup = POOL
netbios name = WDC
server string = Servidor De Arquivos (POOL)
###############################################################################
# Acentuacao #
###############################################################################
unix charset = cp850
dos charset = cp850
display charset = UTF8
display charset = cp850
###############################################################################
# Seguranca #
###############################################################################
security = USER
###############################################################################
# Configuracoes do log #
# Nivel de de detalhamento, tamanho, etc #
###############################################################################
log file = /var/log/samba/%m
max log size = 50
debug level = 2
log level = 2
###############################################################################
# Configuracoes de Acesso Win #
###############################################################################
# Windows 98
###############
encrypt passwords = yes
# Windows 2000,XP
################
add machine script = /usr/sbin/adduser -n -r -g maquinas -c "Maquinas Samba" -d /dev/null -s /bin/false %m$
passdb backend = smbpasswd
logon drive = P:
# Geral
################
logon script = %U.bat
###############################################################################
# Senhas do samba x unix #
###############################################################################
smb passwd file = /etc/smbpasswd
username map = /etc/samba/smbusers
null passwords = no
password level = 0
unix password sync = Yes
passwd program = /usr/bin/passwd %u
passwd chat = *New*UNIX*password* %n\n *ReType*new*UNIX*password* %n\n *passwd:*all*authentication*tokens*updated*sucessfully*
###############################################################################
# Configuracao do Desempenho do Servidor #
###############################################################################
socket options = TCP_NODELAY SO_SNDBUF=8192 SO_RCVBUF=8192
remote announce = 192.168.0.255
###############################################################################
# Configuracao para PDC da rede #
###############################################################################
domain logons = yes
domain master = yes
os level = 33
prefered master = yes
local master = yes
###############################################################################
# Configuracao do Servidor #
# Configuracao do Servico de Impressao #
# Configuracao de Servico para Resolucao de Nomes #
# Configuracao de Administracao do Samba #
###############################################################################
admin users = root, administrador
name resolve order = bcast host wins lmhosts
hosts equiv = /etc/hosts
hostname lookups = yes
dns proxy = no
wins support = yes
interfaces = lo, eth0
hosts allow = 192.168.0. 127.
bind interfaces only = Yes
time server = yes
printer admin = root, administrator, administrador
printcap name = /etc/printcap
load printers = yes
show add printer wizard = No
[homes]
comment = Home Directories
valid users = %S
read only = No
browseable = No
force user = %S
[printers]
comment = SMB Print Spool
path = /var/spool/samba
guest ok = Yes
printable = Yes
browseable = No
[netlogon]
comment = Network Logon Service
path = /opt/spool/samba
guest ok = Yes
locking = No
[profiles]
comment = Profile Share
path = /home/%U/profiles
read only = No
profile acls = Yes
[print$]
comment = Printer Drivers
path = /var/lib/samba/drivers
browseable = Yes
guest ok = No
read only = Yes
write list = root
[public]
comment = Diretorio Publico de Acesso
path = /home/public
public = Yes
read only = No
writable = Yes
browseable = Yes
# printable = Yes
create mask = 7777
force create mode= 7777
directory mode = 7777
[seguradoras]
comment = Diretorio de Seguradoras
path = /home/seguradoras
public = Yes
read only = No
writable = Yes
browseable = Yes
create mask = 7777
force create mode= 7777
directory mode = 7777
[marketing]
comment = Diretorio de Arquivos Marketing
path = /home/marketing
valid users = cloureiro, raquel, root
public = No
writable = Yes
printable = No
create mask = 7777
force create mode= 7777
directory mode = 7777
[tecnica]
comment = Diretorio de Arquivos Tecnica
path = /home/tecnica
valid users = @tecnica, root, rcopati, skayo
public = No
writable = Yes
printable = No
create mask = 7777
directory mode = 7777
force create mode= 7777
[adm]
comment = Diretorio de Arquivos Adm
path = /home/adm
valid users = @administrativo, root
public = No
writable = Yes
printable = No
create mask = 7777
directory mode = 7777
force create mode= 7777
[cdrom]
comment = CD-ROM Servidor
path = /mnt/cdrom
read only = Yes
public = Yes
printable = No
guest ok = Yes
browseable = Yes
[backup]
comment = Hd de Backup
path = /mnt/backup
writable = yes
public = no
printable = no
valid users = @informatica, root
create mask = 7777
directory mode = 7777
force create mode = 7777