Skip to content

Commit

Permalink
Merge pull request #248 from himmelblau-idm/dmulder/main_fixes
Browse files Browse the repository at this point in the history
Fixes for the main branch
  • Loading branch information
dmulder authored Oct 14, 2024
2 parents f4d5ebb + 7d9cb35 commit e71c6b8
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 3 deletions.
1 change: 1 addition & 0 deletions images/ubuntu/Dockerfile.22.04
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get update && apt-get install -y \
gettext \
cargo \
libsqlite3-dev \
libutf8proc-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Rust (latest stable)
Expand Down
1 change: 1 addition & 0 deletions images/ubuntu/Dockerfile.24.04
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,7 @@ RUN apt-get update && apt-get install -y \
gettext \
cargo \
libsqlite3-dev \
libutf8proc-dev \
&& rm -rf /var/lib/apt/lists/*

# Install Rust (latest stable)
Expand Down
5 changes: 3 additions & 2 deletions src/common/src/idprovider/himmelblau.rs
Original file line number Diff line number Diff line change
Expand Up @@ -546,17 +546,18 @@ impl IdProvider for HimmelblauProvider {
)?
}
};
let fake_uuid = Uuid::new_v4();
let groups = vec![GroupToken {
name: account_id.clone(),
spn: account_id.clone(),
uuid: Uuid::max(),
uuid: fake_uuid,
gidnumber,
}];
let config = self.config.read().await;
return Ok(UserToken {
name: account_id.clone(),
spn: account_id.clone(),
uuid: Uuid::new_v4(),
uuid: fake_uuid,
gidnumber,
displayname: "".to_string(),
shell: Some(config.get_shell(Some(&self.domain))),
Expand Down
2 changes: 1 addition & 1 deletion src/daemon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ async-trait = "0.1.83"
[package.metadata.deb]
name = "himmelblau"
maintainer = "David Mulder <[email protected]>"
depends = ["libssl3", "libsqlite3-0"]
depends = ["libssl3", "libsqlite3-0", "libutf8proc3"]
recommends = ["nss-himmelblau", "pam-himmelblau"]
assets = [
["../../src/config/himmelblau.conf.example", "etc/himmelblau/himmelblau.conf", "644"],
Expand Down

0 comments on commit e71c6b8

Please sign in to comment.