Hi Luke,
This is the complete contents of my rabbitmq.conf file:
# try LDAP first
auth_backends.1 = ldap
# fall back to the internal database
auth_backends.2 = internal
auth_ldap.servers.1 = <<ldapserver>>
auth_ldap.use_ssl = true
auth_ldap.port = 636
#listeners.ssl.default = 5671
ssl_options.cacertfile = <<cacertfile>>
ssl_options.certfile = <<cerfile>>
ssl_options.keyfile = <<keyfile>>
ssl_options.verify = verify_peer
ssl_options.fail_if_no_peer_cert = true
auth_ldap.idle_timeout = 10000
auth_ldap.timeout = 15000
auth_ldap.log = network_unsafe
auth_ldap.dn_lookup_attribute = userPrincipalName
auth_ldap.dn_lookup_base = <<lookup_base>>
# logsettings
log.file.rotation.date = $D0
log.file.rotation.count = 365
This is the contents of the advanced.config
[{rabbitmq_auth_backend_ldap,[
{tag_queries, [{management, {in_group, "<<ldap path>>"}},
{monitoring, {in_group, "<<ldap path>>"}},
{administrator, {in_group, "<<ldap path>>"}}]},
{resource_access_query,
{'or', [
{for, [{permission, configure, {in_group, "<<ldap path>>"}},
{permission, write, {in_group, "<<ldap path>>"}},
{permission, read,{in_group, "<<ldap path>>"}}]},
{for, [{permission, configure, {in_group, "<<ldap path>>"}},
{permission, write, {in_group, "<<ldap path>>"}},
{permission, read,{in_group, "<<ldap path>>"}}]}]}}
]}
].
Do you need something else?
Kind Regards,
Michael
Op vrijdag 20 oktober 2023 om 15:49:05 UTC+2 schreef Luke Bakken: