Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Christopher Ng
OpenLDAP
Commits
3ce7e382
Commit
3ce7e382
authored
23 years ago
by
Kurt Zeilenga
Browse files
Options
Downloads
Patches
Plain Diff
Misc updates
parent
d31da9dd
No related branches found
No related tags found
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
doc/man/man3/ldap_error.3
+5
-25
5 additions, 25 deletions
doc/man/man3/ldap_error.3
doc/man/man3/ldap_getfilter.3
+20
-20
20 additions, 20 deletions
doc/man/man3/ldap_getfilter.3
doc/man/man3/ldap_url.3
+27
-33
27 additions, 33 deletions
doc/man/man3/ldap_url.3
with
52 additions
and
78 deletions
doc/man/man3/ldap_error.3
+
5
−
25
View file @
3ce7e382
.TH LDAP_ERROR 3 "2
2 September 1998
" "OpenLDAP LDVERSION"
.TH LDAP_ERROR 3 "2
3 July 2001
" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
...
...
@@ -10,31 +10,15 @@ ldap_perror, ld_errno, ldap_result2error, ldap_errlist, ldap_err2string \- LDAP
#include <ldap.h>
.LP
.ft B
struct ldaperror {
int e_code;
char *e_reason;
};
.LP
.ft B
struct ldaperror ldap_errlist[];
.LP
.ft B
char *ldap_err2string(err)
char *ldap_err2string( int err );
.ft
int err;
.LP
.ft B
void ldap_perror(ld, s)
.ft
LDAP *ld;
char *s;
void ldap_perror( LDAP *ld, const char *s )
.LP
.ft B
int ldap_result2error(ld, res, freeit)
.ft
LDAP *ld;
LDAPMessage *res;
int freeit;
int ldap_result2error( LDAP *ld, LDAPMessage *res, int freeit )
.SH DESCRIPTION
These routines provide interpretation of the various error codes
returned by the LDAP protocol and LDAP library routines, and assigned
...
...
@@ -59,15 +43,11 @@ field in \fIld\fP is set and returned.
.LP
The returned value can be passed to
.B ldap_err2string()
or looked up in
.B ldap_errlist[]
to get a text description of the message. The string
returned from
.B ldap_err2string()
is a pointer to a static area that
should not be modified. The last element in the
.B ldap_errlist[]
array is signaled by an error code of -1.
should not be modified.
.LP
The
.B ldap_perror()
...
...
This diff is collapsed.
Click to expand it.
doc/man/man3/ldap_getfilter.3
+
20
−
20
View file @
3ce7e382
.TH LDAP_GETFILTER 3 "2
2 September 1998
" "OpenLDAP LDVERSION"
.TH LDAP_GETFILTER 3 "2
3 July 2001
" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
...
...
@@ -17,31 +17,31 @@ ldap_getfirstfilter, ldap_getnextfilter, ldap_build_filter \- LDAP filter genera
#define LDAP_FILT_MAXSIZ 1024
typedef struct ldap_filt_info {
char *lfi_filter;
char *lfi_desc;
int lfi_scope;
int lfi_isexact;
struct ldap_filt_info *lfi_next;
char *lfi_filter;
char *lfi_desc;
int lfi_scope;
int lfi_isexact;
struct ldap_filt_info *lfi_next;
} LDAPFiltInfo;
typedef struct ldap_filt_list {
char
*lfl_tag;
char
*lfl_pattern;
char
*lfl_delims;
LDAPFiltInfo
*lfl_ilist;
struct ldap_filt_list
*lfl_next;
char *lfl_tag;
char *lfl_pattern;
char *lfl_delims;
LDAPFiltInfo *lfl_ilist;
struct ldap_filt_list *lfl_next;
} LDAPFiltList;
typedef struct ldap_filt_desc {
LDAPFiltList *lfd_filtlist;
LDAPFiltInfo *lfd_curfip;
LDAPFiltInfo lfd_retfi;
char lfd_filter[ LDAP_FILT_MAXSIZ ];
char *lfd_curval;
char *lfd_curvalcopy;
char **lfd_curvalwords;
char *lfd_filtprefix;
char *lfd_filtsuffix;
LDAPFiltList *lfd_filtlist;
LDAPFiltInfo *lfd_curfip;
LDAPFiltInfo lfd_retfi;
char lfd_filter[ LDAP_FILT_MAXSIZ ];
char *lfd_curval;
char *lfd_curvalcopy;
char **lfd_curvalwords;
char *lfd_filtprefix;
char *lfd_filtsuffix;
} LDAPFiltDesc;
.ft
.fi
...
...
This diff is collapsed.
Click to expand it.
doc/man/man3/ldap_url.3
+
27
−
33
View file @
3ce7e382
.TH LDAP_URL 3 "
17 October
200
0
" "OpenLDAP LDVERSION"
.TH LDAP_URL 3 "
23 July
200
1
" "OpenLDAP LDVERSION"
.\" $OpenLDAP$
.\" Copyright 1998-2000 The OpenLDAP Foundation All Rights Reserved.
.\" Copying restrictions apply. See COPYRIGHT/LICENSE.
...
...
@@ -16,56 +16,50 @@ ldap_url_search_st \- LDAP Uniform Resource Locator routines
.ft
.LP
.ft B
int ldap_is_ldap_url( url )
.ft
char *url;
int ldap_is_ldap_url( const char *url )
.LP
.ft B
int ldap_url_parse( url, ludpp )
.ft
char *url;
LDAPURLDesc **ludpp;
int ldap_url_parse( const char *url, LDAPURLDesc **ludpp )
.LP
typedef struct ldap_url_desc {
char * lud_scheme; /* URI scheme */
char lud_host; /* LDAP host to contact */
int lud_port; /* port on host */
char * lud_dn; /* base for search */
char ** lud_attrs; /* list of attributes */
int lud_scope; /* a LDAP_SCOPE_... value */
char * lud_filter; /* LDAP search filter */
char ** lud_exts; /* LDAP extensions */
char * lud_scheme; /* URI scheme */
char lud_host; /* LDAP host to contact */
int lud_port; /* port on host */
char * lud_dn; /* base for search */
char ** lud_attrs; /* list of attributes */
int lud_scope; /* a LDAP_SCOPE_... value */
char * lud_filter; /* LDAP search filter */
char ** lud_exts; /* LDAP extensions */
int lud_crit_exts; /* true if any extension is critical */
/* may contain additional fields for internal use */
} LDAPURLDesc;
.LP
.ft B
ldap_free_urldesc( ludp )
.ft
LDAPURLDesc *ludp;
ldap_free_urldesc( LDAPURLDesc *ludp )
.LP
.ft B
int ldap_url_search( ld, url, attrsonly )
.ft
LDAP
*ld;
char
*url;
int
attrsonly;
LDAP
*ld;
char
*url;
int
attrsonly;
.LP
.ft B
int ldap_url_search_s( ld, url, attrsonly, res )
.ft
LDAP
*ld;
char
*url;
int
attrsonly;
LDAPMessage
**res;
LDAP
*ld;
char
*url;
int
attrsonly;
LDAPMessage
**res;
.LP
.ft B
int ldap_url_search_st( ld, url, attrsonly, timeout, res )
.ft
LDAP
*ld;
char
*url;
int
attrsonly;
struct timeval
*timeout;
LDAPMessage
**res;
LDAP
*ld;
char
*url;
int
attrsonly;
struct timeval
*timeout;
LDAPMessage
**res;
.SH DESCRIPTION
These routines support the use of LDAP URLs (Uniform Resource Locators)
as detailed in RFC 2255. LDAP URLs look like this:
...
...
@@ -133,7 +127,7 @@ except that many search parameters are pulled out of the URL.
.B The LDAP URL Format, RFC 2255,
Tim Howes and Mark Smith, December 1997.
.SH ACKNOWLEDGEMENTS
.B
OpenLDAP
.B
OpenLDAP
is developed and maintained by The OpenLDAP Project (http://www.openldap.org/).
.B
OpenLDAP
.B
OpenLDAP
is derived from University of Michigan LDAP 3.3 Release.
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment