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
437b3a05
Commit
437b3a05
authored
17 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
client side of draft-wahl-ldap-session
parent
b0d2063d
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
include/ldap.h
+39
-0
39 additions, 0 deletions
include/ldap.h
with
39 additions
and
0 deletions
include/ldap.h
+
39
−
0
View file @
437b3a05
...
@@ -294,6 +294,11 @@ typedef struct ldapcontrol {
...
@@ -294,6 +294,11 @@ typedef struct ldapcontrol {
/* MS Active Directory controls - not implemented in slapd(8) */
/* MS Active Directory controls - not implemented in slapd(8) */
#define LDAP_CONTROL_X_EXTENDED_DN "1.2.840.113556.1.4.529"
#define LDAP_CONTROL_X_EXTENDED_DN "1.2.840.113556.1.4.529"
#ifdef LDAP_DEVEL
/* <draft-wahl-ldap-session> */
#define LDAP_CONTROL_X_SESSION_TRACKING "1.3.6.1.4.1.21008.108.63.1"
#endif
/* LDAP_DEVEL */
/* various expired works */
/* various expired works */
/* LDAP Duplicated Entry Control Extension *//* not implemented in slapd(8) */
/* LDAP Duplicated Entry Control Extension *//* not implemented in slapd(8) */
#define LDAP_CONTROL_DUPENT_REQUEST "2.16.840.1.113719.1.27.101.1"
#define LDAP_CONTROL_DUPENT_REQUEST "2.16.840.1.113719.1.27.101.1"
...
@@ -2274,5 +2279,39 @@ LDAP_F( int )
...
@@ -2274,5 +2279,39 @@ LDAP_F( int )
ldap_sync_poll
LDAP_P
((
ldap_sync_poll
LDAP_P
((
ldap_sync_t
*
ls
));
ldap_sync_t
*
ls
));
#ifdef LDAP_CONTROL_X_SESSION_TRACKING
/*
* in stctrl.c
*/
LDAP_F
(
int
)
ldap_create_session_tracking_value
LDAP_P
((
LDAP
*
ld
,
char
*
sessionSourceIp
,
char
*
sessionSourceName
,
char
*
formatOID
,
struct
berval
*
sessionTrackingIdentifier
,
struct
berval
*
value
));
LDAP_F
(
int
)
ldap_create_session_tracking
LDAP_P
((
LDAP
*
ld
,
char
*
sessionSourceIp
,
char
*
sessionSourceName
,
char
*
formatOID
,
struct
berval
*
sessionTrackingIdentifier
,
LDAPControl
**
ctrlp
));
LDAP_F
(
int
)
ldap_parse_session_tracking_control
LDAP_P
((
LDAP
*
ld
,
LDAPControl
*
ctrl
,
struct
berval
*
ip
,
struct
berval
*
name
,
struct
berval
*
oid
,
struct
berval
*
id
));
#endif
/* LDAP_CONTROL_X_SESSION_TRACKING */
LDAP_END_DECL
LDAP_END_DECL
#endif
/* _LDAP_H */
#endif
/* _LDAP_H */
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