When trying to bind to ldapi:// with SASL EXTERNAL auth i get this error from slapd on solaris.


==> sasl_bind: dn="" mech=EXTERNAL datalen=0
send_ldap_result: err=7 matched="" text="SASL(-4): no mechanism available: "
connection_get(12)
ber_dump: buf=82c5408 ptr=82c5408 end=82c540d len=5
  0000:  02 01 02 42 00




slapd.conf(snippet):

sasl-secprops minssf=0

sasl-regexp
        .*uidNumber=0.*,cn=peercred,
cn=external,cn=auth
        uid=heimdal,dc=services,dc=dmarkey,dc=com






Would anyone be able to help me?

Solaris 10 x86, slapd 2.3.39(have also tried 2.4)

I've established this is a solaris specific problem, i compiled everything from scratch on CentOS with the same options and it worked fine. Anyone have any ideas? are sockets different on solaris?



Much appreciated.

David Markey