mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-14 15:33:47 +00:00
realm sync: add sync job for AD realms
Basically just a thin wrapper over the existing LDAP-based realm sync job, which retrieves the appropriate config and sets the correct user attributes. Signed-off-by: Christoph Heiss <c.heiss@proxmox.com> Reviewed-by: Lukas Wagner <l.wagner@proxmox.com> Tested-by: Lukas Wagner <l.wagner@proxmox.com>
This commit is contained in:
parent
8bdf9ac45c
commit
7db5cd8c48
@ -381,8 +381,13 @@ pub enum RealmType {
|
|||||||
OpenId,
|
OpenId,
|
||||||
/// An LDAP realm
|
/// An LDAP realm
|
||||||
Ldap,
|
Ldap,
|
||||||
|
/// An Active Directory (AD) realm
|
||||||
|
Ad,
|
||||||
}
|
}
|
||||||
|
|
||||||
|
serde_plain::derive_display_from_serialize!(RealmType);
|
||||||
|
serde_plain::derive_fromstr_from_deserialize!(RealmType);
|
||||||
|
|
||||||
#[api(
|
#[api(
|
||||||
properties: {
|
properties: {
|
||||||
realm: {
|
realm: {
|
||||||
|
Loading…
Reference in New Issue
Block a user