Neil Muller
2006-Jun-04 23:14 UTC
[Samba] samba 3.0.22 on solaris9 does not start as daemon
I'm trying to start smbd (samba 3.0.22) as daemon (smbd -D --configfile=/etc/smb.conf) on solaris 9 sparc with current recommended patches but the smbd process never returns from trying to become a daemon. Samba was built with ldap, (heimdal) kerberos and active directory support using gcc 3.3.2 from sunfreeware. Solaris 9 is a new install on a development machine with production patches. The build was based on notes in http://lists.samba.org/archive/samba/2006-May/120930.html except that the heimdal version is 0.7.2 and no configure patch was applied (to heimdal configure). Other software versions: openldap is 2.3.20 bison-1.34-sol7-sparc-local m4-1.4.2-sol9-sparc-local make-3.80-sol9-sparc-local db-4.2.52.NC-sol9-sparc-local binutils-2.11.2-sol8-sparc-local flex-2.5.31-sol9-sparc-local Also disabled solaris 9 ld and gssapi samba 3.0.22 (from samba.org) nmbd starts and runs as a daemon without error. The log output from smbd -D --configfile=/etc/smb.conf and smbd -F --configfile=/etc/smb.conf is identical. The daemon version of the logout is below. Can anyone suggest where to look next to resolve this? The eventual objective is to run samba as a member server in an AD mixed mode domain. Thanks, Neil -- email: neil@neologix.net.au [2006/06/01 14:12:44, 0] smbd/server.c:main(805) smbd version 3.0.22 started. Copyright Andrew Tridgell and the Samba Team 1992-2006 [2006/06/01 14:12:44, 5] lib/debug.c:debug_dump_status(368) INFO: Current debug levels: all: True/30 tdb: False/0 printdrivers: False/0 lanman: False/0 smb: False/0 rpc_parse: False/0 rpc_srv: False/0 rpc_cli: False/0 passdb: False/0 sam: False/0 auth: False/0 winbind: False/0 vfs: False/0 idmap: False/0 quota: False/0 acls: False/0 locking: False/0 msdfs: False/0 [2006/06/01 14:12:44, 2] param/loadparm.c:do_section(3671) Processing section "[homes]" [2006/06/01 14:12:44, 8] param/loadparm.c:add_a_service(2446) add_a_service: Creating snum = 0 for homes [2006/06/01 14:12:44, 10] param/loadparm.c:hash_a_service(2483) hash_a_service: creating tdb servicehash [2006/06/01 14:12:44, 10] param/loadparm.c:hash_a_service(2493) hash_a_service: hashing index 0 for service name homes doing parameter comment = Home Directories doing parameter valid users = %S doing parameter read only = No doing parameter browseable = No [2006/06/01 14:12:44, 4] param/loadparm.c:lp_load(4230) pm_process() returned Yes [2006/06/01 14:12:44, 8] param/loadparm.c:add_a_service(2446) add_a_service: Creating snum = 1 for IPC$ [2006/06/01 14:12:44, 10] param/loadparm.c:hash_a_service(2493) hash_a_service: hashing index 1 for service name IPC$ [2006/06/01 14:12:44, 3] param/loadparm.c:lp_add_ipc(2580) adding IPC service [2006/06/01 14:12:44, 8] param/loadparm.c:add_a_service(2446) add_a_service: Creating snum = 2 for ADMIN$ [2006/06/01 14:12:44, 10] param/loadparm.c:hash_a_service(2493) hash_a_service: hashing index 2 for service name ADMIN$ [2006/06/01 14:12:44, 3] param/loadparm.c:lp_add_ipc(2580) adding IPC service [2006/06/01 14:12:44, 10] param/loadparm.c:set_server_role(4163) set_server_role: role = ROLE_DOMAIN_MEMBER [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS-2LE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS-2LE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-16LE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-16LE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS-2BE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS-2BE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-16BE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-16BE [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF8 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF8 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UTF-8 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UTF-8 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset ASCII [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset ASCII [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset 646 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset 646 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset ISO-8859-1 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset ISO-8859-1 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset UCS2-HEX [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset UCS2-HEX [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(111) Registered charset CP850 [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 0] lib/iconv.c:smb_iconv_open(264) Module ISO8859-1 doesn't provide charset ISO8859-1! [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(104) Probing module 'ISO8859-1' [2006/06/01 14:12:44, 5] lib/module.c:smb_probe_module(115) Probing module 'ISO8859-1': Trying to load from /opt/local/lib/charset/ISO8859-1.so [2006/06/01 14:12:44, 5] lib/iconv.c:smb_register_charset(103) Attempting to register new charset CP850 [2006/06/01 14:12:44, 0] lib/iconv.c:smb_register_charset(106) Duplicate charset CP850, not registering [2006/06/01 14:12:44, 2] lib/module.c:do_smb_load_module(66) Module '/opt/local/lib/charset/ISO8859-1.so' loaded [2006/06/01 14:12:44, 5] lib/charcnv.c:charset_name(78) Locale charset 'ISO8859-1' unsupported, using ASCII instead [2006/06/01 14:12:44, 7] param/loadparm.c:lp_servicenumber(4343) lp_servicenumber: couldn't find printers [2006/06/01 14:12:44, 3] printing/pcap.c:pcap_cache_reload(117) reloading printcap cache [2006/06/01 14:12:44, 5] printing/print_svid.c:sysv_cache_reload(46) reloading sysv printcap cache [2006/06/01 14:12:44, 3] printing/pcap.c:pcap_cache_reload(223) reload status: ok [2006/06/01 14:12:44, 7] param/loadparm.c:lp_servicenumber(4343) lp_servicenumber: couldn't find printers [2006/06/01 14:12:44, 7] param/loadparm.c:lp_servicenumber(4343) lp_servicenumber: couldn't find printers [2006/06/01 14:12:44, 6] param/loadparm.c:lp_file_list_changed(2947) lp_file_list_changed() file /etc/smb.conf -> /etc/smb.conf last mod_time: Thu Jun 1 14:02:43 2006 [2006/06/01 14:12:44, 2] lib/interface.c:add_interface(81) added interface ip=168.130.248.50 bcast=168.130.255.255 nmask=255.255.248.0 [2006/06/01 14:12:44, 5] lib/util.c:init_names(260) Netbios name list:- my_netbios_names[0]="IT151978" [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/06/01 14:12:44, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_nt_user_token(433) NT user token: (NULL) [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_unix_user_token(454) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_context_list(950) Trying to load: smbpasswd [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend ldapsam [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'ldapsam' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend ldapsam_compat [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'ldapsam_compat' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend NDS_ldapsam [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'NDS_ldapsam' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend NDS_ldapsam_compat [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'NDS_ldapsam_compat' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend smbpasswd [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'smbpasswd' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend tdbsam [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'tdbsam' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(94) Attempting to register passdb backend guest [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:smb_register_passdb(107) Successfully added passdb backend 'guest' [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(822) Attempting to find an passdb backend to match smbpasswd (smbpasswd) [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(843) Found pdb backend smbpasswd [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(846) pdb backend smbpasswd has a valid init [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(822) Attempting to find an passdb backend to match guest (guest) [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(843) Found pdb backend guest [2006/06/01 14:12:44, 5] passdb/pdb_interface.c:make_pdb_methods_name(846) pdb backend guest has a valid init [2006/06/01 14:12:44, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwsid(1371) smbpasswd_getsampwrid: search by sid: S-1-5-21-2265894400-305447515-2996351142-501 [2006/06/01 14:12:44, 10] passdb/pdb_smbpasswd.c:smbpasswd_getsampwnam(1322) getsampwnam (smbpasswd): search by name: eirvine [2006/06/01 14:12:44, 10] passdb/pdb_smbpasswd.c:startsmbfilepwent(184) startsmbfilepwent_internal: opening file /opt/local/private/smbpasswd [2006/06/01 14:12:44, 5] passdb/pdb_smbpasswd.c:getsmbfilepwent(539) getsmbfilepwent: end of file reached. [2006/06/01 14:12:44, 7] passdb/pdb_smbpasswd.c:endsmbfilepwent(301) endsmbfilepwent_internal: closed password file. [2006/06/01 14:12:44, 10] passdb/pdb_get_set.c:pdb_set_username(617) pdb_set_username: setting username eirvine, was [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517) element 12 -> now SET [2006/06/01 14:12:44, 10] passdb/pdb_get_set.c:pdb_set_fullname(698) pdb_set_full_name: setting full name eirvine, was [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517) element 13 -> now SET [2006/06/01 14:12:44, 10] passdb/pdb_get_set.c:pdb_set_domain(644) pdb_set_domain: setting domain IT151978, was [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529) element 14 -> now DEFAULT [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529) element 20 -> now DEFAULT [2006/06/01 14:12:44, 10] passdb/pdb_get_set.c:pdb_set_user_sid(544) pdb_set_user_sid: setting user sid S-1-5-21-2265894400-305447515-2996351142-501 [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(517) element 18 -> now SET [2006/06/01 14:12:44, 10] passdb/pdb_compat.c:pdb_set_user_sid_from_rid(73) pdb_set_user_sid_from_rid: setting user sid S-1-5-21-2265894400-305447515-2996351142-501 from rid 501 [2006/06/01 14:12:44, 10] passdb/pdb_get_set.c:pdb_set_group_sid(580) pdb_set_group_sid: setting group sid S-1-5-21-2265894400-305447515-2996351142-514 [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_set_init_flags(529) element 19 -> now DEFAULT [2006/06/01 14:12:44, 10] passdb/pdb_compat.c:pdb_set_group_sid_from_rid(100) pdb_set_group_sid_from_rid: setting group sid S-1-5-21-2265894400-305447515-2996351142-514 from rid 514 [2006/06/01 14:12:44, 11] passdb/pdb_get_set.c:pdb_get_init_flags(220) element 21: DEFAULT [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:pop_sec_ctx(386) pop_sec_ctx (0, 0) - sec_ctx_stack_ndx = 0 [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 1 [2006/06/01 14:12:44, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(0) : conn_ctx_stack_ndx = 0 [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 1 [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_nt_user_token(433) NT user token: (NULL) [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_unix_user_token(454) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups [2006/06/01 14:12:44, 10] lib/system_smbd.c:sys_getgrouplist(167) sys_getgrouplist: user [eirvine] [2006/06/01 14:12:44, 10] lib/system_smbd.c:sys_getgrouplist(176) sys_getgrouplist(): disabled winbindd for group lookup [user == eirvine] [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:push_sec_ctx(256) push_sec_ctx(0, 0) : sec_ctx_stack_ndx = 2 [2006/06/01 14:12:44, 3] smbd/uid.c:push_conn_ctx(393) push_conn_ctx(0) : conn_ctx_stack_ndx = 1 [2006/06/01 14:12:44, 3] smbd/sec_ctx.c:set_sec_ctx(288) setting sec ctx (0, 0) - sec_ctx_stack_ndx = 2 [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_nt_user_token(433) NT user token: (NULL) [2006/06/01 14:12:44, 5] auth/auth_util.c:debug_unix_user_token(454) UNIX token of user 0 Primary group is 0 and contains 0 supplementary groups
HÃ¥kan Stefansson
2006-Jun-07 06:22 UTC
[Samba] samba 3.0.22 on solaris9 does not start as daemon
Neil Muller wrote:> I'm trying to start smbd (samba 3.0.22) as daemon (smbd -D > --configfile=/etc/smb.conf) on solaris 9 sparc with current recommended > patches but the smbd process never returns from trying to become a daemon. > > Samba was built with ldap, (heimdal) kerberos and active directory support > using gcc 3.3.2 from sunfreeware. Solaris 9 is a new install on a development > machine with production patches. The build was based on notes in > http://lists.samba.org/archive/samba/2006-May/120930.html except that the > heimdal version is 0.7.2 and no configure patch was applied (to heimdal > configure). > > Other software versions: > openldap is 2.3.20 > bison-1.34-sol7-sparc-local > m4-1.4.2-sol9-sparc-local > make-3.80-sol9-sparc-local > db-4.2.52.NC-sol9-sparc-local > binutils-2.11.2-sol8-sparc-local > flex-2.5.31-sol9-sparc-local > Also disabled solaris 9 ld and gssapi > samba 3.0.22 (from samba.org) > > nmbd starts and runs as a daemon without error. > > The log output from smbd -D --configfile=/etc/smb.conf and smbd -F > --configfile=/etc/smb.conf is identical. The daemon version of the logout is > below. > > Can anyone suggest where to look next to resolve this? The eventual objective > is to run samba as a member server in an AD mixed mode domain. > > Thanks, > > NeilI think you need to install libiconv (and gettext) and rebuild samba. The libiconv that comes with Solaris does not work with samba. H?kan