It must be my conf, but testparm comes out fine with no errors (I even fixed the ulimit warning). Please help me, this must be up by Monday! I'm running 3.5.1 now, or trying to, but was running 3.4.x on suse 10.1 (now I'm on opensuse 11.2).
If the interfaces line is changed to "eth0, eth1, lo", status shows "unused" instead of "dead" after attempting to start. No error and nothing but start messages in the logs after attempting to start via /etc/init.d/smb start and the .pid file is always left behind. What am I doing wrong?!
[global]
workgroup = SAMBAAIC
realm = CARTMAN.MOUNTAIN.TOWN
netbios name = SAMBAPDC
netbios aliases = cartman
server string = Samba PDC Server
interfaces = eth*, lo
bind interfaces only = Yes
log level = 3 vfs:1
log file = /var/log/samba/%U-.%m.log
max log size = 50
smb ports = 139
reset on zero vc = Yes
passdb backend = smbpasswd
load printers = No
name resolve order = wins lmhosts hosts bcast
max wins ttl = 86400
time server = Yes
unix extensions = No
deadtime = 15
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
load printers = No
add group script = /home/samba/group/smbgrpadd.sh "%g"
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
local master = Yes
wins support = Yes
template homedir = /home/samba/users/%U
acl check permissions = No
inherit acls = Yes
nt acl support = No
profile acls = Yes
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.exe/*.xls/*.dwg/*.dxf/*.mdb/*.doc/*.ppt/*.crf/*.rpt/*.ldb/*.mde/
map archive = No
map readonly = No
map to guest = Bad User
wide links = Yes
usershare allow guests = Yes
dos filemode = Yes
store dos attributes = Yes
printcap name = /etc/printcap
client signing = disabled
vfs objects = extd_audit
[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No
[ntlogon]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[profiles]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[pricing]
path = /home/samba/pricing
read only = No
create mask = 0777
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[homes]
comment = Home directory for %u
path = /home/samba/home/%u
read only = No
create mask = 0600
force create mode = 0600
directory mask = 0700
force directory mode = 0700
browseable = No
[public]
comment = Public Share Directories
path = /home/samba/public/public/
read only = No
create mask = 0666
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[mgmt]
comment = Accounting Share Directories
path = /home/samba/public/mgmt
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[acct]
comment = Accounting Share Directories
path = /home/samba/public/accounting
read only = No
create mask = 0660
directory mask = 0770
inherit acls = No
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[eng]
comment = Engineering Share Directories
path = /home/samba/public/engineering
force group = +engdir
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[engarch]
comment = Engineering Share Directories
path = /home/samba/public/engineering-archive
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[mrkt]
comment = Marketing Share Directories
path = /home/samba/public/marketing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[it]
comment = Share Directories
path = /home/samba/public/it
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
comment = Share Directories
path = /home/samba/public/hr
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[ship]
comment = Share Directories
path = /home/samba/public/shipping
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[prod]
comment = Share Directories
path = /home/samba/public/production
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[purch]
comment = Share Directories
path = /home/samba/public/purchasing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[qual]
comment = Share Directories
path = /home/samba/public/quality
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[sales]
comment = Share Directories
path = /home/samba/public/sales
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[tool]
comment = Share Directories
path = /home/samba/public/toolroom
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[inv]
comment = Share Directories
path = /home/samba/public/inventory
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[reports]
comment = Intranet Upload Dir
path = /srv/ read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
case sensitive = No
strict locking = No
[cdrom]
path = /mnt/cdrom
guest ok = Yes
root preexec = mount /mnt/cdrom
root postexec = umount /mnt/cdrom && eject /mnt/cdrom
[LoginScripts]
comment = Login Script Directory
path = /home/samba/scripts/group
read only = No
create mask = 0666
directory mask = 0777
browseable = No
[cartmanwww]
comment = Cartman Apache Root
path = /srv/ read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No
If the interfaces line is changed to "eth0, eth1, lo", status shows "unused" instead of "dead" after attempting to start. No error and nothing but start messages in the logs after attempting to start via /etc/init.d/smb start and the .pid file is always left behind. What am I doing wrong?!
[global]
workgroup = SAMBAAIC
realm = CARTMAN.MOUNTAIN.TOWN
netbios name = SAMBAPDC
netbios aliases = cartman
server string = Samba PDC Server
interfaces = eth*, lo
bind interfaces only = Yes
log level = 3 vfs:1
log file = /var/log/samba/%U-.%m.log
max log size = 50
smb ports = 139
reset on zero vc = Yes
passdb backend = smbpasswd
load printers = No
name resolve order = wins lmhosts hosts bcast
max wins ttl = 86400
time server = Yes
unix extensions = No
deadtime = 15
socket options = TCP_NODELAY IPTOS_LOWDELAY SO_KEEPALIVE
load printers = No
add group script = /home/samba/group/smbgrpadd.sh "%g"
logon script = login.bat
logon path = \\%L\profiles\%U
logon drive = H:
logon home = \\%L\%U
security = user
add machine script = /usr/sbin/useradd -c Machine -d /var/lib/nobody -s /bin/false %m$
domain logons = Yes
os level = 64
preferred master = Yes
domain master = Yes
local master = Yes
wins support = Yes
template homedir = /home/samba/users/%U
acl check permissions = No
inherit acls = Yes
nt acl support = No
profile acls = Yes
veto files = /*.eml/*.nws/*.{*}/
veto oplock files = /*.exe/*.xls/*.dwg/*.dxf/*.mdb/*.doc/*.ppt/*.crf/*.rpt/*.ldb/*.mde/
map archive = No
map readonly = No
map to guest = Bad User
wide links = Yes
usershare allow guests = Yes
dos filemode = Yes
store dos attributes = Yes
printcap name = /etc/printcap
client signing = disabled
vfs objects = extd_audit
[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No
[ntlogon]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[profiles]
comment = roaming user profile
path = /home/samba/ntlogon
read only = No
create mask = 0600
directory mask = 0700
browseable = No
[pricing]
path = /home/samba/pricing
read only = No
create mask = 0777
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[homes]
comment = Home directory for %u
path = /home/samba/home/%u
read only = No
create mask = 0600
force create mode = 0600
directory mask = 0700
force directory mode = 0700
browseable = No
[public]
comment = Public Share Directories
path = /home/samba/public/public/
read only = No
create mask = 0666
directory mask = 0777
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[mgmt]
comment = Accounting Share Directories
path = /home/samba/public/mgmt
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[acct]
comment = Accounting Share Directories
path = /home/samba/public/accounting
read only = No
create mask = 0660
directory mask = 0770
inherit acls = No
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[eng]
comment = Engineering Share Directories
path = /home/samba/public/engineering
force group = +engdir
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[engarch]
comment = Engineering Share Directories
path = /home/samba/public/engineering-archive
read only = No
create mask = 0664
directory mask = 0775
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[mrkt]
comment = Marketing Share Directories
path = /home/samba/public/marketing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[it]
comment = Share Directories
path = /home/samba/public/it
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
comment = Share Directories
path = /home/samba/public/hr
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[ship]
comment = Share Directories
path = /home/samba/public/shipping
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[prod]
comment = Share Directories
path = /home/samba/public/production
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[purch]
comment = Share Directories
path = /home/samba/public/purchasing
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[qual]
comment = Share Directories
path = /home/samba/public/quality
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[sales]
comment = Share Directories
path = /home/samba/public/sales
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[tool]
comment = Share Directories
path = /home/samba/public/toolroom
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[inv]
comment = Share Directories
path = /home/samba/public/inventory
read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[reports]
comment = Intranet Upload Dir
path = /srv/ read only = No
create mask = 0666
directory mask = 0777
guest ok = Yes
case sensitive = No
strict locking = No
[cdrom]
path = /mnt/cdrom
guest ok = Yes
root preexec = mount /mnt/cdrom
root postexec = umount /mnt/cdrom && eject /mnt/cdrom
[LoginScripts]
comment = Login Script Directory
path = /home/samba/scripts/group
read only = No
create mask = 0666
directory mask = 0777
browseable = No
[cartmanwww]
comment = Cartman Apache Root
path = /srv/ read only = No
create mask = 0660
directory mask = 0770
vfs objects = recycle
recycle:versions = Yes
recycle:touch = Yes
recycle:repository = .recycle/%U
recycle:maxsize = 100000000
recycle:keeptree = Yes
recycle:exclude_dir = /tmp /temp /cache
recycle:exclude = *.tmp *.temp *.o *.obj ~$* *.~?? *.log *.bak
[netlogon]
path = /home/samba/netlogon
inherit acls = No
guest ok = Yes
browseable = No