I finally did it, i replicated the files from the lab to the production  and 
it's now working.

I'm gonna leave here the configuration of the files to the future someone who 
is with difficulties:

[root@ovirt extensions.d]# cat example.com-authn.properties 
ovirt.engine.extension.name = example.com-authn
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = 
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = 
org.ovirt.engineextensions.aaa.ldap.AuthnExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authn
ovirt.engine.aaa.authn.profile.name = example.com
ovirt.engine.aaa.authn.authz.plugin = example.com-authz
config.profile.file.1 = ../aaa/example.com.properties
config.globals.baseDN.simple_baseDN = ou=people,dc=example,dc=com

[root@ovirt extensions.d]# cat example.com-authz.properties 
ovirt.engine.extension.name = example.com-authz
ovirt.engine.extension.bindings.method = jbossmodule
ovirt.engine.extension.binding.jbossmodule.module = 
org.ovirt.engine-extensions.aaa.ldap
ovirt.engine.extension.binding.jbossmodule.class = 
org.ovirt.engineextensions.aaa.ldap.AuthzExtension
ovirt.engine.extension.provides = org.ovirt.engine.api.extensions.aaa.Authz
config.profile.file.1 = ../aaa/example.com.properties
config.globals.baseDN.simple_baseDN = ou=people,dc=example,dc=com

[root@ovirt aaa]# cat sybase.pt.properties 
include = <rfc2307-openldap.properties>

vars.server = <IP of the OpenLDAP Server>
vars.user = cn=RĂºben Nunes,ou=people,dc=example,dc=com
vars.password = <Password of the user you specified on cn=>

pool.default.auth.simple.bindDN = ${global:vars.user}
pool.default.auth.simple.password = ${global:vars.password}
pool.default.serverset.type = single
pool.default.serverset.single.server = ${global:vars.server}
pool.default.socketfactory.type = java

Note: The example.com.properties who is located on /etc/ovirt-engine/aaa/ needs 
to have as owner:group the ovirt:ovirt the other two files on extensions.d are 
owned by root:root.
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/CKUQHXHWU5CFFLALPLRVVUBLLCO7N4HS/

Reply via email to