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
76e936e2
Commit
76e936e2
authored
22 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
reflect recent additions to backend configuration
parent
11540898
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
doc/man/man5/slapd-sql.5
+12
-3
12 additions, 3 deletions
doc/man/man5/slapd-sql.5
with
12 additions
and
3 deletions
doc/man/man5/slapd-sql.5
+
12
−
3
View file @
76e936e2
...
...
@@ -96,6 +96,14 @@ or in the log output when slapd starts with "-d 5" or greater.
.B upper_func <SQL function name>
Specifies the name of a function that converts a given value to uppercase.
This is used for CIS matching when the RDBMS is case sensitive.
.TP
.B strcast_func <SQL function name>
Specifies the name of a function that converts a given value to a string
for appropriate ordering. This is used when selecting distinct data.
.TP
.B has_ldapinfo_dn_ru { yes | no }
Explicitly inform the backend whether the SQL schema has dn_ru or not.
Overrides automatic check (required by PostgreSQL).
.SH METAINFORMATION USED
.LP
...
...
@@ -103,7 +111,8 @@ Almost everything mentioned later is illustrated in examples located
in the
.B slapd/back-sql/rdbms_depend/
directory in the OpenLDAP source tree, and contains scripts for
generating sample database for Oracle, MS SQL Server and mySQL.
generating sample database for Oracle, MS SQL Server, mySQL and more
(including PostgreSQL and IBM db2).
.LP
The first thing that one must arrange is what set of LDAP
object classes can present your RDBMS information.
...
...
@@ -164,7 +173,7 @@ for telephoneNumber we can use:
.LP
.nf
SELECT phones.phone AS telephoneNumber FROM persons,phones
WHERE persons.id=phones.pers
.
id AND persons.id=?
WHERE persons.id=phones.pers
_
id AND persons.id=?
.fi
.LP
If we wanted to service LDAP requests with filters like
...
...
@@ -172,7 +181,7 @@ If we wanted to service LDAP requests with filters like
.LP
.nf
SELECT ... FROM persons,phones
WHERE persons.id=phones.pers
.
id
WHERE persons.id=phones.pers
_
id
AND persons.id=?
AND phones.phone like '123%'
.fi
...
...
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