> Hi. I'm trying to scan mongodb for collections. Without auth on mongodb
> all
> is working ok, when I add auth like:
>
> emperor = mongodb://user:[email protected]:27017,emperor.vassals,{enabled:1}
>
> I get the following error:
>
> Thu Apr 10 13:42:40 getaddrinfo("user:[email protected]") failed: Name or
> service not known.
>
> How should I use the auth to mongo db? Is it supported?
> _______________________________________________


Hi auth api is not supported, but should be an easy feature to add:

http://api.mongodb.org/cplusplus/1.5.4/classmongo_1_1_d_b_client_connection.html#a9356da552e73d6077b0ef00250cbbed0


-- 
Roberto De Ioris
http://unbit.it
_______________________________________________
uWSGI mailing list
[email protected]
http://lists.unbit.it/cgi-bin/mailman/listinfo/uwsgi

Reply via email to