Bug 536 - Problems compiling Samba v.3.0.0 under Sun Solaris 9
Summary: Problems compiling Samba v.3.0.0 under Sun Solaris 9
Status: RESOLVED DUPLICATE of bug 669
Alias: None
Product: Samba 3.0
Classification: Unclassified
Component: Build environment (show other bugs)
Version: 3.0.0
Hardware: All Solaris
: P3 regression
Target Milestone: 3.0.1
Assignee: Gerald (Jerry) Carter (dead mail address)
QA Contact:
URL:
Keywords:
Depends on:
Blocks: 807
  Show dependency treegraph
 
Reported: 2003-09-30 05:56 UTC by Oystein Halvorsen
Modified: 2005-11-14 09:27 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Oystein Halvorsen 2003-09-30 05:56:38 UTC
Problems compiling Samba v.3.0.0 under Sun Solaris 9

$uname -a
SunOS tromoya 5.9 Generic_112233-05 sun4u sparc SUNW,Ultra-Enterprise

$gcc -v
Reading specs from /usr/local/lib/gcc-lib/sparc-sun-solaris2.9/3.3/specs
Configured with: ../configure --disable-nls --with-as=/usr/ccs/bin/as --with-ld=
/usr/ccs/bin/ld
Thread model: posix
gcc version 3.3


i) Configuration and compiling ends up with a link error

$cd /src/samba-3.0.0/source
$./configure
.....
$gmake
.....
Linking bin/smbd
Undefined                       first referenced
 symbol                             in file
lsa_ds_get_pipe_fns                 rpc_server/srv_pipe.o
samr_get_pipe_fns                   rpc_server/srv_pipe.o
lsa_get_pipe_fns                    rpc_server/srv_pipe.o
reg_get_pipe_fns                    rpc_server/srv_pipe.o
netlog_get_pipe_fns                 rpc_server/srv_pipe.o
wkssvc_get_pipe_fns                 rpc_server/srv_pipe.o
netdfs_get_pipe_fns                 rpc_server/srv_pipe.o
ld: fatal: Symbol referencing errors. No output written to bin/smbd
collect2: ld returned 1 exit status
gmake: *** [bin/smbd] Error 1

ii) Editing the Makefile to include more object files for RPC_SERVER removes 
    errors, but the executables become significantly larger than for v.2.2.8a

$diff -w Makefile.orig Makefile
262c262,264
< RPC_SERVER_OBJ =  $(RPC_SVC_OBJ) $(RPC_SPOOLSS_OBJ) $(RPC_PIPE_OBJ)
---
> RPC_SERVER_OBJ =  $(RPC_SVC_OBJ) $(RPC_SPOOLSS_OBJ) $(RPC_PIPE_OBJ) \
>                 $(RPC_LSA_OBJ) $(RPC_NETLOG_OBJ) $(RPC_SAMR_OBJ) 
$(RPC_REG_OBJ) \
>                 $(RPC_LSA_DS_OBJ) $(RPC_WKS_OBJ) $(RPC_DFS_OBJ)

$gmake
.....
$gmake install
$ls -l /usr/local/samba/sbin
total 235208
-rwxr-xr-x   1 root     44968272 Sep 30 12:34 nmbd
-rwxr-xr-x   1 root       791052 Sep 26 15:31 nmbd.old
-rwxr-xr-x   1 root     87655784 Sep 30 12:34 smbd
-rwxr-xr-x   1 root      1905472 Sep 26 15:31 smbd.old
-rwxr-xr-x   1 root     44709384 Sep 30 12:34 swat
-rwxr-xr-x   1 root      1097940 Sep 26 15:31 swat.old
-rwxr-xr-x   1 root     58299424 Sep 30 12:34 winbindd
-rwxr-xr-x   1 root      1192852 Sep 26 15:31 winbindd.old

iii) The smbd executable doesn't work; gives protocol negotiation disgnostics

$/usr/local/samba/sbin/smbd -D
$/usr/local/samba/sbin/nmbd -D


$smbclient //localhost/root -U hal
protocol negotiation failed

$smbstatus
sessionid.tdb not initialised

Service      pid     machine       Connected at
-------------------------------------------------------
No locked files
Comment 1 Gerald (Jerry) Carter (dead mail address) 2003-10-01 09:43:55 UTC
For some reason, your platform looks like it is building the
rpc modules as shared libraries.  Try adding --with-static-modules
to the configure line.

