AAA Support for Sun Proxy LDAP server

Solution Verified - Updated -

Issue

  • I configured RHEV-M to browse our LDAP tree. Using rfc2307 compatible schema, RHEV-M is now able to find the right users in the baseDN, but when I try to add a LDAP user I receive the following error in engine.log:
2015-07-27 09:56:25,309 INFO  [org.ovirt.engine.core.bll.aaa.AddUserCommand] (ajp-/127.0.0.1:8702-9) [28546897] Running command: AddUserCommand internal: false. Entities affected :  ID: aaa00000-0000-0000-0000-123456789aaa Type: SystemAction group MANIPULATE_USERS with role type ADMIN
2015-07-27 09:56:25,313 ERROR [org.ovirt.engine.core.bll.aaa.AddUserCommand] (ajp-/127.0.0.1:8702-9) [28546897] Command org.ovirt.engine.core.bll.aaa.AddUserCommand throw exception: org.springframework.dao.DataIntegrityViolationException: CallableStatementCallback; SQL [{call insertuser(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: null value in column "external_id" violates not-null constraint
  Where: SQL statement "INSERT INTO users(department, domain, email, groups, name, note, role, active, surname, user_id, username, group_ids, external_id,namespace) VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 ,  $9 ,  $10 ,  $11 ,  $12 ,  $13 ,  $14 )"
PL/pgSQL function "insertuser" line 2 at SQL statement; nested exception is org.postgresql.util.PSQLException: ERROR: null value in column "external_id" violates not-null constraint
  Where: SQL statement "INSERT INTO users(department, domain, email, groups, name, note, role, active, surname, user_id, username, group_ids, external_id,namespace) VALUES( $1 ,  $2 ,  $3 ,  $4 ,  $5 ,  $6 ,  $7 ,  $8 ,  $9 ,  $10 ,  $11 ,  $12 ,  $13 ,  $14 )"

Environment

  • Red Hat Enterprise Virtualization ( RHEV ) 3.5
  • AAA Plugin

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.