Re: [Samba] samba 3.0.22 on solaris9 does not start as daemon

2006-06-07 Thread Håkan Stefansson
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,
 
 Neil

I think you need to install libiconv (and gettext) and rebuild samba.
The libiconv that comes with Solaris does not work with samba.

Håkan

-- 
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/listinfo/samba


[Samba] samba 3.0.22 on solaris9 does not start as daemon

2006-06-04 Thread Neil Muller
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: [EMAIL PROTECTED]


[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