Hi there,

libnetapi.so is heavily linked against ldap, kerberos and sasl2 libs. I don't think you can compile it against the 'original' solaris versions of these libs at least I never succeded ;)

The easiest way is to install the necessary products from sunfreeware.com, you need at least:

[sol10inst] /scratch/src/samba/samba-3.6.1 # pkginfo| grep SMC
application SMCbinut                         binutils
application SMCdb47                          db
application SMCgcc                           gcc
application SMCkrb5                          krb5
application SMCliconv                        libiconv
application SMColdap                         openldap
application SMCossl                          openssl
application SMCsasl                          sasl

As they install in '/usr/local' you should put that in the beginning of your path of cause ;) Also the usual compiler flags must be changed accordingly, then something like:

$ ./configure --prefix=/opt/samba-3.6.1 --with-ads --with-ldap=/usr/local --includedir=/usr/local/include --with-libiconv=/usr/local --with-readline=/usr/
local --with-krb5=/usr/local

should work :)


best regards
        ~christoph


--
/*   Christoph Beyer     |   Office: Building 2b / 23     *\
 *   DESY                |    Phone: 040-8998-2317        *
 *   - IT -              |      Fax: 040-8998-4060        *
\*   22603 Hamburg       |     http://www.desy.de         */


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

Reply via email to