btw...I've not seen this problem on the Solaris boxes I test on.
Comment 2 Oystein Halvorsen 2003-10-28 04:18:02 UTC
iv)

Installed GNU binutils-2.14

Reconfigured with shared modules

gmake distclean
./configure --with-shared-modules
....

Library 'libdl' now removed from link list:

diff -w Makefile Makefile%
14c14
< LIBS= -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -liconv
---
> LIBS= -lsendfile -lsec -lgen -lresolv -lsocket -lnsl -ldl -liconv
254a255
>

gmake
....
gmake install
....

Binaries are now of more "natural" size:

#ls -l /usr/local/samba/sbin
total 13664
-rwxr-xr-x   1 root      2428072 Oct 28 12:46 nmbd
-rwxr-xr-x   1 root      5559395 Oct 28 12:46 smbd
-rwxr-xr-x   1 root      2456569 Oct 28 12:46 swat
-rwxr-xr-x   1 root      3504615 Oct 28 12:46 winbindd

Samba deamon 'smbd' still doesn't work properly:

#smbclient //localhost/root -d 10 -U hal
[2003/10/28 12:59:10, 5] lib/debug.c:debug_dump_status(359)
  INFO: Current debug levels:
    all: True/10
    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
[2003/10/28 12:59:10, 3] param/loadparm.c:lp_load(3917)
  lp_load: refreshing parameters
[2003/10/28 12:59:10, 3] param/loadparm.c:init_globals(1303)
  Initialising global parameters
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(87)
  Attempting to register new charset UCS-2LE
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(95)
  Registered charset UCS-2LE
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(87)
  Attempting to register new charset UTF8
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(95)
  Registered charset UTF8
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(87)
  Attempting to register new charset ASCII
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(95)
  Registered charset ASCII
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(87)
  Attempting to register new charset 646
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(95)
  Registered charset 646
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(87)
  Attempting to register new charset UCS2-HEX
[2003/10/28 12:59:10, 5] lib/iconv.c:smb_register_charset(95)
  Registered charset UCS2-HEX
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 3] param/params.c:pm_process(566)
  params.c:pm_process() - Processing configuration file "/usr/local/samba/lib/sm
b.conf"
[2003/10/28 12:59:10, 3] param/loadparm.c:do_section(3420)
  Processing section "[global]"
  doing parameter workgroup = DOM_GRIDA
  doing parameter server string = Samba %v
  doing parameter encrypt passwords = Yes
  doing parameter username map = /usr/local/samba/lib/smbusers
  doing parameter log file = /usr/local/samba/var/log.%m
  doing parameter max log size = 50
  doing parameter name resolve order = host wins bcast
  doing parameter local master = No
  doing parameter wins proxy = Yes
  doing parameter wins support = Yes
  doing parameter remote announce = 128.39.148.255 128.39.149.255 128.39.158.15
128.39.158.175 128.39.158.191 159.162.162.255
  doing parameter printer admin = root, @master
  doing parameter fstype = Samba
  doing parameter inherit permissions = Yes
[2003/10/28 12:59:10, 4] param/loadparm.c:lp_load(3949)
  pm_process() returned Yes
[2003/10/28 12:59:10, 7] param/loadparm.c:lp_servicenumber(4059)
  lp_servicenumber: couldn't find homes
[2003/10/28 12:59:10, 10] param/loadparm.c:set_server_role(3867)
  set_server_role: role = ROLE_STANDALONE
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(102)
  Probing module 'ISO8859-1'
[2003/10/28 12:59:10, 5] lib/module.c:smb_probe_module(113)
  Probing module 'ISO8859-1': Trying to load from /usr/local/samba/lib/charset/I
SO8859-1.so
[2003/10/28 12:59:10, 3] lib/module.c:do_smb_load_module(46)
  Error loading module '/usr/local/samba/lib/charset/ISO8859-1.so': ld.so.1: smb
client: fatal: /usr/local/samba/lib/charset/ISO8859-1.so: open failed: No such f
ile or directory
[2003/10/28 12:59:10, 5] lib/charcnv.c:charset_name(71)
  Locale charset 'ISO8859-1' unsupported, using ASCII instead
