[Samba] BUG IN SAMBA 3.0.4 ?
Leandro
llattan at uyuyuy.com
Fri May 14 15:07:14 GMT 2004
I used the samba-3.0.1pre1 without problems.
When I use the samba-3.0.4 (bug ms04-011 fixed), i can´t write in all shares.
Is this a bug?!
I use the same smb.conf
[global]
workgroup = jfsecco
server string = JFSECCO PDC
netbios name = belpo2
hosts allow = 10.18.
interfaces = eth0
# Windows administrators
# You can add users or groups (prefix groups with a '@')
#domain admin group = l.rathbone c.evans @domadm
# SAMBA-LDAP declarations
ldap suffix = dc=jfsecco,dc=com,dc=ar
# User with write access to the LDAP directory
ldap admin dn = cn=Manager,dc=jfsecco,dc=com,dc=ar
#ldap ssl = start tls
ldap ssl = no
ldap passwd sync = yes
# Create machine trust accounts automatically
add user script = /usr/local/sbin/smbldap-useradd.pl -w %u
# this tells Samba to use a separate log file for each machine
# that connects
log file = /usr/local/samba/var/log.%m
# How much information do you want to see in the logs?
# default (1) is only to log critical messages
log level = 2
# Put a capping on the size of the log files (in Kb).
max log size = 50
# MUST be security = user for PDC
security = user
# Most people will find that this option gives better performance.
# See speed.txt and the manual pages for details
# You may want to add the following on a Linux system:
# SO_RCVBUF=8192 SO_SNDBUF=8192
socket options = TCP_NODELAY SO_RCVBUF=8192 SO_SNDBUF=8192
# 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
local master = yes
# OS Level determines the precedence of this server in master browser
# elections. The default value (20) should be reasonable
os level = 90
# Domain Master specifies Samba to be the Domain Master Browser. This
# allows Samba to collate browse lists between subnets. Don't use this
# if you already have a Windows NT domain controller doing this job
domain master = yes
# Preferred Master causes Samba to force a local browser election on startup
# and gives it a slightly higher chance of winning the election
preferred master = yes
###WINS
wins support = yes
wins server = belpo2 belpo4
###
# I have stuck this in because it was in a HOWTO but I have no idea what it does - but it does not sound good
null passwords = no
restrict anonymous = 1
##AGREGADO
passdb backend = ldapsam:ldap://ldapservermaster
# You MUST use password encryption. Please read
# ENCRYPTION.txt, Win95.txt and WinNT.txt in the Samba documentation.
encrypt passwords = yes
passwd program =/usr/local/sbin/smbldap-passwd.pl -o %u
# When using encrypted passwords, Samba can synchronize the local
# UNIX password as well. You will also need the "passwd chat" parameters
unix password sync = no
# how should smbd talk to the local system when changing a UNIX
# password? See smb.conf(5) for details
passwd chat = *new*password* %n\n *new*password* %n\n *successfully*
# Enable this if you want Samba act as a domain controller.
domain logons = yes
# Where to store roving profiles (only for Win95 and WinNT)
# %L substitutes for this servers netbios name, %U is username
# This refers to the [profiles] share below
# The permissions on the profiles directory should be
# chmod 1757 /usr/local/samba/profiles
# drwxr-xrwt 5 root root 4096 May 1 08:43 profiles
#logon path = \\%L\profiles\%u
# UNC path specifying the network location of the user's home directory
# only used when acting as a DC for WinNT/2k/XP. Ignored by Win9x clients
#logon home = \\%L\%U
# What drive should the "logon home" be mounted at upon login ?
# only used when acting as a DC for WinNT/2k/XP. Ignored by Win9x clients
#logon drive = Z:
logon script = login.bat
#Share Definitions
[homes]
comment = Home Directories
browseable = no
writable = no
write list = %S @administradores
valid users = %S @administradores
invalid users =
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = %S
force group = administradores
[netlogon]
comment = Network Logon Service
path = /usr/local/samba/netlogon
read only = yes
public = no
valid users = %S @usuarios @administradores
writable = no
write list = llattan
locking = no
[fprotdefs]
comment = Definiciones de Virus
path = /usr/local/f-prot/fprotdefs
public = no
valid users = %S @usuarios @administradores
writable = no
write list = llattan
locking = no
[total_usuarios]
comment = Directorio para Administrador
path = /home
browseable = no
read only = yes
public = no
valid users = @administradores
writable = no
write list =
[total_grupos]
comment = Directorio para Administrador
path = /home2
browseable = no
read only = yes
public = no
valid users = @administradores
writable = no
write list =
# Provide a specific roving profile share
# the default is to use the user's home directory
# The permissions on the profiles directory should be
# chmod 1757 /usr/local/samba/profiles
# drwxr-xrwt 5 root root 4096 May 1 08:43 profiles
#[profiles]
# path = /usr/local/samba/profiles
# read only = no
# create mask = 0600
# directory mask = 0700
# writable = yes
# ;browseable = no
# ;guest ok = yes
##[ingenieria]
## path = /home/ingenieria
## valid users = @administradores @ingenieria
## public = no
## writable = no
## write list = @administradores @ingenieria
## force create mode = 0770
## force directory mode = 0770
## directory mask = 0770
## create mask = 0770
## force group = ingenieria
[sistemas]
path = /home2/sistemas
valid users = @administradores @sistemas
browseable = no
public = no
writable = no
write list = @administradores @sistemas
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = sistemas
[compras]
path = /home2/compras
valid users = @administradores @compras
browseable = no
public = no
writable = no
write list = @administradores @compras
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = compras
[administrac]
path = /home2/administracion
valid users = @administradores @administracion
browseable = no
public = no
writable = no
write list = @administradores @administracion
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = administracion
[vencimientos]
path = /home2/vencimientos
valid users = @administradores @vencimientos
browseable = no
public = no
writable = no
write list = @administradores @vencimientos
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = vencimientos
[finanzas]
path = /home2/finanzas
valid users = @administradores @finanzas
browseable = no
public = no
writable = no
write list = @administradores @finanzas
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = finanzas
[auditoria]
path = /home2/auditoria
valid users = @administradores @auditoria
browseable = no
public = no
writable = no
write list = @administradores @auditoria
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = auditoria
[comercioext]
path = /home2/comercioext
valid users = @administradores @comercioext
browseable = no
public = no
writable = no
write list = @administradores @comercioext
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = comercioext
[tipodecambio]
path = /home2/tipodecambio
valid users = @administradores @tipodecambio
browseable = no
public = no
writable = no
write list = @administradores rvalentini
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = tipodecambio
[reloj]
comment = Fichadas Reloj Empleados
path = /home2/reloj
valid users = @administradores @reloj
public = no
browsable = no
writable = no
writelist = @administradores @reloj
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = reloj
[manuales_sap]
path = /home2/manuales_sap
valid users = @administradores @manuales_sap
browseable = no
public = no
writable = no
write list = @administradores @manuales_sap
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = manuales_sap
[gclientes]
path = /home2/gclientes
valid users = @administradores @gclientes
browseable = no
public = no
writable = no
write list = @administradores @gclientes
force create mode = 0770
force directory mode = 0770
directory mask = 0770
create mask = 0770
force user = administrador
force group = gclientes
More information about the samba
mailing list