new compilation failure in lib/ldap.c -- LDAP now required?

Jelmer Vernooij jelmer at samba.org
Sat Apr 5 17:48:23 GMT 2003


On Sat, 2003-04-05 at 16:36, Green, Paul wrote:
> The build_farm is reporting a failure building HEAD on Stratus VOS. We don't
> support LDAP, but the prototype for the following entrypoints require a
> typedef named LDAP. Ergo, the build fails on the first compilation.
> 
> Does this mean that Samba is going to require that the underlying OS support
> LDAP, or this is this just a coding oversight?
>  
> /* The following definitions come from lib/ldap.c  */
> 
> int smb_ldap_open_connection (struct smb_ldap_privates *ldap_state,
>                      LDAP ** ldap_struct);
> int smb_ldap_connect_system(struct smb_ldap_privates *ldap_state,
>                    LDAP * ldap_struct);
> 
> The lib/ldap.c module is new. It looks like it was checked-in by jmcd on
> Thursday...sorry for the delay in noticing it.
We won't require ldap to be installed, but the current behaviour needs
to be fixed (we only need to pass lib/ldap.c to the proto.h generation 
script when LDAP is found).

Jelmer
-- 
Jelmer Vernooij <jelmer at samba.org>
Samba Team


More information about the samba-technical mailing list