You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by "Alexander Shorin (JIRA)" <ji...@apache.org> on 2015/10/20 21:32:27 UTC

[jira] [Resolved] (COUCHDB-2343) /_config/admins/username fails on master

     [ https://issues.apache.org/jira/browse/COUCHDB-2343?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Alexander Shorin resolved COUCHDB-2343.
---------------------------------------
    Resolution: Fixed

Consider this fixed because:
- /_cluster_setup ensures that admin credentials are get shares across all the nodes
- We have /_node/<fqdn>/_config endpoint which allows to get/set configuration per node basis. If user need to add new admin, he have to add it for all the nodes using this endpoint or via "classic" config update again on each node.

> /_config/admins/username fails on master
> ----------------------------------------
>
>                 Key: COUCHDB-2343
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-2343
>             Project: CouchDB
>          Issue Type: Bug
>      Security Level: public(Regular issues) 
>          Components: HTTP Interface
>    Affects Versions: 2.0.0
>            Reporter: Joan Touzet
>            Priority: Blocker
>              Labels: auth
>             Fix For: 2.0.0
>
>
> In a multi-node setup, calling _config/admins/username to create an admin user fails to correctly configure a cluster with a new administrator. This fails for two reasons:
> 1) The call is only processed on a single node, and the admin entry is not replicated
> 2) Even if the call is repeated on all nodes manually, the hashes will be different on each node, which will cause cookie failure when attempting to authenticate via other machines.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)