[Samba] ADS on Solaris

Eric Boehm boehm at nortel.com
Thu May 11 18:39:40 GMT 2006


On Thu, May 11, 2006 at 10:54:00AM -0700, Harris, Jason (DIS) wrote:
>>>>> "Jason" == Harris, Jason \(DIS\) <Harris> writes:

    Jason> Hi all, I see that the premade binaries for Samba on
    Jason> Solaris, even recent versions, have ADS support not
    Jason> compiled in.  I see more ad domains than nt4 domains these
    Jason> days, so I am going to compile it myself with ads on.  I
    Jason> want to ask the experienced if there are any gotchas with
    Jason> ads Samba on Solaris, or something about Solaris that makes
    Jason> ads Samba support difficult.  Thanks
 
ADS support is non-trivial. There are so many additional packages and
libraries needed. You would have to provide distributions of kerberos,
SSL, ldap, iconv, sasl, readline, etc.

I had to play games with the linker and specify the RUN_PATH to the
libraries as being the samba lib directory.

Here's what ldd on smbd looks like -- pay attention to

/opt/corp/local/samba/lib/... 

You could try statically linking but I'm not sure that would work.

I don't think you want to go there.

        libthread.so.1 =>        /usr/lib/64/libthread.so.1
        libldap.so.2 =>  /opt/corp/local/samba/lib/libldap.so.2
        liblber.so.2 =>  /opt/corp/local/samba/lib/liblber.so.2
        libgssapi_krb5.so.2 =>   /opt/corp/local/samba/lib/libgssapi_krb5.so.2
        libkrb5.so.3 =>  /opt/corp/local/samba/lib/libkrb5.so.3
        libk5crypto.so.3 =>      /opt/corp/local/samba/lib/libk5crypto.so.3
        libkrb5support.so.0 =>   /opt/corp/local/samba/lib/libkrb5support.so.0
        libcom_err.so.3 =>       /opt/corp/local/samba/lib/libcom_err.so.3
        libresolv.so.2 =>        /usr/lib/64/libresolv.so.2
        libsocket.so.1 =>        /usr/lib/64/libsocket.so.1
        libnsl.so.1 =>   /usr/lib/64/libnsl.so.1
        libsendfile.so.1 =>      /usr/lib/64/libsendfile.so.1
        libsec.so.1 =>   /usr/lib/64/libsec.so.1
        libgen.so.1 =>   /usr/lib/64/libgen.so.1
        libdl.so.1 =>    /usr/lib/64/libdl.so.1
        libiconv.so.2 =>         /opt/corp/local/samba/lib/libiconv.so.2
        libc.so.1 =>     /usr/lib/64/libc.so.1
        libsasl2.so.2 =>         /opt/corp/local/samba/lib/libsasl2.so.2
        libdb-4.3.so =>  /opt/corp/local/samba/lib/libdb-4.3.so
        libkrb4.so.2 =>  /opt/corp/local/samba/lib/libkrb4.so.2
        libdes425.so.3 =>        /opt/corp/local/samba/lib/libdes425.so.3
        libssl.so.0.9.8 =>       /opt/corp/local/samba/lib/libssl.so.0.9.8
        libcrypto.so.0.9.8 =>    /opt/corp/local/samba/lib/libcrypto.so.0.9.8
        libmp.so.2 =>    /usr/lib/64/libmp.so.2
        librt.so.1 =>    /usr/lib/64/librt.so.1
        libaio.so.1 =>   /usr/lib/64/libaio.so.1
        /usr/platform/SUNW,Sun-Blade-1500/lib/sparcv9/libc_psr.so.1



-- 
Eric M. Boehm                  /"\  ASCII Ribbon Campaign
boehm at nortel.com               \ /  No HTML or RTF in mail
                                X   No proprietary word-processing
Respect Open Standards         / \  files in mail


More information about the samba mailing list