<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Authenticate ejabberd with an mysql database</title>
	<atom:link href="http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database</link>
	<description>Just another blog about administration, linux and other stuff</description>
	<lastBuildDate>Sun, 13 May 2012 23:58:44 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
	<item>
		<title>By: jabber und ispconfig - Howtoforge Forum</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-404</link>
		<dc:creator>jabber und ispconfig - Howtoforge Forum</dc:creator>
		<pubDate>Sat, 11 Feb 2012 13:18:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-404</guid>
		<description>[...]  [...]</description>
		<content:encoded><![CDATA[<p>[...]  [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebastian</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-335</link>
		<dc:creator>sebastian</dc:creator>
		<pubDate>Mon, 01 Aug 2011 08:15:13 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-335</guid>
		<description>Hi,

hier ist wohl ein kleiner Fehler im connect:

Versuche es mal mit:

$connect   = DBI-&gt;connect($sDatabaseHost, $sDatabaseName, $sDatabaseUser, $sDatabasePass) &#124;&#124; die &quot;Could not connect to database: $DBI::errstr&quot;;

Gruß

Sebastian</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>hier ist wohl ein kleiner Fehler im connect:</p>
<p>Versuche es mal mit:</p>
<p>$connect   = DBI->connect($sDatabaseHost, $sDatabaseName, $sDatabaseUser, $sDatabasePass) || die &#8220;Could not connect to database: $DBI::errstr&#8221;;</p>
<p>Gruß</p>
<p>Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Denis</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-334</link>
		<dc:creator>Denis</dc:creator>
		<pubDate>Fri, 29 Jul 2011 18:46:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-334</guid>
		<description>Hi,

ich habe vor mich mithilfe deines Skriptes an einen externen mysql server zu verbinden. Der mysql server läuft auf einem anderen host als der ejabberd server.
In deinem skript kann ich zwar einen host eintrage, dieser wird aber nirgens im code benutzt.

Ich habe schon verschiedene dinge in der &quot;DBI-&gt;connect(&#039;DBI:mysql&quot; zeile versucht, aber entweder verbindet er sich weiterhin auf &quot;localhost&quot; oder es erscheint nur ein &quot;%&quot; an stelle des servernamen.

mit dem &quot;mysql&quot; programm und den selben login/datenbank-daten funktioniert es problemlos!

Danke im voraus  :smile: 

Denis</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>ich habe vor mich mithilfe deines Skriptes an einen externen mysql server zu verbinden. Der mysql server läuft auf einem anderen host als der ejabberd server.<br />
In deinem skript kann ich zwar einen host eintrage, dieser wird aber nirgens im code benutzt.</p>
<p>Ich habe schon verschiedene dinge in der &#8220;DBI-&gt;connect(&#8216;DBI:mysql&#8221; zeile versucht, aber entweder verbindet er sich weiterhin auf &#8220;localhost&#8221; oder es erscheint nur ein &#8220;%&#8221; an stelle des servernamen.</p>
<p>mit dem &#8220;mysql&#8221; programm und den selben login/datenbank-daten funktioniert es problemlos!</p>
<p>Danke im voraus  <img src='http://www.mogilowski.net/wp-includes/images/smilies/icon_smile.gif' alt=':smile:' class='wp-smiley' />  </p>
<p>Denis</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebastian</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-235</link>
		<dc:creator>sebastian</dc:creator>
		<pubDate>Tue, 26 Apr 2011 15:09:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-235</guid>
		<description>Hallo Jakob,

ich hab nichts dagegen. Wenn du einen Link auf diesen Eintrag machst, wäre das natürlich toll.

Gruß

Sebastian</description>
		<content:encoded><![CDATA[<p>Hallo Jakob,</p>
<p>ich hab nichts dagegen. Wenn du einen Link auf diesen Eintrag machst, wäre das natürlich toll.</p>
<p>Gruß</p>
<p>Sebastian</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jakob Lenfers</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-227</link>
		<dc:creator>Jakob Lenfers</dc:creator>
		<pubDate>Fri, 22 Apr 2011 09:14:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-227</guid>
		<description>Huhu,

unter welcher Lizenz steht das Script denn? Darf ich es (unter Angabe Deines Namens als Originalautor) wieder veröffentlichen?

Danke!
Jakob</description>
		<content:encoded><![CDATA[<p>Huhu,</p>
<p>unter welcher Lizenz steht das Script denn? Darf ich es (unter Angabe Deines Namens als Originalautor) wieder veröffentlichen?</p>
<p>Danke!<br />
Jakob</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-153</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Fri, 11 Feb 2011 09:38:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-153</guid>
		<description>Hallo,
ich habe testweise das Skript und eine Datenbank verwendet.
Hat auch erst wunderbar funktioniert, bis ich ein update von debian lenny auf sqeeze gemacht habe.
Dabei ist ejabberd von Version 2.0.1-6 zu 2.1.5-3 geworden.
Nun bekomme ich folgende Fehlermeldung:
=ERROR REPORT==== 2011-02-09 22:22:43 ===
E(:extauth:124) : extauth call &#039;[&quot;auth&quot;,&quot;*name*&quot;,&quot;*hostname*&quot;,
&quot;*password*&quot;]&#039; didn&#039;t receive response

Was hat sich denn an der Authentifizierung geändert? -Benötigt ejabberd jetzt einen anderen Rückgabewert?</description>
		<content:encoded><![CDATA[<p>Hallo,<br />
ich habe testweise das Skript und eine Datenbank verwendet.<br />
Hat auch erst wunderbar funktioniert, bis ich ein update von debian lenny auf sqeeze gemacht habe.<br />
Dabei ist ejabberd von Version 2.0.1-6 zu 2.1.5-3 geworden.<br />
Nun bekomme ich folgende Fehlermeldung:<br />
=ERROR REPORT==== 2011-02-09 22:22:43 ===<br />
E(:extauth:124) : extauth call &#8216;["auth","*name*","*hostname*",<br />
"*password*"]&#8216; didn&#8217;t receive response</p>
<p>Was hat sich denn an der Authentifizierung geändert? -Benötigt ejabberd jetzt einen anderen Rückgabewert?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebastian</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-147</link>
		<dc:creator>sebastian</dc:creator>
		<pubDate>Mon, 07 Feb 2011 09:50:02 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-147</guid>
		<description>Nein {auth_method, external} verlagert die komplette Authentifizierung auf das Skript.

Die Datenbankeinstellungen in der ejabberd.conf sind für die integrierte MySQL-Authentifizierung gedacht.

Siehe dazu https://support.process-one.net/doc/display/MESSENGER/Using+ejabberd+with+MySQL+native+driver

(Kommentar oben von Noby)</description>
		<content:encoded><![CDATA[<p>Nein {auth_method, external} verlagert die komplette Authentifizierung auf das Skript.</p>
<p>Die Datenbankeinstellungen in der ejabberd.conf sind für die integrierte MySQL-Authentifizierung gedacht.</p>
<p>Siehe dazu <a href="https://support.process-one.net/doc/display/MESSENGER/Using+ejabberd+with+MySQL+native+driver" rel="nofollow">https://support.process-one.net/doc/display/MESSENGER/Using+ejabberd+with+MySQL+native+driver</a></p>
<p>(Kommentar oben von Noby)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Benjamin</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-146</link>
		<dc:creator>Benjamin</dc:creator>
		<pubDate>Sat, 29 Jan 2011 20:07:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-146</guid>
		<description>Muss außer
{auth_method, external}.
{extauth_program, &quot;/etc/ejabberd/auth_mysql.pl&quot;}
noch etwas angepasst werden?- Zum Bsp in der ejabberd.conf unter &quot;DATABASE SETUP&quot;?-Muss hier nun ein mysql-server ausgewählt werden oder ist die Authentifizierung von der Datenbank unabhängig?</description>
		<content:encoded><![CDATA[<p>Muss außer<br />
{auth_method, external}.<br />
{extauth_program, &#8220;/etc/ejabberd/auth_mysql.pl&#8221;}<br />
noch etwas angepasst werden?- Zum Bsp in der ejabberd.conf unter &#8220;DATABASE SETUP&#8221;?-Muss hier nun ein mysql-server ausgewählt werden oder ist die Authentifizierung von der Datenbank unabhängig?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andreas</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-101</link>
		<dc:creator>Andreas</dc:creator>
		<pubDate>Tue, 07 Dec 2010 14:45:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-101</guid>
		<description>Hallo,

@Philipp
Danke für den Tipp

@Sebastian
Ich kenne mich bisher überhaupt nicht mit Skriptprogrammierung aus. Kann lediglich ein paar Schritte nachvollziehen.
Da muss ich leider passen und warten bis jemand mit etwas Erfahrung etwas funktionsfähiges geschrieben hat.</description>
		<content:encoded><![CDATA[<p>Hallo,</p>
<p>@Philipp<br />
Danke für den Tipp</p>
<p>@Sebastian<br />
Ich kenne mich bisher überhaupt nicht mit Skriptprogrammierung aus. Kann lediglich ein paar Schritte nachvollziehen.<br />
Da muss ich leider passen und warten bis jemand mit etwas Erfahrung etwas funktionsfähiges geschrieben hat.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: sebastian</title>
		<link>http://www.mogilowski.net/lang/en-us/2009/02/04/authenticate-ejabberd-with-an-mysql-database#comment-100</link>
		<dc:creator>sebastian</dc:creator>
		<pubDate>Tue, 07 Dec 2010 09:24:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.mogilowski.net/?p=272#comment-100</guid>
		<description>Hi Philipp,

hm du hast recht, ein paar Log-Einträge wären ganz sinnvoll.

Schau dir dazu doch mal:

&lt;a href=&quot;http://perldoc.perl.org/Sys/Syslog.html&quot; rel=&quot;nofollow&quot;&gt;http://perldoc.perl.org/Sys/Syslog.html&lt;/a&gt;

oder vielleicht besser mit log4perl:

&lt;a href=&quot;http://www.linux-magazin.de/Heft-Abo/Ausgaben/2003/01/Wachsame-Schlaefer&quot; rel=&quot;nofollow&quot;&gt;
http://www.linux-magazin.de/Heft-Abo/Ausgaben/2003/01/Wachsame-Schlaefer&lt;/a&gt;

alternativ kann man natürlich mit Perl auch direkt Log-Files schreiben:


open(LOG,&quot;logfile&quot;) or die &quot;Unable to open logfile:$!\n&quot;;
while(){
	print if /\berror\b/i;
}
close(LOG);


oder du gibst einen print nach STDERR:


print { $OK ? STDOUT : STDERR } &quot;Log-Entry\n&quot;;


Gruß

Sebastian</description>
		<content:encoded><![CDATA[<p>Hi Philipp,</p>
<p>hm du hast recht, ein paar Log-Einträge wären ganz sinnvoll.</p>
<p>Schau dir dazu doch mal:</p>
<p><a href="http://perldoc.perl.org/Sys/Syslog.html" rel="nofollow">http://perldoc.perl.org/Sys/Syslog.html</a></p>
<p>oder vielleicht besser mit log4perl:</p>
<p><a href="http://www.linux-magazin.de/Heft-Abo/Ausgaben/2003/01/Wachsame-Schlaefer" rel="nofollow"><br />
</a><a href="http://www.linux-magazin.de/Heft-Abo/Ausgaben/2003/01/Wachsame-Schlaefer" rel="nofollow">http://www.linux-magazin.de/Heft-Abo/Ausgaben/2003/01/Wachsame-Schlaefer</a></p>
<p>alternativ kann man natürlich mit Perl auch direkt Log-Files schreiben:</p>
<p>open(LOG,&#8221;logfile&#8221;) or die &#8220;Unable to open logfile:$!\n&#8221;;<br />
while(){<br />
	print if /\berror\b/i;<br />
}<br />
close(LOG);</p>
<p>oder du gibst einen print nach STDERR:</p>
<p>print { $OK ? STDOUT : STDERR } &#8220;Log-Entry\n&#8221;;</p>
<p>Gruß</p>
<p>Sebastian</p>
]]></content:encoded>
	</item>
</channel>
</rss>

<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Page Caching using apc
Database Caching 9/10 queries in 0.003 seconds using apc
Object Caching 547/547 objects using apc

Served from: www.mogilowski.net @ 2012-05-22 01:04:45 -->
