Return-Path: X-Original-To: apmail-couchdb-user-archive@www.apache.org Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id E72BD9D58 for ; Tue, 24 Jul 2012 13:55:14 +0000 (UTC) Received: (qmail 66864 invoked by uid 500); 24 Jul 2012 13:55:13 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 66784 invoked by uid 500); 24 Jul 2012 13:55:11 -0000 Mailing-List: contact user-help@couchdb.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@couchdb.apache.org Delivered-To: mailing list user@couchdb.apache.org Received: (qmail 66745 invoked by uid 99); 24 Jul 2012 13:55:10 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 13:55:10 +0000 X-ASF-Spam-Status: No, hits=1.5 required=5.0 tests=FSL_RCVD_USER,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,SPF_PASS,WEIRD_PORT X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of a.barysiuk@gmail.com designates 209.85.217.180 as permitted sender) Received: from [209.85.217.180] (HELO mail-lb0-f180.google.com) (209.85.217.180) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 24 Jul 2012 13:55:01 +0000 Received: by lbbgj3 with SMTP id gj3so9438268lbb.11 for ; Tue, 24 Jul 2012 06:54:40 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:user-agent:mime-version:to:subject :content-type; bh=vF6GV52Xs7U5KWeSzXTNro/9EpSh4Ff32+1pYihqSEY=; b=tb677H1X2fYJvu3kiZ1y8+oilR+Hrxm3bE0fyBtIbtqyqXo2bTA3OxSDOmxqd+BBNT SLgltiWZTGRjumgMhDx6RujzxpNTkwIZyv1kLnmrM7qVkqbaSHK98Pz/k8F+hDzdqVFG BJonJRr769lw4gf1SfRi4p3fz2oRsyQcSYv9J8DTI0n9jeRO35wGLvWZYzAB0NVffFf5 wJsNPVZ1fKsIxtFyHPhk3cRJNv7WWza9/+W7j67wH5uiTc9urDh25Z4YZgDw9g7VnKYG vpOD9pKSW6HwOz4SrCqkCS2d3DG+aUBFOOeLrm+Yn/3AFTAMFOSzA/f250LlqgE6StYx K49A== Received: by 10.112.29.166 with SMTP id l6mr9940404lbh.68.1343138080424; Tue, 24 Jul 2012 06:54:40 -0700 (PDT) Received: from nb-005.icx.local ([86.57.158.234]) by mx.google.com with ESMTPS id gi19sm16735477lab.16.2012.07.24.06.54.39 (version=SSLv3 cipher=OTHER); Tue, 24 Jul 2012 06:54:39 -0700 (PDT) Message-ID: <500EA920.5020402@gmail.com> Date: Tue, 24 Jul 2012 16:54:40 +0300 From: Aliaksandr Barysiuk User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20120717 Thunderbird/14.0 MIME-Version: 1.0 To: user@couchdb.apache.org Subject: Creating user with no password Content-Type: multipart/alternative; boundary="------------080109050208020505090300" --------------080109050208020505090300 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Hello, Is it possible to create user without a password? I tried to create user like this curl -X POST http://say.couchdb:5984/_users -d '{"_id":"org.couchdb.user:test", "name":"test", "roles":[], "type" : "user"}' -H "Content-Type:application/json" ...and like this: curl -X POST http://say.couchdb:5984/_users -d '{"_id":"org.couchdb.user:test", "name":"test", "roles":[], "type" : "user", *"password" : ""*}' -H "Content-Type:application/json" ..then i tried: curl -X POST http://say.couchdb:5984/_session -d "{'name':'test', 'password':''}" or curl -X POST http://say.couchdb:5984/_session -d "{'name':'test'}" and always get {"error":"unauthorized","reason":"Name or password is incorrect."}. Thank's Alex --------------080109050208020505090300--