[Samba] major upgrade to 3.5.1, major problem
Chris Smith
smb_77 at chrissmith.org
Tue Mar 9 21:27:33 MST 2010
On Tue, Mar 9, 2010 at 11:09 PM, Jeremy Allison <jra at samba.org> wrote:
> There were some changes that went into nmbd in 3.5.x to
> allow it to run correctly on a box with "bind interfaces only"
> set. Can you post your smb.conf ?
Here it is:
=====================================================
[global]
name resolve order = host wins bcast
enable privileges = Yes
strict locking = No
host msdfs = no
show add printer wizard = Yes
time server = Yes
passwd program = /usr/bin/passwd %u
msdfs root = no
cups options = raw
netbios name = BIONAME
printing = cups
max wins ttl = 86400
logon script = scripts\agents.bat
local master = Yes
workgroup = WRKGRP
os level = 32
printcap name = cups
security = user
add machine script = /usr/sbin/useradd -d /dev/null -g
'nofiles' -c 'Machine Account' -s /bin/false '%u'
min wins ttl = 3600
max log size = 1000
log level = 2 passdb:2 auth:2 winbind:0
log file = /var/log/samba/%m
smb ports = 445 139
map acl inherit = Yes
logon drive = h:
deadtime = 3
username map = /etc/samba/smbusers
interfaces = eth0, 127.0.0.1
bind interfaces only = Yes
domain master = Yes
preferred master = Yes
logon home = \\%N\%U
passdb backend = tdbsam
ea support = yes
wins support = true
unix password sync = Yes
max ttl = 43200
logon path =
use sendfile = Yes
add user script = /usr/sbin/useradd -g "users" -G "agent" -m
-k "/etc/skelnul" -s /bin/false '%u'
syslog = 0
domain logons = Yes
passwd chat = *New*password* %n\n *Retype*new*password*%n\n
*password*updated*succesfully*
pam password change = Yes
=====================================================
The rest is netlogon, printer & file shares - if you want it no problem.
Also notice that after the failure if I edit the init script to
restart _just_ the nmbd daemon (leave smbd up and running) it seems to
run - if I restart both daemons it fails quickly.
Thanks,
Chris
More information about the samba
mailing list