yunhuizhu / memcached

Automatically exported from code.google.com/p/memcached
0 stars 0 forks source link

No documentation on how to build memcached with SASL enabled #356

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
All I can see is this line: 
https://github.com/memcached/memcached/blob/master/Makefile.am#L30

it would be great if a distro with SASL enabled or an howto build it can be 
provided. 

Thanks. 

Original issue reported on code.google.com by antonio....@gmail.com on 28 Jan 2014 at 11:48

GoogleCodeExporter commented 9 years ago
See: https://github.com/clojurewerkz/spyglass/issues/11#issuecomment-33469770 

It's blocking the upgrade of this lib. 

Original comment by antonio....@gmail.com on 28 Jan 2014 at 11:49

GoogleCodeExporter commented 9 years ago
--enable-sasl is in the configure help so far as I know. Runtime enable options 
are documented.

If you run --enable-sasl, run make (like you've done there), and then run 
"prove t/binary-sasl.t". Do the tests pass?

Since your other statement talks about errors with the magic values, that means 
you're probably not talking to memcached with the right protocol. SASL support 
is only in the binary protocol. This has nothing to do with compiling the 
program.

Original comment by dorma...@rydia.net on 28 Jan 2014 at 5:57

GoogleCodeExporter commented 9 years ago
Thanks for your reply and for following trough the issue on github! 

I was connecting with a binary connection, however I didn't setup any sasl auth 
just yet and I was connecting without username/password. 

I'll close this issue and if I get some time I'll try to setup sasl on my mac 
(or get everything working on a linux vm..) 

cheers

Original comment by antonio....@gmail.com on 29 Jan 2014 at 9:11

GoogleCodeExporter commented 9 years ago
actually closing this issue now.

Original comment by dorma...@rydia.net on 16 Apr 2014 at 7:54