LDAP Include Files for SunOS 5.7

Richard Bollinger rabollinger at attbi.com
Thu Dec 27 06:49:04 GMT 2001


Looks like you need two includes for LDAP on SunOS 5.7 else the compile fails:
    #include <lber.h>
    #include <ldap.h>

man ldap says:

Network Functions                                        ldap(3N)



NAME
     ldap - Lightweight Directory Access Protocol package

SYNOPSIS
     cc[ flag... ] file... -lldap[ library... ]

     #include <lber.h>
     #include <ldap.h>

...

Someone who knows configure.in might better make the required adjustments.

Thanks, Rich Bollinger






More information about the samba-technical mailing list