[OpenIndiana-discuss] LDAP Client StartTLS Support

Predrag Zecevic [Unix Systems Administrator] Predrag.Zecevic at 2e-systems.com
Thu Sep 11 08:11:38 UTC 2014


Hi,

I guess OI has 2 versions of ldap:
a) SunOS one
b) OpenLDAP

You might want to use (for example) openldapsearch command instead of ldapsearch [NOTE 'open' prefix]

$ pkg search -l ldapsearch
INDEX      ACTION VALUE                                            PACKAGE
basename   file   usr/share/bash-completion/completions/ldapsearch pkg:/utility/bash-completion at 2.1-2014.0.1.0
basename   file   usr/bin/ldapsearch                               pkg:/naming/ldap at 0.5.11-2014.1.2.14627
basename   link   usr/lib/openldap/bin/amd64/ldapsearch            pkg:/library/openldap at 2.4.39-2014.1.2.2
basename   link   usr/lib/openldap/bin/ldapsearch                  pkg:/library/openldap at 2.4.39-2014.1.2.2

So, you might need to install library/openldap package and add /usr/lib/openldap/bin to path before /usr/bin (if you wanna use only 
name 'ldapsearch') **or** use commands specifying 'open' prefix:

$ pkg search -l openldapsearch
INDEX      ACTION VALUE                        PACKAGE
basename   file   usr/bin/amd64/openldapsearch pkg:/library/openldap at 2.4.39-2014.1.2.2
basename   file   usr/bin/openldapsearch       pkg:/library/openldap at 2.4.39-2014.1.2.2

$ ldd /usr/lib/openldap/bin/ldapsearch
         libldap-2.4.so.2 =>      /usr/lib/libldap-2.4.so.2
         liblber-2.4.so.2 =>      /usr/lib/liblber-2.4.so.2
         libsasl.so.1 =>  /usr/lib/libsasl.so.1
         libnsl.so.1 =>   /lib/libnsl.so.1
         libc.so.1 =>     /lib/libc.so.1
         libresolv.so.2 =>        /lib/libresolv.so.2
         libsocket.so.1 =>        /lib/libsocket.so.1
         libssl.so.1.0.0 =>       /lib/libssl.so.1.0.0
         libcrypto.so.1.0.0 =>    /lib/libcrypto.so.1.0.0
         libmd.so.1 =>    /lib/libmd.so.1
         libmp.so.2 =>    /lib/libmp.so.2
         libdl.so.1 =>    /lib/libdl.so.1
         libgcc_s.so.1 =>         /usr/lib/libgcc_s.so.1
         libm.so.2 =>     /lib/libm.so.2

HTH
Regards.
Predrag Zečević

On 09/11/14 10:03 AM, Andre Kruger wrote:
> I don't think this is a Samba problem I am only providing the info to help the reader understand where I am coming from.
>
> I am trying to join my Samba server to my domain. This previously worked but our AD admins enabled LDAPS on the DCs which broke the connection. Upon retrying to join the domain, running the samba join command in debug mode I get the following:
>
>
> Successfully contacted LDAP server 1.1.1.1
> Connected to LDAP server DC1.ad.domain.com
> StartTLS not supported by LDAP client libraries!
>
>
> Is StartTLS supported by the ldap client we have in OI?
>
> According to this site earlier versions of Solaris did not support it yet so I am not sure if it is supported on the current release of OI.
>
> http://www.informit.com/articles/article.aspx?p=30339&seqNum=3
>
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> http://openindiana.org/mailman/listinfo/openindiana-discuss
>

-- 
Predrag Zečević, Technical Support Analyst, 2e Systems GmbH

Telephone: +49 6196 9505 815, Facsimile: +49 6196 9505 894
Mobile:    +49  174 3109 288,     Skype: predrag.zecevic
E-mail:    predrag.zecevic at 2e-systems.com

Headquarter:          2e Systems GmbH, Königsteiner Str. 87,
                       65812 Bad Soden am Taunus, Germany
Company registration: Amtsgericht Königstein (Germany), HRB 7303
Managing director:    Phil Douglas

http://www.2e-systems.com/ - Making your business fly!

[***]===---
According to the latest official figures, 43% of all statistics are totally worthless.



More information about the openindiana-discuss mailing list