problem with external auth C# mono program

I am having a problem getting ejabberd to call on a mono program. I used a sample auth python script and it worked. But when I changed the path of the external auth to call on a C# program I get this error:

=ERROR REPORT==== 2008-10-14 22:47:39 ===
Error in process <0.253.0> on node 'ejabberd@localhost' with exit value: {badarg,[{erlang,open_port,[{spawn,{extauth_program,"/home/bigbad/Desktop/Auth/ExternalAuthFake.exe"}},[{packet,2}]]},{extauth,init,2}]}

I'm not sure what this means exactly so if there is anyone out there that knows how to get this working I would appreciate it

Check option is correctly set. Also try override_*

In ejabberd.cfg you must put something like this:

{auth_method, external}.
{extauth_program, "/home/bigbad/Desktop/Auth/ExternalAuthFake.exe"}.

If you already have this, maybe the problem is that you earlier put the option in a wrong way, and it got stored in the database. To ensure old options are removed before reading the new ejabberd.cfg when ejabberd is starting: in the beginning of ejabberd.cfg put those lines:

override_global.
override_local.
override_acls.

Then restart ejabberd.

Syndicate content