TMongoWire icon indicating copy to clipboard operation
TMongoWire copied to clipboard

mLab Authenticate

Open bittencourtthulio opened this issue 9 years ago • 6 comments

Hello, I am Brazilian and we are developing a suite of components for MongoDB here in Brazil, based on the TMongoWire class, we are implementing the connection with mLab, but we are not having success in MongoDB version 3.2 authentication, could you help us with this? Below the link of the free suite that we are developing

Https://github.com/bittencourtthulio/TMongoComponents

bittencourtthulio avatar Dec 10 '16 01:12 bittencourtthulio

I've had a try and can reproduce. The problem is I last worked on this with mongo version 3.0, and the download now is 3.4 and I can't seem to find a download for version 3.2 to use the default mongo.exe to listen to the data that is exchanged between client/server that does do correct authentication... Do you have a 3.2 installer (and can put it up somewhere online that I can download it?)

stijnsanders avatar Dec 11 '16 00:12 stijnsanders

Hello, I was able to solve using your own mongoAuth3 class, it would be nice to put some information to use it in the case of mongo 3.2 and also to use the mLab. I would like to talk to you more about your class, would you have an email to pass me?um e-mail para me passar?um e-mail para me passar?

2016-12-10 22:01 GMT-02:00 Stijn Sanders [email protected]:

I've had a try and can reproduce. The problem is I last worked on this with mongo version 3.0, and the download now is 3.4 and I can't seem to find a download for version 3.2 to use the default mongo.exe to listen to the data that is exchanged between client/server that does do correct authentication... Do you have a 3.2 installer (and can put it up somewhere online that I can download it?)

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stijnsanders/TMongoWire/issues/35#issuecomment-266251297, or mute the thread https://github.com/notifications/unsubscribe-auth/AU9GJg2nuaMGElDWVrDjLKljFgvd9YyHks5rGz1mgaJpZM4LJhcV .

bittencourtthulio avatar Dec 11 '16 00:12 bittencourtthulio

Dang! I was trying with mongoAuth3, without success. I've added a message to mongoAuth.pas, that it is only for versions up to 2.6. (I should consider removing it some time in the future). So this issue is still open: If someone can provide me with the 3.2 installer (or if mLab will offer version 3.4) I can't listen in on a stock mongo.exe that authenticates with mLab from my development machine.

stijnsanders avatar Dec 12 '16 22:12 stijnsanders

I had success using mLab and mongoAuth3, and mLab uses version 3.2.2, in the video below I show using the mLab already implemented in my component. Https://www.youtube.com/watch?v=e2iDjFio-rY

2016-12-12 20:45 GMT-02:00 Stijn Sanders [email protected]:

Dang! I was trying with mongoAuth3, without success. I've added a message to mongoAuth.pas, that it is only for versions up to 2.6. (I should consider removing it some time in the future). So this issue is still open: If someone can provide me with the 3.2 installer (or if mLab will offer version 3.4) I can't listen in on a stock mongo.exe that authenticates with mLab from my development machine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stijnsanders/TMongoWire/issues/35#issuecomment-266577657, or mute the thread https://github.com/notifications/unsubscribe-auth/AU9GJtlEaDAkRiOTtWltbR2OONcuKbrWks5rHc59gaJpZM4LJhcV .

bittencourtthulio avatar Dec 13 '16 09:12 bittencourtthulio

For you to carry out the tests, follow Mongo 3.2.8 attached

​ mongodb-src-r3.2.8.zip https://drive.google.com/file/d/0ByRSwDTyNXiub0MzVzlxUlNSVnc/view?usp=drive_web

2016-12-13 7:42 GMT-02:00 Bittencourt Thulio [email protected]:

I had success using mLab and mongoAuth3, and mLab uses version 3.2.2, in the video below I show using the mLab already implemented in my component. Https://www.youtube.com/watch?v=e2iDjFio-rY

2016-12-12 20:45 GMT-02:00 Stijn Sanders [email protected]:

Dang! I was trying with mongoAuth3, without success. I've added a message to mongoAuth.pas, that it is only for versions up to 2.6. (I should consider removing it some time in the future). So this issue is still open: If someone can provide me with the 3.2 installer (or if mLab will offer version 3.4) I can't listen in on a stock mongo.exe that authenticates with mLab from my development machine.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/stijnsanders/TMongoWire/issues/35#issuecomment-266577657, or mute the thread https://github.com/notifications/unsubscribe-auth/AU9GJtlEaDAkRiOTtWltbR2OONcuKbrWks5rHc59gaJpZM4LJhcV .

bittencourtthulio avatar Dec 13 '16 09:12 bittencourtthulio

MongoDB 5 had the wire protocol extensively changed. Could you confirm of mongoAuth3.pas still works, using the most recent commit?

stijnsanders avatar Aug 08 '22 19:08 stijnsanders