[dev.icinga.com #6582] sso auth provider causing not null constraint violation w/ pgsql 'user_email' column #1293
Comments
Updated by mfriedrich on 2014-07-12 11:11:20 +00:00
|
Updated by mfriedrich on 2014-07-12 11:11:44 +00:00
|
Updated by mfriedrich on 2014-08-13 08:33:24 +00:00
|
Updated by tgelf on 2014-09-02 16:41:22 +00:00 Please also fix the exception nonsense going on here. The exception tells you that Icinga-Web wasn't able to access an exception message. This happens because of line 363:
This should read $e~~getMessage() and not $e~~>getMessage :p Then we would also get a more meaningful error message than "PHP Error Undefined property: Doctrine_Connection_Pgsql_Exception::$getMessage" ;-) Cheers, |
Updated by mfrosch on 2014-11-18 14:54:09 +00:00
This will also fail with MySQL... If someone want to do the required changes - including Frontend changes in User management, I'm open for patches. There is even a warning in app/modules/AppKit/config/auth.xml I usually set up environments like this with a combo of http and ldap auth:
I also noted this in the wiki page menitoned... |
Updated by mfriedrich on 2015-03-12 19:43:43 +00:00
|
Updated by mfriedrich on 2015-04-26 09:25:33 +00:00 tgelf wrote:
|
This issue has been migrated from Redmine: https://dev.icinga.com/issues/6582
Created by roberte on 2014-06-26 03:10:07 +00:00
Assignee: (none)
Status: New
Target Version: Backlog
Last Update: 2015-05-18 12:18:02 +00:00 (in Redmine)
My system passes usernames to icinga-web via the REMOTE_USER http header. As documented in [3]. i.e. "auth_create = auth_update = true" set for http-basic-authentication in ./app/modules/AppKit/config/auth.xml
I get a stack trace when I hit the icinga-web page [1].
The issue seems to be that icinga-web is issuing a postgres insert statement that does not define a value for a field that is mandatory not-null on the nsm_user table.
My workaround is;
Alter table nsm_user alter column user_email set default 'root@localhost.local';
This is always reproduceable.
[1]
The text was updated successfully, but these errors were encountered: