Skip to content

Commit

Permalink
Merge pull request #317 from himmelblau-idm/stable-0.7.x_multi-domain…
Browse files Browse the repository at this point in the history
…-doc

Stable 0.7.x multi-domain backports
  • Loading branch information
dmulder authored Dec 9, 2024
2 parents 93655d2 + e31c285 commit 9d4b750
Show file tree
Hide file tree
Showing 4 changed files with 713 additions and 8 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ members = [
resolver = "2"

[workspace.package]
version = "0.7.9"
version = "0.7.10"
authors = [
"David Mulder <[email protected]>"
]
Expand Down
33 changes: 33 additions & 0 deletions man/man5/himmelblau.conf.5
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,22 @@ A comma-separated list of configured domains. This parameter is
.B REQUIRED
for successful authentication. If this option is not specified, no users will be permitted to authenticate. The first user to authenticate to each domain will become the owner of the device object in the directory.


If multiple domains are specified, you
.B MUST
define an
.B idmap_range
for each domain to avoid conflicts in user and group ID mappings. Overlapping ID ranges will cause the idmapper to throw a critical error and stop the daemon. This safeguard ensures that two users are not mistakenly mapped to the same UID.

.EXAMPLES
domains = example.com,example2.com

[example.com]
idmap_range = 5000000-5999999

[example2.com]
idmap_range = 6000000-6999999

.TP
.B debug
.RE
Expand Down Expand Up @@ -254,6 +267,16 @@ shell = /bin/bash
.RE
Specifies the range of IDs to be used for the user and group mappings.

When this option is modified, you
.B SHOULD
run:
.RS
.IP
sudo aad-tool cache-clear --really
.RE

To ensure that old cached ID mappings are cleared, preventing potential UID overlaps caused by stale cache data.

.EXAMPLES
idmap_range = 5000000-5999999

Expand Down Expand Up @@ -351,6 +374,16 @@ shell = /bin/bash
.RE
Overrides the `idmap_range` value for this domain.

When this option is modified, you
.B SHOULD
run:
.RS
.IP
sudo aad-tool cache-clear --really
.RE

To ensure that old cached ID mappings are cleared, preventing potential UID overlaps caused by stale cache data.

.EXAMPLES
[example.com]
idmap_range = 5000000-5999999
Expand Down
Loading

0 comments on commit 9d4b750

Please sign in to comment.