[ovirt-users] Unable to grant permissions to AD users

Martin Perina mperina at redhat.com
Fri Oct 6 15:25:16 UTC 2017


On Thu, Oct 5, 2017 at 10:13 PM, Michael Watters <wattersm at watters.ws>
wrote:

> I actually reran the ovirt-engine-extension-aaa-ldap-setup tool and was
> able to login and complete a search successfully but doing the same
> thing in the engine UI fails.
>
> Here's the configuration from the .properties file.
>
> include = <ad.properties>
>
> vars.domain = example.com
> vars.user = ldapuser at example.com
> vars.password = password
>
> pool.default.auth.simple.bindDN = ${global:vars.user}
> pool.default.auth.simple.password = ${global:vars.password}
> pool.default.serverset.type = srvrecord
> pool.default.serverset.srvrecord.domain = ${global:vars.domain}
> pool.default.ssl.startTLS = true
>
> engine logs show this error.  Is this a bug?  I don't remember entering
> a trailing space anywhere during setup.
>

​Hmm, could you please try execute following commands with the same
username as you have used to login to webui?

  ovirt-engine-extensions-tool aaa login-user --log-level=FINEST
--profile=<YOUR PROFILE> --user-name=<USERNAME>

  ovirt-engine-extensions-tool aaa search --log-level=FINEST
--extension-name=<YOUR AUTHZ NAME> --entity-name=<USERNAME>

Thanks
​


>
> 2017-10-05 14:17:38,156-04 ERROR
> [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-354) []
> OAuthException server_error: java.text.ParseException: Invalid character
> ' ' encountered.
> 2017-10-05 14:20:03,229-04 ERROR
> [org.ovirt.engine.core.sso.utils.SsoUtils] (default task-38) []
> OAuthException server_error: java.text.ParseException: Invalid character
> ' ' encountered.
> 2017-10-05 14:22:24,691-04 ERROR
> [org.ovirt.engine.core.aaa.servlet.SsoPostLoginServlet] (default
> task-185) [] The user username at example.com@example.com is not authorized
> to perform login
>
>
>
> On 10/05/2017 03:29 PM, Martin Perina wrote:
> > Hi,
> >
> > it seems that you have an error in your aaa-ldap configuration. Could you
> > please share your engine.log and your aaa-ldap configuration?
> >
> > Thanks
> >
> > Martin Perina
> >
> >
> > On Thu, Oct 5, 2017 at 9:08 PM, Michael Watters <wattersm at watters.ws>
> wrote:
> >
> >> I'm having some issues granting permissions to AD users in ovirt-engine
> >> 4.1.  Users can log in but receive an error as below.
> >> The user user at example.com@example.com is not authorized to perform
> login
> >>
> >> I am also not able to grant this user any permissions through the admin
> >> console.  Entering a user name in the search field for the System
> >> Permissions section results in a blank list.  Attached is a screenshot
> for
> >> reference.
> >>
> >> Does anybody have an idea on what would cause this?  The log files
> aren't
> >> very useful and don't show any errors.
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at ovirt.org
> >> http://lists.ovirt.org/mailman/listinfo/users
> >>
> >>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ovirt.org/pipermail/users/attachments/20171006/6921d0c0/attachment.html>


More information about the Users mailing list