Samba

1. Samba

fabiano
fabianomg2004

(usa Debian)

Enviado em 15/04/2010 - 21:04h

Meu problema é o seguinte: tenho arquivos compartilhados no debian no modo user e quando acesso de uma máquina com ubuntu 8.10 ou mais novo ele não me pede senha mas consigo visualizar os arquivos porém não consigo alterá-los, nas máquinas windows ou ubuntu 7.10 pede senha normalmente, é somente no ubuntu 8.10, 9.04 e 9.10 que isso não ocorre.


  


2. FEd Ora

wesley santos
FEd Suco

(usa Fedora)

Enviado em 16/04/2010 - 12:47h

Opaa Campeão...


Tem como postar o arquivo de configuração do samaba?

Ajudaria um pouco mais...


Abs.


3. Meu smb.conf

fabiano
fabianomg2004

(usa Debian)

Enviado em 20/04/2010 - 08:49h

# Global parameters#######
[GLOBAL]
# Identificacao da maquina e dominio#######

workgroup = 7BECMB
netbios name = visconde
#netbios name = _SERVIDOR_
server string = LINUX
guest ok = no

#impressao 24 jan 07
printcap name = cups
load printers = yes
printing = cups

# Niveis de acesso e funcoes do servidor#######
security = user
domain master = yes
preferred master = yes
local master = yes

# Senhas criptografadas#######
encrypt passwords = yes
smb passwd file =/etc/samba/smbpasswd
min passwd length = 4
password level = 4
unix password sync = no

# Log's do Sistema#######
log file = /var/log/samba/%U.log
max log size = 1000

#Nivel do detalhamento do log#######
debug level = 2

###Samba sendo o servidor de DATA/HORA#######
time server = yes

socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192

# Configuracoes de Caracteres no Samba#######
# novo padrao samba 3
preserve case = yes
unix charset = iso8859-1
display charset = cp850
display charset = LOCALE

#Script usado no Logon dos Usuarios#######
logon script = login.bat
domain logons = Yes
logon path = \\home\netlogon lm announce = True

os level = 100
keep alive = 20

##################Configuracao do Servidor WINS #######
wins support = no
wins proxy = no
dns proxy = no
max wins ttl = 518400

# Permite que Cada documento que for gravado no servidor tenha as permissoes 775.
create mask = 0664
directory mask = 0775
file mode = 664
file create mode = 664
directory mode = 2775
directory create mode = 2775

# Usuario administrador dos compartilhamentos
admin users= sysadmin stti root administrador

# Permite apontar para links simbolico para fora do compartilhamento exportada pelo SAMBA.
wide links = yes
follow symlinks = yes

# Criando cache para leitura/grava��o
write cache size = 384000

# Negando acesso ao samba da maquina da internet e liberando para rede
hosts allow = 192.168.0.
hosts deny = 192.168.0.1

#Nao permite colocar MP3 AVI etc no Servidor
#veto files = /*.jpeg/*.bmp/*.gif/*.rm/*.asf/*.mp3/*.avi/*.mpeg/*.mpg/*.wav/*.wma/*.wmv/*.{*}/
veto files = /*.vmx

#inserindo maquina no dominio 08/11/2004
add machine script = /usr/sbin/adduser -n -r -g machines -c "Samba machine" -d /dev/null -s /bin/false %u

#LIXEIRA
# recycle:exclude = *.tmp *.temp *.o *.obj ~$*
# recycle:keeptree = True
# recycle:touch = True
# recycle:versions = True
# recycle:noversions = .doc|.xls|.ppt
# recycle:repository = .lixeira
# recycle:maxsize = 10000000
# vfs objects = recycle

############################################################################
IMPRESSORA
############################################################################
[printers]
comment = All Printers
path = /var/spool/samba
browseable = yes
guest ok = yes
writable = yes
printable = yes
read only = yes


##############################################################################
# COMPARTILHAMENTOS
##############################################################################
[NETLOGON]
path = /home/netlogon/
read only = yes
browseable = No
share modes = No

[01_Cmt]
comment = Seja Bem Vindo %U
writeable = yes
public = yes
path = /dados/compartilhamento/01_Cmt
# create mask = 0775
# directory mask = 0775






Patrocínio

Site hospedado pelo provedor RedeHost.
Linux banner

Destaques

Artigos

Dicas

Tópicos

Top 10 do mês

Scripts