Index of /samba/ftp/Binary_Packages/hp/samba-3.0.23a

      Name                    Last modified       Size  Description

[DIR] Parent Directory 04-Aug-2006 11:49 - [   ] samba_3.0.23a_B.11.0..> 28-Jul-2006 15:30 33.5M [   ] samba_3.0.23a_B.11.2..> 28-Jul-2006 15:33 33.0M [   ] samba_3.0.23a_B.11.2..> 28-Jul-2006 15:37 54.8M

README: Samba 3.0.23a

Build system: HPUX_B.11.23_9000
Build date: 07_27_06
=========================================
1.  Required libraries.

  All OS versions:
    LibIconv 1.9.2  (http://hpux.cs.utah.edu)

  HP-UX 11.00 only:
    J5849AA PAM Kerberos and KRB5 Dev Tools B.11.00.12 (http://software.hp.com)

  HP-UX 11.00 and 11.11:
    OpenLdap 2.1.3  (http://hpux.cs.utah.edu)
    OpenSSL  0.9.7d (http://hpux.cs.utah.edu)
  Note: The above library versions may indicate 11.11 on the hpux.cd.utah.edu web 
        page, but they are valid for 11.00 and 11.11 (11iv1).

  HP-UX 11.23 only:
    ixOpenLdap    A.04.00-2.2.15.003      (http://software.hp.com)

2.  Installing the depot

  Download the .depot file to a HPUX system in the /tmp directory. 
  Run swinstall -s /tmp/<depotname> Samba 
  Start smbd & nmbd by /sbin/init.d/samba start.

3.  Compiler

  HP-UX 11.00/11.11:
    HP92453-01 B.11.11.06 HP C Compiler

  HP-UX 11.23:
    PA - HP92453-01 B.11.11.12 HP C Compiler
    IA - HP aC++/C for Itanium(R)-based systems B3910B A.05.60

4.  Configure options.

export CFLAGS="-O -DWITH_SYSLOG -DGUEST_ACCOUNT=\\\"smbnull\\\""
export CPPFLAGS="-I/opt/iexpress/openldap/include"
export LDFLAGS="-L/opt/iexpress/openldap/lib"

./configure \
--sbindir=\${BINDIR} \
--with-krb5  \
--with-ldap \
--with-ldapsam \
--with-ads \
--with-libiconv=/usr/local \
--with-quotas   \
--prefix=/usr/local/samba \
--with-acl-support \
--with-winbind \
--with-pam \
--with-sendfile-support \
--with-shared-modules=idmap_rid \
--disable-pie \
--with-aio-support

5. Unpack the source

The product source code is located at /usr/local/samba/src/.

The product files will be installed under /usr/local/samba. 

6.  If your system has HP CIFS Server previously installed, several libraries 
    that are used by Samba may require installation from the Opensource 
    libraries listed in item 1, or they may require re-locating.


EXAMPLE A: HP-UX 11.00, running HP CIFS Server A.01.11.04 (Samba 2.2.12), new 
           install of Opensource Samba 3.0.21a.

Test smbd:  /usr/local/samba/bin/smbd -V
            Version 3.0.21b
a. if
       /usr/local/samba/bin/smbd -V
       /usr/lib/dld.sl: Can't find path for shared library: liblber.sl.2
       /usr/lib/dld.sl: No such file or directory
       Abort(coredump)
   then
       cp /usr/local/lib/liblber /usr/local/lib/liblber.sl.2

b. if
       /usr/local/samba/bin/smbd -V
       /usr/lib/dld.sl: Can't find path for shared library: libldap.sl.2
       /usr/lib/dld.sl: No such file or directory
       Abort(coredump)
   then
       cp /usr/local/lib/libldap /usr/local/lib/libldap.sl.2

Note: libiconv.sl is correctly named and located from the libiconv install       


EXAMPLE B: HP-UX 11.11, running HP CIFS Server A.02.01 (Samba 3.0.7), new 
           install of Opensource Samba 3.0.21a.

Test smbd: /usr/local/samba/bin/smbd -V
           Version 3.0.21a

a. if
          /usr/local/samba/bin/smbd -V
          /usr/lib/dld.sl: Can't find path for shared library: liblber.sl.2
          /usr/lib/dld.sl: No such file or directory
          Abort(coredump)
   then
         # cp /usr/local/lib/liblber /usr/local/lib/liblber.sl.2


b. if 
         # /usr/local/samba/bin/smbd -V
           /usr/lib/dld.sl: Can't find path for shared library: libldap.sl.2
           /usr/lib/dld.sl: No such file or directory
           Abort(coredump)
   then
          # cp /usr/local/lib/libldap /usr/local/lib/libldap.sl.2

Note:  libiconv will already be on the system from the CIFS installation.