[2003/10/28 12:59:10, 2] lib/interface.c:add_interface(79)
  added interface ip=128.39.158.5 bcast=128.39.158.15 nmask=255.255.255.240
[2003/10/28 12:59:10, 5] lib/util.c:init_names(270)
  Netbios name list:-
  my_netbios_names[0]="TROMOYA"
[2003/10/28 12:59:10, 3] client/client.c:main(2954)
  Client started (version 3.0.0).
[2003/10/28 12:59:10, 10] libsmb/namequery.c:internal_resolve_name(989)
  internal_resolve_name: looking up localhost#20
[2003/10/28 12:59:10, 5] lib/gencache.c:gencache_init(59)
  Opening cache file at /usr/local/samba/var/locks/gencache.tdb
[2003/10/28 12:59:10, 10] lib/gencache.c:gencache_get(264)
  Returning valid cache entry: key = NBT/LOCALHOST#20, value = 127.0.0.1:0, time
out = Tue Oct 28 13:03:08 2003

[2003/10/28 12:59:10, 5] libsmb/namecache.c:namecache_fetch(201)
  name localhost#20 found.
[2003/10/28 12:59:10, 3] lib/util_sock.c:open_socket_out(690)
  Connecting to 127.0.0.1 at port 445
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_KEEPALIVE = 0
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_REUSEADDR = 0
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_BROADCAST = 0
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option TCP_NODELAY = 1
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_LOWDELAY = 0
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option IPTOS_THROUGHPUT = 0
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_SNDBUF = 49152
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(105)
  socket option SO_RCVBUF = 49152
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(103)
  Could not test socket option SO_SNDLOWAT.
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(103)
  Could not test socket option SO_RCVLOWAT.
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(103)
  Could not test socket option SO_SNDTIMEO.
[2003/10/28 12:59:10, 5] lib/util_sock.c:print_socket_options(103)
  Could not test socket option SO_RCVTIMEO.
[2003/10/28 12:59:10, 4] client/client.c:do_connect(2563)
   session request ok
[2003/10/28 12:59:10, 6] lib/util_sock.c:write_socket(407)
  write_socket(4,183)
[2003/10/28 12:59:10, 6] lib/util_sock.c:write_socket(410)
  write_socket(4,183) wrote 183
[2003/10/28 12:59:10, 5] lib/util_sock.c:read_socket_with_timeout(272)
  read_socket_with_timeout: timeout read. EOF from client.
[2003/10/28 12:59:10, 10] lib/util_sock.c:receive_smb(512)
  receive_smb: length < 0!
[2003/10/28 12:59:10, 10] libsmb/clientgen.c:client_receive_smb(65)
  client_receive_smb failed
[2003/10/28 12:59:10, 5] lib/util.c:show_msg(456)
[2003/10/28 12:59:10, 5] lib/util.c:show_msg(466)
  size=0
  smb_com=0x0
  smb_rcls=0
  smb_reh=0
  smb_err=0
  smb_flg=0
  smb_flg2=0
  smb_tid=0
  smb_pid=0
  smb_uid=0
  smb_mid=0
  smt_wct=0
  smb_bcc=0
protocol negotiation failed
Comment 3 Gerald (Jerry) Carter (dead mail address) 2003-12-07 22:43:22 UTC
I think these have been resolved in 3.0.1rc1
Comment 4 Oystein Halvorsen 2003-12-08 04:18:38 UTC
Having just compiled and tested the 3.0.1rc1 on Sun/Solaris 9, I can report back
that this version suffers from the same defects as 3.0.0 regarding incomplete
file list for  RPC_SERVER_OBJ  in the Makefile and the more severe "protocol
negotiation failed" diagnostics that blocks our possibilites to use the version 3.

How can somebody claim that this has been solved without having tested that it
really works.  Looking forward to find a succesfully pre-compiled Sun/Solaris
version of Samba 3.0
Comment 5 Gerald (Jerry) Carter (dead mail address) 2003-12-08 06:02:27 UTC
ok.  Thanks.  Will look into it deeper.
Comment 6 Gerald (Jerry) Carter (dead mail address) 2003-12-08 06:07:13 UTC

*** This bug has been marked as a duplicate of 669 ***
Comment 7 Gerald (Jerry) Carter (dead mail address) 2005-11-14 09:27:58 UTC
database cleanup