Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
O
OpenLDAP
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue 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
Dragoș Haiduc
OpenLDAP
Commits
108c5091
Commit
108c5091
authored
14 years ago
by
Quanah Gibson-Mount
Browse files
Options
Downloads
Patches
Plain Diff
tab<->spaces cleanup
parent
89a94702
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
contrib/ldapc++/src/LDAPAsynConnection.h
+9
-9
9 additions, 9 deletions
contrib/ldapc++/src/LDAPAsynConnection.h
contrib/ldapc++/src/LDAPConstraints.h
+24
-24
24 additions, 24 deletions
contrib/ldapc++/src/LDAPConstraints.h
with
33 additions
and
33 deletions
contrib/ldapc++/src/LDAPAsynConnection.h
+
9
−
9
View file @
108c5091
...
...
@@ -152,7 +152,7 @@ class LDAPAsynConnection{
const
StringList
&
attrs
=
StringList
(),
bool
attrsOnly
=
false
,
const
LDAPConstraints
*
cons
=
0
);
/** Delete an entry from the directory
*
* This method sends a delete request to the server
...
...
@@ -164,7 +164,7 @@ class LDAPAsynConnection{
* request
*/
LDAPMessageQueue
*
del
(
const
std
::
string
&
dn
,
const
LDAPConstraints
*
cons
=
0
);
/**
* Perform the COMPARE-operation on an attribute
*
...
...
@@ -225,7 +225,7 @@ class LDAPAsynConnection{
const
std
::
string
&
newRDN
,
bool
delOldRDN
=
false
,
const
std
::
string
&
newParentDN
=
""
,
const
LDAPConstraints
*
cons
=
0
);
/** Perform a LDAP extended Operation
*
* @throws LDAPException If the Request could not be sent to the
...
...
@@ -239,14 +239,14 @@ class LDAPAsynConnection{
*/
LDAPMessageQueue
*
extOperation
(
const
std
::
string
&
oid
,
const
std
::
string
&
value
=
""
,
const
LDAPConstraints
*
cons
=
0
);
/** End an outstanding request
*
* @param q All outstanding request related to this LDAPMessageQueue
* will be abandoned
*/
void
abandon
(
LDAPMessageQueue
*
q
);
/**
* Performs the UNBIND-operation on the destination server
*
...
...
@@ -271,13 +271,13 @@ class LDAPAsynConnection{
* the remote server.
*/
int
getPort
()
const
;
/** Change the default constraints of the connection
*
* @parameter cons cons New LDAPConstraints to use with the connection
*/
void
setConstraints
(
LDAPConstraints
*
cons
);
/** Get the default constraints of the connection
*
* @return Pointer to the LDAPConstraints-Object that is currently
...
...
@@ -309,7 +309,7 @@ class LDAPAsynConnection{
* Private copy constructor. So nobody can call it.
*/
LDAPAsynConnection
(
const
LDAPAsynConnection
&
lc
){};
/**
* A pointer to the C-API LDAP-structure that is associated with
* this connection
...
...
@@ -328,7 +328,7 @@ class LDAPAsynConnection{
*/
LDAPUrl
m_uri
;
protected
:
protected
:
/**
* Is caching enabled?
*/
...
...
This diff is collapsed.
Click to expand it.
contrib/ldapc++/src/LDAPConstraints.h
+
24
−
24
View file @
108c5091
...
...
@@ -26,32 +26,32 @@
*/
class
LDAPConstraints
{
public
:
public
:
static
const
int
DEREF_NEVER
=
0x00
;
static
const
int
DEREF_SEARCHING
=
0x01
;
static
const
int
DEREF_FINDING
=
0x02
;
static
const
int
DEREF_ALWAYS
=
0x04
;
//* Constructs a LDAPConstraints object with default values
LDAPConstraints
();
//* Constructs a LDAPConstraints object with default values
LDAPConstraints
();
//* Copy constructor
LDAPConstraints
(
const
LDAPConstraints
&
c
);
//* Copy constructor
LDAPConstraints
(
const
LDAPConstraints
&
c
);
~
LDAPConstraints
();
void
setAliasDeref
(
int
deref
);
void
setAliasDeref
(
int
deref
);
void
setMaxTime
(
int
t
);
void
setSizeLimit
(
int
s
);
void
setReferralChase
(
bool
rc
);
void
setSizeLimit
(
int
s
);
void
setReferralChase
(
bool
rc
);
void
setHopLimit
(
int
hop
);
void
setReferralRebind
(
const
LDAPRebind
*
rebind
);
void
setServerControls
(
const
LDAPControlSet
*
ctrls
);
void
setClientControls
(
const
LDAPControlSet
*
ctrls
);
int
getAliasDeref
()
const
;
int
getAliasDeref
()
const
;
int
getMaxTime
()
const
;
int
getSizeLimit
()
const
;
int
getSizeLimit
()
const
;
const
LDAPRebind
*
getReferralRebind
()
const
;
const
LDAPControlSet
*
getServerControls
()
const
;
const
LDAPControlSet
*
getClientControls
()
const
;
...
...
@@ -64,20 +64,20 @@ class LDAPConstraints{
//*for internal use only
timeval
*
getTimeoutStruct
()
const
;
bool
getReferralChase
()
const
;
bool
getReferralChase
()
const
;
int
getHopLimit
()
const
;
private
:
private
:
int
m_aliasDeref
;
//* max. time the server may spend for a search request
int
m_maxTime
;
int
m_maxTime
;
//* max number of entries to return from a search request
int
m_maxSize
;
//* max number of entries to return from a search request
int
m_maxSize
;
//* Flag for enabling automatic referral/reference chasing
bool
m_referralChase
;
//* Flag for enabling automatic referral/reference chasing
bool
m_referralChase
;
//* HopLimit for referral chasing
int
m_HopLimit
;
...
...
@@ -88,11 +88,11 @@ class LDAPConstraints{
//* Object used to do bind for Referral chasing
const
LDAPRebind
*
m_refRebind
;
//* List of Client Controls that should be used for each request
LDAPControlSet
*
m_clientControls
;
//* List of Client Controls that should be used for each request
LDAPControlSet
*
m_clientControls
;
//* List of Server Controls that should be used for each request
LDAPControlSet
*
m_serverControls
;
//* List of Server Controls that should be used for each request
LDAPControlSet
*
m_serverControls
;
};
#endif //LDAP_CONSTRAINTS_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