{"action":"created","issue":{"url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/14","labels_url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/14/comments","events_url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/14/events","html_url":"https://github.com/magicdict/MagicMongoDBTool/issues/14","id":53472269,"number":14,"title":"请教关于mongodb2.6的用户认证问题","user":{"login":"mpdlink","id":7553189,"avatar_url":"https://avatars.githubusercontent.com/u/7553189?v=3","gravatar_id":"","url":"https://api.github.com/users/mpdlink","html_url":"https://github.com/mpdlink","followers_url":"https://api.github.com/users/mpdlink/followers","following_url":"https://api.github.com/users/mpdlink/following{/other_user}","gists_url":"https://api.github.com/users/mpdlink/gists{/gist_id}","starred_url":"https://api.github.com/users/mpdlink/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mpdlink/subscriptions","organizations_url":"https://api.github.com/users/mpdlink/orgs","repos_url":"https://api.github.com/users/mpdlink/repos","events_url":"https://api.github.com/users/mpdlink/events{/privacy}","received_events_url":"https://api.github.com/users/mpdlink/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-01-06T02:01:20Z","updated_at":"2015-01-06T11:46:43Z","closed_at":null,"body":"能否发一个编译好能用的程序给我，我这边vs2010没导进去。。邮箱657414812@qq.com，非常感谢。\r\n还有一个额外的问题想请教，如题，我的问题是mongodb官网给出的C#驱动貌似并没有对2.6版本的用户认证做出升级支持，我看了MagicMongoDBTool里面关于用户的代码，看起来你们的做法是直接操作用户表的内容然后保存的，那么我想知道用C#实现还有别的方法给非admin的数据库添加用户吗？\r\n我测试安装一个新的mongodb2.6，然后我用runCommand方式createUser一个admin的超级用户赋予了对所有数据的管理，用户管理和读写权限，然后我再通过认证登陆admin数据库然后切换到一个新的数据库temp，然后我想给这个temp添加用户也通过runCommand方式结果总是报错，说我没有认证temp数据库没有权限操作。谢谢你们了。"},"comment":{"url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/comments/68856137","html_url":"https://github.com/magicdict/MagicMongoDBTool/issues/14#issuecomment-68856137","issue_url":"https://api.github.com/repos/magicdict/MagicMongoDBTool/issues/14","id":68856137,"user":{"login":"magicdict","id":897796,"avatar_url":"https://avatars.githubusercontent.com/u/897796?v=3","gravatar_id":"","url":"https://api.github.com/users/magicdict","html_url":"https://github.com/magicdict","followers_url":"https://api.github.com/users/magicdict/followers","following_url":"https://api.github.com/users/magicdict/following{/other_user}","gists_url":"https://api.github.com/users/magicdict/gists{/gist_id}","starred_url":"https://api.github.com/users/magicdict/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/magicdict/subscriptions","organizations_url":"https://api.github.com/users/magicdict/orgs","repos_url":"https://api.github.com/users/magicdict/repos","events_url":"https://api.github.com/users/magicdict/events{/privacy}","received_events_url":"https://api.github.com/users/magicdict/received_events","type":"User","site_admin":false},"created_at":"2015-01-06T11:46:43Z","updated_at":"2015-01-06T11:46:43Z","body":"给你回复邮件了。\r\n官方估计不准备改User类了，只能自己动手。\r\n你所说的admin的问题，暂时没有时间去做测试。"}}