You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by GitBox <gi...@apache.org> on 2019/02/05 06:08:43 UTC

[GitHub] jaydoane commented on issue #1803: Sync admin passwords at cluster setup finish

jaydoane commented on issue #1803: Sync admin passwords at cluster setup finish
URL: https://github.com/apache/couchdb/pull/1803#issuecomment-460524709
 
 
   In #1781 @wohali writes:
   > if you use the cluster setup wizard to create admin users on new nodes in the cluster, the created admin user will not use an identical salt on every node
   
   This code, even without the changes to salt in couch_passwords.erl, might still be useful in that it would sync the admin passwords in the "direct" setup scenario. And speaking of which, that is presumably the scenario fauxton is using, since if it were using the (documented)[http://docs.couchdb.org/en/latest/setup/cluster.html#the-cluster-setup-api] "remote" scenario, those admin hashes should be the same on all nodes.  I looked through the fauxton source, but am not yet proficient enough with that code to determine which of the two setup scenarios it is actually using. Identifying these files as potentially relevant is about as far as I've delved:
   
   - https://github.com/apache/couchdb-fauxton/blob/master/app/addons/setup/components/MultipleNodeController.js
   - https://github.com/apache/couchdb-fauxton/blob/master/app/addons/setup/container/MultipleNodeContainer.js
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services