[csw-users] Samba 3.2.0 and 3.0.31 ?

Dennis Clarke blastwave at gmail.com
Wed Jul 23 19:33:15 CEST 2008


I hate to beat a dead horse .. but I have Samba 3.0.31 and 3.2.0 built
and tested with Windows XP and Vista. I'm not too sure how to get
these things out to the world other than to post the packages. I have
no reason or desire to break this thing up into 8 itty bitty packages
with 20 files in some and 200 in others. That is a waste of time and
energy.

# /opt/csw/bin/findsmb

                                *=DMB
                                +=LMB
IP ADDR         NETBIOS NAME     WORKGROUP/OS/VERSION
---------------------------------------------------------------------
192.168.35.8    VESTA          [CSWSAMBA] [Unix] [Samba 3.2.0]
192.168.35.42   TITAN         +[CSWSAMBA] [Unix] [Samba 3.0.31]

So there they are running on x86 and on Sparc. I have tested Solarsi 8
and Solaris 10 and in a zone. I have even built on PowerPC Linux just
to see what that was like. Same sort of thing and it even has the same
PATHs in the app :

# /opt/csw/sbin/smbd -b
Build environment:
   Built by:    dclarke at vesta
   Built on:    Sat Jul 12 21:21:57 EDT 2008
   Built using: gcc
   Build host:  Linux vesta 2.6.19-rc6-g9468d500-dirty #35 PREEMPT Mon
Nov 27 20:48:16 CET 2006 ppc GNU/Linux
   SRCDIR:
/home/dclarke/build/samba/samba-3.2.0-build/../samba-3.2.0/source
   BUILDDIR:    /home/dclarke/build/samba/samba-3.2.0-build

Paths:
   SBINDIR: /opt/csw/sbin
   BINDIR: /opt/csw/bin
   SWATDIR: /opt/csw/share/samba/swat
   CONFIGFILE: /etc/opt/csw/samba/smb.conf
   LOGFILEBASE: /var/opt/csw/samba/state
   LMHOSTSFILE: /etc/opt/csw/samba/lmhosts
   LIBDIR: /opt/csw/lib
   SHLIBEXT: so
   LOCKDIR: /var/opt/csw/samba/lock
   PIDDIR: /var/opt/csw/samba
   SMB_PASSWD_FILE: /etc/opt/csw/samba/private/smbpasswd
   PRIVATE_DIR: /etc/opt/csw/samba/private

The Solaris versions were built with Sun Studio 11 :

# /opt/SUNWspro/bin/cc -V
cc: Sun C 5.8 Patch 121016-07 2007/10/03
usage: cc [ options] files.  Use 'cc -flags' for details
# /opt/SUNWspro/bin/CC -V
CC: Sun C++ 5.8 Patch 121018-14 2008/04/16

# /opt/csw/sbin/smbd -b | more
Build environment:
   Built by:    dclarke at titan
   Built on:    Sat Jul 12 14:32:01 EDT 2008
   Built using: cc
   Build host:  SunOS titan 5.8 Generic_117351-54 i86pc i386 i86pc
   SRCDIR:      /export/nfs/samba/build/samba-3.0.31-build/../samba-3.0.31/sourc
e
   BUILDDIR:    /export/nfs/samba/build/samba-3.0.31-build

Paths:
   SBINDIR: /opt/csw/sbin
   BINDIR: /opt/csw/bin
   SWATDIR: /opt/csw/share/samba/swat
   CONFIGFILE: /etc/opt/csw/samba/smb.conf
   LOGFILEBASE: /var/opt/csw/samba/state
   LMHOSTSFILE: /etc/opt/csw/samba/lmhosts
   LIBDIR: /opt/csw/lib
   SHLIBEXT: so
   LOCKDIR: /var/opt/csw/samba/lock
   PIDDIR: /var/opt/csw/samba
   SMB_PASSWD_FILE: /etc/opt/csw/samba/private/smbpasswd
   PRIVATE_DIR: /etc/opt/csw/samba/private

etc etc etc ...

Type sizes:
   sizeof(char):         1
   sizeof(int):          4
   sizeof(long):         4
   sizeof(long long):    8
   sizeof(uint8):        1
   sizeof(uint16):       2
   sizeof(uint32):       4
   sizeof(short):        2
   sizeof(void*):        4
   sizeof(size_t):       4
   sizeof(off_t):        8
   sizeof(ino_t):        8
   sizeof(dev_t):        4

Builtin modules:
    pdb_ldap pdb_smbpasswd pdb_tdbsam rpc_lsa rpc_reg rpc_lsa_ds rpc_wkssvc rpc_
svcctl rpc_ntsvcs rpc_net rpc_netdfs rpc_srv rpc_spoolss rpc_eventlog rpc_samr r
pc_echo idmap_ldap idmap_tdb idmap_passdb idmap_nss nss_info_template auth_sam a
uth_unix auth_winbind auth_server auth_domain auth_builtin vfs_default vfs_solar
isacl

anyways ... the upshot of all this is .. I have gottent to be fairly
adept at building a nice Samba package and I feel that it should be
available *somewhere* and somehow.

Thoughts ?

Dennis



More information about the users mailing list