<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>L'Ouvre Boite - Latest Comments in Authenticating Ejabberd against a Ruby On Rails database</title><link>http://ouvre-boite.disqus.com/</link><description></description><language>en</language><lastBuildDate>Fri, 14 Nov 2008 03:58:31 -0000</lastBuildDate><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3768138</link><description>Do you know ejabberd has the ability to send a copy of a message to the external app/script or to another account (as CC:)?&lt;br&gt;Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vladimir</dc:creator><pubDate>Fri, 14 Nov 2008 03:58:31 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3675941</link><description>I have resolved this problem :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vladimir</dc:creator><pubDate>Tue, 11 Nov 2008 03:13:30 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3660265</link><description>Before I switched to odbc authentication (using mysql db) and then I commended all other auth methods instead of 'external' one.&lt;br&gt;As I see script is called everytime when I start ejabberd service. I added logging all actions into file what are performed by this script:&lt;br&gt;---&lt;br&gt;File.open('/var/lib/ejabberd/auth.log', "w+") do |f|&lt;br&gt;f.write("Starting authentication ...\n")&lt;br&gt;........&lt;br&gt;---&lt;br&gt;When I start the service I see the zero-length log-file. So script was started but it is failed. After this script is not called (I remove log-file and try to connect by Psi and log-file is not created anymore).&lt;br&gt;&lt;br&gt;Btw, I have changed 'ejabberd' user shell to /bin/bash</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vladimir</dc:creator><pubDate>Mon, 10 Nov 2008 05:00:02 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3625243</link><description>Hi Vladimir,&lt;br&gt;&lt;br&gt;I had the same kind of problem when I forgot to comment the "default" authentication lines ;-)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">julien51</dc:creator><pubDate>Sat, 08 Nov 2008 12:11:18 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3589609</link><description>Thank you for the post.&lt;br&gt;&lt;br&gt;Just now I am trying to add external auth for ejabberd against ruby on rails but I always get the following error message: "Authentication Error: No appropriate mechanism available for given security settings " (I use Psi as a client app).&lt;br&gt;The first I tried to use your script w/o changes (connection settings were changed :) ).&lt;br&gt;Then I have changed code of your script to more simple: remove all requires and simply return 1 for 'auth' and 'isuser'. But the issue appears as well.&lt;br&gt;&lt;br&gt;ejabberd.cfg settings:&lt;br&gt;{auth_method, external}.&lt;br&gt;{extauth_program, "/var/lib/ejabberd/bin/ejabberd-auth-simple.rb"}.&lt;br&gt;&lt;br&gt;Could you help me and advise who can I resolve this issue? Thanks.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Vladimir</dc:creator><pubDate>Fri, 07 Nov 2008 05:55:53 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3322404</link><description>Tssstssstss!  Come on, isn't Ruby a wonderful language that you can almost read like English?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">julien51</dc:creator><pubDate>Mon, 27 Oct 2008 07:33:30 -0000</pubDate></item><item><title>Re: Authenticating Ejabberd against a Ruby On Rails database</title><link>http://www.ouvre-boite.com/2008/10/24/authenticating-ejabberd-against-a-ruby-on-rails-database/#comment-3322202</link><description>Trop barbu comme sujet pour que je m'imisce.&lt;br&gt;I stay out of this Egghead topic...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Le Tribulateur</dc:creator><pubDate>Mon, 27 Oct 2008 06:50:45 -0000</pubDate></item></channel></rss>