Re: memcached + SASL: Password verification failed

2019-03-22 Thread Om Kale
Alright...cool. Let me know if you ever successfully get DIGEST-MD5 working. Have a great weekend! Thanks and Regards, Om Kale Master of Science in Electrical and Computer Engineering Georgia Institute of Technology On Fri, Mar 22, 2019 at 3:23 PM Jiuming Shao wrote: > Hi Om, > > No. I just

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Jiuming Shao
Hi Om, No. I just started with PLAIN as a PoC. Cheers! Om Kale 于2019年3月22日周五 下午3:17写道: > Hi Jiuming, > Were you able to make it work with DIGEST-MD5 instead of just PLAIN auth? > > Regards, > Om Kale > Master of Science in Electrical and Computer Engineering > Georgia Institute of Technology

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Om Kale
Hi Jiuming, Were you able to make it work with DIGEST-MD5 instead of just PLAIN auth? Regards, Om Kale Master of Science in Electrical and Computer Engineering Georgia Institute of Technology On Fri, Mar 22, 2019 at 2:40 PM Jiuming Shao wrote: > Thanks! I figured it out by postfixing

Re: memcached + SASL: Password verification failed

2019-03-22 Thread Jiuming Shao
Thanks! I figured it out by postfixing `@memcached.realm` after my key. dormando 于2019年3月19日周二 上午10:49写道: > t/binary-sasl.t under memcached/memcached should show you examples of how > to authenticate. You should be able to just hack up the test to get more > information about what the password

Re: memcached + SASL: Password verification failed

2019-03-19 Thread dormando
t/binary-sasl.t under memcached/memcached should show you examples of how to authenticate. You should be able to just hack up the test to get more information about what the password files look like/etc. it writes it out to tmp. seems some systems require the @hostname and some don't (mine

Re: memcached + SASL: Password verification failed

2019-03-19 Thread Jiuming Shao
Thanks for getting back to me! I referred to that because memcached/memcached does not tell me how the binary protocol packets for SASL AUTH looks like. For all the server configuration and db setup, I followed https://github.com/memcached/memcached/wiki/SASLHowto and

Re: memcached + SASL: Password verification failed

2019-03-18 Thread dormando
Hey, Can look more closely later, but a few quick things that might help: 1) stick to memcached/memcached on github - that's an old couchbase fork you linked to. If you're using couchbase you need to talk to them instead. 2) in the t/ dir there're some unit tests for SASL which might help you

memcached + SASL: Password verification failed

2019-03-18 Thread Jiuming Shao
Hey all, I am writing my own implementation of a memcachedClient within which I want to add authentication. I just started with PLAIN auth but failed. My main reference is this one https://github.com/couchbase/memcached/blob/master/docs/sasl.md My guess is that the binary message I am sending