Daniel Eggert writes:

On lørdag, nov 30, 2002, at 19:45 Europe/Copenhagen, Sam Varshavchik
wrote:

Daniel Eggert writes:

Hi all,
During compile I get the following error:
	authldaplib.c:1165: warning: implicit declaration of function
`ldap_modify_s'
	*** Error code 1
Check your OpenLDAP version.
I've got openldap-2.0.27. What's the requirement? I couldn't find any
info on this. Thanks,
Well, I've got 2.0.25, where ldap_modify_s exists without too much of a
fuss:

LDAP_MODIFY(3)                                                  LDAP_MODIFY(3)

NAME
      ldap_modify, ldap_modify_s - Perform an LDAP modify operation

SYNOPSIS
      #include <ldap.h>

      int ldap_modify(ld, dn, mods)
      LDAP *ld;
      char *dn;
      LDAPMod *mods[];

      int ldap_modify_s(ld, dn, mods)
      LDAP *ld;
      char *dn;
      LDAPMod *mods[];

[ ... ]

So, either your include files are busted, or this function was removed in
later versions of OpenLDAP, which I really find it rather hard to believe.
You shold verify that your OpenLDAP install has not been corrupted.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
courier-users mailing list
[EMAIL PROTECTED]
Unsubscribe: https://lists.sourceforge.net/lists/listinfo/courier-users

Reply via email to