Bug 3905 - smbd does not stay running
Summary: smbd does not stay running
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: File Services (show other bugs)
Version: 3.0.23
Hardware: Sparc Solaris
: P1 critical
Target Milestone: 3.0.23
Assignee: Gerald (Jerry) Carter
QA Contact: Samba QA Contact
Depends on:
Reported: 2006-06-30 13:56 UTC by Tom Schulz
Modified: 2006-07-02 14:23 UTC (History)
0 users

See Also:

smb.conf file (635 bytes, text/plain)
2006-06-30 14:44 UTC, Tom Schulz
no flags Details
include file smb.conf.angler (1.18 KB, text/plain)
2006-06-30 14:51 UTC, Tom Schulz
no flags Details
Debug log (27.63 KB, text/plain)
2006-06-30 15:38 UTC, Tom Schulz
no flags Details
Fix for security = server (575 bytes, patch)
2006-07-01 12:28 UTC, Gerald (Jerry) Carter
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Tom Schulz 2006-06-30 13:56:05 UTC
Trying to test Samba 3.0.23rc3 on a Solaris 8 system.  Samba was built with
Sun's Forte Developer 7 C 5.4.  The smbd daemon does not stay running.  The
log.smbd contains:

[2006/06/30 14:25:58, 0] smbd/server.c:(847)
  smbd version 3.0.23rc3 started.
  Copyright Andrew Tridgell and the Samba Team 1992-2006
[2006/06/30 14:25:58, 0] printing/pcap.c:(159)
  Unable to open printcap file /etc/printers.samba for read!
[2006/06/30 14:25:58, 0] printing/pcap.c:(159)
  Unable to open printcap file /etc/printers.samba for read!
[2006/06/30 14:25:58, 0] services/services_db.c:(420)
  init_services_keys: key lookup failed! (WERR_ACCESS_DENIED)
[2006/06/30 14:25:58, 0] smbd/server.c:(960)
  ERROR: failed to setup guest info.

Note that the complaint about /etc/printers.samba is expected.  Samba 3.0.21c
works with the same configuration with no complaints except the one about
Let me know what other information you need.
Comment 1 Gerald (Jerry) Carter 2006-06-30 13:58:38 UTC
Please attach your smb.conf and verify that the 'guest account' 
is valid.
Comment 2 Tom Schulz 2006-06-30 14:44:43 UTC
Created attachment 2011 [details]
smb.conf file

smb.conf file.  I will attach the include file asap.
Comment 3 Tom Schulz 2006-06-30 14:51:26 UTC
Created attachment 2012 [details]
include file smb.conf.angler

The include file.

I can su to the nobody2 account and create files in /tmp.  Note that the older
versions of samba work with the same configuration and guest account.  The account
is defined as follows in the password file:

nobody2:0IBqJZQn66BPI:32767:32767:Nobody for Samba:/:
Comment 4 Gerald (Jerry) Carter 2006-06-30 15:10:18 UTC
Can you attach the output from 'smbd -d 10 -i' ?  I need a bit 
more detail here.  Thanks.
Comment 5 Tom Schulz 2006-06-30 15:38:15 UTC
Created attachment 2013 [details]
Debug log

Here is the output of that command.
Comment 6 Gerald (Jerry) Carter 2006-07-01 12:28:18 UTC
Created attachment 2014 [details]
Fix for security = server
Comment 7 Gerald (Jerry) Carter 2006-07-01 12:29:31 UTC
Tim,  The attached patch should solve your problem.  As a side note, 
security = server is really a deprecated mode.  You will probably get 
better overall results switching to security = {domain,ads}.  This fix 
will be in 3.0.23-final.
Comment 8 Tom Schulz 2006-07-02 14:23:08 UTC
Just to confirm, the patch does fix the problem.