Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
T
tarantool
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
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
core
tarantool
Merge requests
!82
Apply LDAP patches to picodata-submodule
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Apply LDAP patches to picodata-submodule
funbringer/picodata-submodule
into
picodata-submodule
Overview
1
Commits
7
Pipelines
4
Changes
20
Merged
Dmitry Ivanov
requested to merge
funbringer/picodata-submodule
into
picodata-submodule
1 year ago
Overview
1
Commits
7
Pipelines
4
Changes
20
Expand
!75 (merged)
and a cherry on top.
0
0
Merge request reports
Compare
picodata-submodule
version 3
1bb6aae1
1 year ago
version 2
e0e723ff
1 year ago
version 1
fb89f6fd
1 year ago
picodata-submodule (base)
and
latest version
latest version
ea487f51
7 commits,
1 year ago
version 3
1bb6aae1
6 commits,
1 year ago
version 2
e0e723ff
6 commits,
1 year ago
version 1
fb89f6fd
6 commits,
1 year ago
20 files
+
892
−
12
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
20
Search (e.g. *.vue) (Ctrl+P)
changelogs/unreleased/support-ldap-authentication.md
0 → 100644
+
27
−
0
Options
## feat/box
This authentication method doesn't store any secrets; instead,
we delegate the whole auth to a pre-configured LDAP server. In
the method's implementation, we connect to the LDAP server and
perform a BIND operation which checks user's credentials.
Usage example:
```
lua
-- Set the default auth method to LDAP and create a new user.
-- NOTE that we still have to provide a dummy password; otherwise
-- box.schema.user.create will setup an empty auth data.
box
.
cfg
({
auth_type
=
'ldap'
})
box
.
schema
.
user
.
create
(
'demo'
,
{
password
=
''
})
-- Configure LDAP server connection URL and DN format string.
os
=
require
(
'os'
)
os
.
setenv
(
'TT_LDAP_URL'
,
'ldap://localhost:1389'
)
os
.
setenv
(
'TT_LDAP_DN_FMT'
,
'cn=$USER,ou=users,dc=example,dc=org'
)
-- Authenticate using the LDAP authentication method via net.box.
conn
=
require
(
'net.box'
).
connect
(
uri
,
{
user
=
'demo'
,
password
=
'password'
,
auth_type
=
'ldap'
,
})
Loading