create realm configurations from proxmox domain configuration using api token,
update go mod with domain sync fixes from go-proxmox
This commit is contained in:
@@ -7,6 +7,12 @@ import (
|
||||
common "user-manager-api/app/common"
|
||||
)
|
||||
|
||||
type LDAPConfig struct {
|
||||
BaseDN string
|
||||
LdapURL string
|
||||
StartTLS bool
|
||||
}
|
||||
|
||||
func LDAPEntryToUser(entry *ldap.Entry) common.User {
|
||||
return common.User{
|
||||
CN: entry.GetAttributeValue("cn"),
|
||||
|
||||
Reference in New Issue
Block a user