?lim U?ur <[email protected]> wrote: > ./sample-server -m ANONYMOUS -i local=127.0.0.1;5555,remote=127.0.0.1;5555 > -s http > ./sample-client -m ANONYMOUS -i local=127.0.0.1;5555,remote=127.0.0.1;5555 > -s http
You have a few semicolons in there, which is likely not what you want. (The shell will stop parsing your command at the semicolon and attempt to execute the remainder after the process terminates.) Have you tried specifying the path to the directory where the plugins are installed? I just build and installed cyrus-sasl-2.1.26 into a temporary location and can do the following: Server: $ ./sample-server -p ../../lib/sasl2 Generating client mechanism list... Sending list of 8 mechanism(s) S: U0NSQU0tU0hBLTEgR1NTLVNQTkVHTyBHU1NBUEkgRElHRVNULU1ENSBPVFAgQ1JBTS1NRDUgUExBSU4gQU5PTllNT1VT Waiting for client mechanism... C: QU5PTllNT1VTAGFub255bW91c0BndW1w got 'ANONYMOUS' lt-sample-server: SASL Info: ANONYMOUS login: "anonymous@gump" Negotiation complete Username: anonymous Realm: (NULL) SSF: 0 sending encrypted message 'srv message 1' S: c3J2IG1lc3NhZ2UgMQA= Waiting for encrypted message... C: Y2xpZW50IG1lc3NhZ2UgMQA= got 'client message 1' recieved decoded message 'client message 1' Client: $ ./sample-client -m ANONYMOUS Waiting for mechanism list from server... S: U0NSQU0tU0hBLTEgR1NTLVNQTkVHTyBHU1NBUEkgRElHRVNULU1ENSBPVFAgQ1JBTS1NRDUgUExBSU4gQU5PTllNT1VT recieved 69 byte message Forcing use of mechanism ANONYMOUS Choosing best mechanism from: ANONYMOUS Using mechanism ANONYMOUS Preparing initial. Sending initial response... C: QU5PTllNT1VTAGFub255bW91c0BndW1w Negotiation complete Username: anonymous SSF: 0 Waiting for encoded message... S: c3J2IG1lc3NhZ2UgMQA= recieved 14 byte message recieved decoded message 'srv message 1' sending encrypted message 'client message 1' C: Y2xpZW50IG1lc3NhZ2UgMQA= When I do not specify the pathname for the server, I do get the 'Starting SASL negotiation: no mechanism available (no mechanism available)' error. -Jan
pgpzGYQshgzxv.pgp
Description: PGP signature
