incubator-couchdb-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kowsik <kow...@gmail.com>
Subject _replicator database...
Date Tue, 28 Jun 2011 21:57:15 GMT
Playing around with 1.1.0 and the _replicator database. I have, say,
C1 that has require_valid_user set with admin credentials of foo:bar.
I'm trying to do this on C2:

curl -X PUT -H 'application/json' -d '{
    "source":"http://foo:bar@C1/mydb",
    "target":"mydb",
    "create_target":true,
    "continuous":true
}' http://C2/_replicator/from_c1

But no worky for me. The document itself gets added fine, but I see
"unauthorized to access database" message in the log. Is the
replicator not honoring the credentials specified in the document?
Bug, work around?

Thanks,

K.
---
http://blitz.io
http://twitter.com/pcapr
http://blog.mudynamics.com

Mime
View raw message