You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cvs@httpd.apache.org by bn...@apache.org on 2004/11/04 22:00:00 UTC

cvs commit: httpd-2.0/include util_ldap.h

bnicholes    2004/11/04 13:00:00

  Modified:    include  util_ldap.h
  Log:
  Add util_ldap_cache_getuserdn() prototype to the util_ldap.h header file
  
  Submitted by:Jari Ahonen [jah progress.com]
  
  Revision  Changes    Path
  1.21      +22 -0     httpd-2.0/include/util_ldap.h
  
  Index: util_ldap.h
  ===================================================================
  RCS file: /home/cvs/httpd-2.0/include/util_ldap.h,v
  retrieving revision 1.20
  retrieving revision 1.21
  diff -u -r1.20 -r1.21
  --- util_ldap.h	25 Jun 2004 19:56:35 -0000	1.20
  +++ util_ldap.h	4 Nov 2004 21:00:00 -0000	1.21
  @@ -260,6 +260,28 @@
                                 const char *filter, const char *bindpw, const char **binddn, const char ***retvals);
   
   /**
  + * Searches for a specified user object in an LDAP directory
  + * @param r The request record
  + * @param ldc The LDAP connection being used.
  + * @param url The URL of the LDAP connection - used for deciding which cache to use.
  + * @param basedn The Base DN to search for the user in.
  + * @param scope LDAP scope of the search.
  + * @param attrs LDAP attributes to return in search.
  + * @param filter The user to search for in the form of an LDAP filter. This filter must return
  + *               exactly one user for the check to be successful.
  + * @param binddn The DN of the user will be returned in this variable.
  + * @param retvals The values corresponding to the attributes requested in the attrs array.
  + * @tip The filter supplied will be searched for. If a single entry is returned, an attempt
  + *      is made to bind as that user. If this bind succeeds, the user is not validated.
  + * @deffunc int util_ldap_cache_getuserdn(request_rec *r, util_ldap_connection_t *ldc,
  + *                                          char *url, const char *basedn, int scope, char **attrs,
  + *                                          char *filter, char **binddn, char ***retvals)
  + */
  +LDAP_DECLARE(int) util_ldap_cache_getuserdn(request_rec *r, util_ldap_connection_t *ldc,
  +                              const char *url, const char *basedn, int scope, char **attrs,
  +                              const char *filter, const char **binddn, const char ***retvals);
  +
  +/**
    * Checks if SSL support is available in mod_ldap
    * @deffunc int util_ldap_ssl_supported(request_rec *r)
    */