Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
Wiki Replica
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
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
The Tor Project
TPA
Wiki Replica
Commits
d598e053
Verified
Commit
d598e053
authored
4 years ago
by
anarcat
Browse files
Options
Downloads
Patches
Plain Diff
add host fields
parent
ffb9ddf1
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
howto/ldap.md
+37
-0
37 additions, 0 deletions
howto/ldap.md
with
37 additions
and
0 deletions
howto/ldap.md
+
37
−
0
View file @
d598e053
...
...
@@ -509,6 +509,43 @@ skip keys that have other options.
[
authorized_keys(5)
]:
https://manpages.debian.org/authorized_keys.5
### LDAP host fields
| Group field | Meaning |
|-----------------|--------------------------------------------------------------|
|
`description`
| free-form text field description |
|
`memory`
| main memory size, with
`M`
suffix (unused?) |
|
`disk`
| main disk size, with
`G`
suffixed (unused?) |
|
`purpose`
| like description but purpose of the host |
|
`architecture`
| CPU architecture (e.g.
`amd64`
) |
|
`access`
| always "restricted"? |
|
`physicalHost`
| parent metal or hoster |
|
`admin`
| always "torproject-admin@torproject.org" |
|
`distribution`
| always "Debian" |
|
`l`
| location ("City, State, Country"), unused |
|
`ipHostNumber`
| IPv4 or IPv6 address, multiple values |
|
`sshRSAHostKey`
| SSH server public key, multiple values |
|
`rebootPolicy`
| how to reboot this server:
`manual`
,
`justdoit`
,
`rotation`
) |
The
`rebootPolicy`
is documented in the
[
upgrade
procedures
](
upgrades
)
.
The
`purpose`
field is special in that it supports a crude markup
language which can be used to create links in the web interface, but
is also used to generate SSH
`known_hosts`
files. To quote the
ud-generate source code:
> In the purpose field, `[[host|some other text]]` (where some other
> text is optional) makes a hyperlink on the web [interface]. We now
> also add these hosts to the ssh `known_hosts` file. But so that we
> don't have to add everything we link, we can add an asterisk and say
> `[[*...` to ignore it. In order to be able to add stuff to ssh
> without http linking it we also support `[[-hostname]]` entries.
Otherwise the
`description`
and
`purpose`
fields are fairly similar
and often contain the same value.
#### exportOptions values
*
`AUTHKEYS`
: ship the
`authorized_keys`
file for
`sshdist`
,
...
...
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