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
Jaak Ristioja
OpenLDAP
Commits
f59089b5
Commit
f59089b5
authored
20 years ago
by
Pierangelo Masarati
Browse files
Options
Downloads
Patches
Plain Diff
now PostgreSQL seems to work...
parent
930f4156
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
servers/slapd/back-sql/rdbms_depend/pgsql/testdb_metadata.sql
+2
-0
2 additions, 0 deletions
...ers/slapd/back-sql/rdbms_depend/pgsql/testdb_metadata.sql
tests/data/slapd-sql.conf
+1
-1
1 addition, 1 deletion
tests/data/slapd-sql.conf
tests/scripts/test031-sql
+1
-1
1 addition, 1 deletion
tests/scripts/test031-sql
with
4 additions
and
2 deletions
servers/slapd/back-sql/rdbms_depend/pgsql/testdb_metadata.sql
+
2
−
0
View file @
f59089b5
...
...
@@ -70,6 +70,8 @@ insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values (6,'documentTitl
-- oc_name the name of the objectClass; it MUST match the name of an objectClass that is loaded in slapd's schema
insert
into
ldap_entry_objclasses
(
entry_id
,
oc_name
)
values
(
4
,
'referral'
);
insert
into
ldap_entry_objclasses
(
entry_id
,
oc_name
)
values
(
2
,
'posixAccount'
);
-- referrals mapping: entries that should be treated as referrals are stored here
-- entry_id the "ldap_entries.id" of the entry that should be treated as a referral
-- url the URI of the referral
...
...
This diff is collapsed.
Click to expand it.
tests/data/slapd-sql.conf
+
1
−
1
View file @
f59089b5
...
...
@@ -51,11 +51,11 @@ dbname example
dbuser
manager
dbpasswd
secret
#insentry_query "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)"
#
# rdbms specific directives
#
# PostgreSQL
#postgres#insentry_query "insert into ldap_entries (id,dn,oc_map_id,parent,keyval) values ((select max(id)+1 from ldap_entries),?,?,?,?)"
#postgres#upper_func "upper"
#postgres#strcast_func "text"
#postgres#concat_pattern "?||?"
...
...
This diff is collapsed.
Click to expand it.
tests/scripts/test031-sql
+
1
−
1
View file @
f59089b5
...
...
@@ -223,7 +223,7 @@ case ${RDBMS} in
# list here the RDBMSes whose mapping allows writes
postgres
)
MANAGERDN
=
"cn=Manager,
${
BASEDN
}
"
$LDAPMODIFY
-v
-D
"
$MANAGERDN
"
-w
$PASSWD
\
$LDAPMODIFY
-v
-c
-D
"
$MANAGERDN
"
-w
$PASSWD
\
-h
$LOCALHOST
-p
$PORT1
>
\
$TESTOUT
2>&1
<<
EOMODS
version: 1
...
...
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