Return-Path: Delivered-To: apmail-couchdb-user-archive@www.apache.org Received: (qmail 78840 invoked from network); 8 Nov 2010 15:37:04 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 8 Nov 2010 15:37:04 -0000 Received: (qmail 3628 invoked by uid 500); 8 Nov 2010 15:37:34 -0000 Delivered-To: apmail-couchdb-user-archive@couchdb.apache.org Received: (qmail 3288 invoked by uid 500); 8 Nov 2010 15:37:31 -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 3280 invoked by uid 99); 8 Nov 2010 15:37:30 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:37:30 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (athena.apache.org: domain of gsf747@gmail.com designates 74.125.82.180 as permitted sender) Received: from [74.125.82.180] (HELO mail-wy0-f180.google.com) (74.125.82.180) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 08 Nov 2010 15:37:24 +0000 Received: by wyg36 with SMTP id 36so2432034wyg.11 for ; Mon, 08 Nov 2010 07:37:03 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:received:in-reply-to :references:date:message-id:subject:from:to:content-type :content-transfer-encoding; bh=qzZOwQ+QSr8I7+AgyMiGthRhZ9T0iH0+A3ZXjOemlHA=; b=do+xuenFSYGW1BT0AbTFFpQlSef/WmEotyo4YaRW0+TESUCtJ/U1i2B75SNdve0Bie 7Fkv2tusMXzrXaKqR+RrXIlNlaRasLyPU3z/4cZ4kutPLdo5YXdggsX3/Owu+zWxsUPF dd3Z6nnF0Qhf8mJR83b1HW5JqvERLsA65XpKQ= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type:content-transfer-encoding; b=IEjdc65dlg01idjsvbN/JGM/CHJQmERLflXjTKV9JmNqCRjwzYfASyklLKnKoUKOna B1pvq0jc52Vjcxy6ayhU2s/HY9OCATmqJ4Jzls4ykakwH1Tw9+L4yvRXGb+FHLUS6fQW M6Nl58n3jPse/Mu5Q717Sq0LB6R/fevd05xAY= MIME-Version: 1.0 Received: by 10.227.28.75 with SMTP id l11mr5420607wbc.79.1289230622044; Mon, 08 Nov 2010 07:37:02 -0800 (PST) Received: by 10.216.239.142 with HTTP; Mon, 8 Nov 2010 07:37:02 -0800 (PST) In-Reply-To: References: Date: Mon, 8 Nov 2010 10:37:02 -0500 Message-ID: Subject: Re: Can't get user:password@domain auth to work... From: Gabriel Farrell To: user@couchdb.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Did you set up an admin account? See http://wiki.apache.org/couchdb/Setting_up_an_Admin_account . You can also set one up through Futon by clicking "Fix this" in the bottom-right corner. On Mon, Nov 8, 2010 at 1:24 AM, Doug wrote: > I've been trying to use the user:password@domain method for doing admin > actions, but it doesn't seem to work. > > I get a response like this: > > =C2=A0 1> [info] [<0.10652.0>] 127.0.0.1 - - 'PUT' /hello 302 > > 1> [debug] [<0.10654.0>] 'PUT' > /_utils/session.html?return=3D%2Fhello&reason=3DYou%20are%20not%20a%20ser= ver%20admin. > {1, > > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A01} > > Headers: [{'Accept',"text/html, image/gif, image/jpeg, *; q=3D.2, */*; q= =3D.2"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Cache-Control',"no-cache"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Connection',"keep-alive"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Content-Length',"0"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Content-Type',"application/json"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Host',"localhost:5984"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'Pragma',"no-cache"}, > > =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0{'User-Agent',"Java/1.6.0_22"}] > > 1> [debug] [<0.10654.0>] OAuth Params: [{"return","/hello"},{"reason","Yo= u > are not a server admin."}] > > 1> [info] [<0.10654.0>] 127.0.0.1 - - 'PUT' > /_utils/session.html?return=3D%2Fhello&reason=3DYou%20are%20not%20a%20ser= ver%20admin. > 405 > > 1> [debug] [<0.10654.0>] httpd 405 error response: > > =C2=A0{"error":"method_not_allowed","reason":"Only GET,HEAD allowed"} > > Is there some config option that has to be enable for this to work? > > ~ > Doug. >