I have
http://code.google.com/p/pwauth/ downloaded and compiled and installed at /usr/local/libexec/pwauth. I have tested in CLI in a regular account and it excuted successfully but when it comes getting it to work under Apache. It just exits with status code 1 which including to the documentation indicates STATUS_UKNOWN.
PHP Code:
exec( 'echo -e \'bombshell\nhu4_=_Usw*masaz\' | /usr/local/libexec/pwauth' , $output , $return );
var_dump( $return );
Code:
echo -e 'bombshell\nhu4_=_Usw*masaz' | /usr/local/libexec/pwauth
I notice even when I 'su apache', the command still fails without any reason. I've reviewed every log that might show errors but non are informative.
My purpose is get MediaWiki to authenticate via System users using this extension:
http://www.mediawiki.org/wiki/Extension:PwAuthPlugin.
Any ideas, anything I might be missing? I've been google'in for alternatives but I can't find what I need for my particular setup.