Jesse Thompson | 1 Oct 2007 18:34
Picon

Re: gen_event handler sasl_report_file_h crashed.

Christian Gueder wrote:
> Could it be that the error is related to erlang and the function to
> calculate the filesize did some misscalculations?

We've seen a case with other software "malfunctions" that caused the 
filesystem to fill up even though df shows available space.  Our best 
conclusion was that the application told the OS to delete some data, but 
didn't actually release the file handle.  Stopping/killing the 
application resolved this problem in this case since it forced the 
application to give up the file handle.  We never found a solution, so 
we just made sure to leave enough head room in the future.

Jesse
Attachment (smime.p7s): application/x-pkcs7-signature, 3340 bytes
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Davidson Rodrigues Paulo | 1 Oct 2007 20:38
Picon
Gravatar

Re: Error with spooled data

Hi all,

It's fixed. I just removed /var/lib/ejabberd/spool/local_config.DCD
and restarted the server.

Thanks,

Davidson

2007/9/28, Davidson Rodrigues Paulo <davidsonpaulo <at> gmail.com>:
> Hi all,
>
> I'm using eJabberd 1.1.3 on a Fedora Core 6 with Linux kernel 2.6.19.
> It's running pretty good since I've installed and configured it,
> without interruptions or any kind of problems. eJabberd it's really a
> wonderful software.
>
> This afternoon I've modified it's configuration in an attempt to use
> Active Directory authentication instead of OpenLDAP, which is being
> used by now. I did the following:
>
> # cd /etc/ejabberd
> # cp -a ejabberd.cfg ejabberd.cfg.bkp
> # vim ejabberd.cfg
> # service ejabberd stop
> # service ejabber start
>
> After this, I was unable to authenticate myself, so I undid the changes:
>
> # mv ejabberd.cfg.bkp ejabberd.cfg
(Continue reading)

Marcelo Terres | 2 Oct 2007 15:54
Picon

ejabberd with LDAP and MySQL

Hello.

I have a doubt.

Is it possible to authenticate the users using LDAP and use MySQL to
store roster, offline, vcard and the other things ?

Thanks in advance.

--

-- 
Marcelo H. Terres
mhterres <at> gmail.com
Marcelo Terres | 2 Oct 2007 21:28
Picon

Re: ejabberd with LDAP and MySQL

If somebody has the same problem, here is the solution:

In ejabberd.cfg put this lines:

{auth_method, odbc}.
{odbc_server, {mysql, "127.0.0.1", "ejabberd_db", "ejabberd_username",
"password"}}.

{hosts, ["yourhost.com.br"]}.

{host_config, "yourhost.com.br", [{auth_method, [odbc,
ldap]},{ldap_servers, ["127.0.0.1"]},{ldap_uidattr, "uid"},{ldap_base,
"ou=Users,dc=yourhost,dc=com,dc=br"},{ldap_password, "password"} ]}.

This way, ejabberd will authentica in mysql and use mysql for storage.

Regards,

On 10/2/07, Marcelo Terres <mhterres <at> gmail.com> wrote:
> Hello.
>
> I have a doubt.
>
> Is it possible to authenticate the users using LDAP and use MySQL to
> store roster, offline, vcard and the other things ?
>
> Thanks in advance.
>
> --
> Marcelo H. Terres
(Continue reading)

Marcio Merlone | 2 Oct 2007 22:32
Picon
Favicon
Gravatar

Re: ejabberd with LDAP and MySQL

AS I understood his question, he wants to authenticate the users agains 
an LDAP server, and store everything else on mysql. Is it possible?

Marcelo Terres escreveu:
> This way, ejabberd will authentica in mysql and use mysql for storage.
>
> On 10/2/07, Marcelo Terres <mhterres <at> gmail.com> wrote:
>   
>> Is it possible to authenticate the users using LDAP and use MySQL to
>> store roster, offline, vcard and the other things ?
>>     

--

-- 
Marcio Merlone

Attachment (marcio.merlone.vcf): text/x-vcard, 328 bytes
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Marcelo Terres | 2 Oct 2007 22:34
Picon

Re: ejabberd with LDAP and MySQL

Yes, and it is working great :-)

See my another post with the answer.

Thanks

On 10/2/07, Marcio Merlone <marcio.merlone <at> a1.ind.br> wrote:
> AS I understood his question, he wants to authenticate the users agains
> an LDAP server, and store everything else on mysql. Is it possible?
>
> Marcelo Terres escreveu:
> > This way, ejabberd will authentica in mysql and use mysql for storage.
> >
> > On 10/2/07, Marcelo Terres <mhterres <at> gmail.com> wrote:
> >
> >> Is it possible to authenticate the users using LDAP and use MySQL to
> >> store roster, offline, vcard and the other things ?
> >>
>
> --
> Marcio Merlone
>
>
> _______________________________________________
> ejabberd mailing list
> ejabberd <at> jabber.ru
> http://lists.jabber.ru/mailman/listinfo/ejabberd
>
>
>
(Continue reading)

Badlop | 3 Oct 2007 16:42
Picon

Re: Proposed huge reorganization of ejabberd.cfg.example

2007/9/28, Jaco Kroon <jaco <at> kroon.co.za>:
> Just a small grammer error that I can see:
>
> % Uncomment this if you are using postgres, having a large DB, and need a
>
> having should be have.

Thanks, fixed.

>
> Then, perhaps in the top of the file add a link to the guide, and also

Added a mention to where to find it.
I suggested it should be included in binary installers too. And it is
probably included in all major OS packages.

> state how to reload the config without having to restart ejabberd (if
> it's even possible).

Not possible with out-of-the-box ejabberd.

>
> The syntax of the config file isn't normal for most linux admins ...
> it's rather strange to say the least.  I'm guessing this is just erlang,
> so for most of you folk this is probably readable, for the rest of us,
> it's a mess, we have no clue where there should be {} and where [], not
> to even mention things like commas!

I added a small paragraph at the top. Tell me if it isn't much understandable,
or needs some additional explanations.
(Continue reading)

Badlop | 3 Oct 2007 17:01
Picon

Re: Proposed huge reorganization of ejabberd.cfg.example

2007/9/28, Sergei Golovan <sgolovan <at> nes.ru>:
> On 9/26/07, Badlop <badlop <at> gmail.com> wrote:
> >
> > Here is my proposal. I include it here so you can comment any
> > suggestion, quoting the problematic lines. Please compare it with the
> > ejabberd Guide SVN:
> > http://svn.process-one.net/ejabberd/trunk/doc/guide.html
>
> I would make two config examples, one for a single host and one for
> several virtual hosts showing technique for loading different modules,
> using different authentication schemes etc. (using host_config)

I prefer to have only one example config file, at least for now.
Anyway, the ejabberd Guide includes examples of those specific
configurations. And the documentation should be a mandatory reading
when configuring a server, as the Apache config says.

> > % Override the old values stored in the database
>
> Needs an explanation, what are 'local', 'global', 'acls'

Thanks, explanations added.

> > % ejabberd loglevel (0: no log -> 5: debug)
>
> Needs an explanation of levels 1, 2, 3, 4.

Added.

> > %%%   VIRTUAL HOSTS
(Continue reading)

Badlop | 3 Oct 2007 17:15
Picon

Re: Proposed huge reorganization of ejabberd.cfg.example

2007/9/26, Badlop <badlop <at> gmail.com>:
> I'll apply the suggestions I consider interesting, before submitting
> to the ejabberd bug tracker.

I finally applied most of the suggestions reported by Jaco Kroon and
Sergei Golovan. Other changes are the comment format, and the
Emacs-erlang mode indentation.

Here is the updated proposal, in case there are last minute suggestions.
I'll send the final proposal tomorrow to the ejabberd bug tracker.

---------------------- START ejabberd.cfg.example
%%%
%%%               ejabberd configuration file
%%%

%%% The ejabberd Guide provides detailed explanation of
%%% the parameters used in this ejabberd configuration file.
%%% Please consult the Guide in case of doubts,
%%% it is included in your copy of ejabberd, and is also
%%% available in ejabberd home page.

%%% The options in this file are specified as Erlang terms.
%%% You only need to know some basic hints:
%%%
%%%  - The character to comment a line is %
%%%
%%%  - Each term ends in a dot, for example:
%%%      override_global.
%%%
(Continue reading)

Jaco Kroon | 3 Oct 2007 18:12
Picon

Re: Proposed huge reorganization of ejabberd.cfg.example

Badlop wrote:
> ---------------------- START ejabberd.cfg.example
> %%%
> %%%               ejabberd configuration file
> %%%
> 
> %%% The ejabberd Guide provides detailed explanation of
> %%% the parameters used in this ejabberd configuration file.
> %%% Please consult the Guide in case of doubts,
> %%% it is included in your copy of ejabberd, and is also
> %%% available in ejabberd home page.

Please consulte the Guide in case of doubts, the guide should be 
included in your copy of ejabberd (usually insalled in /usr/share/doc), 
and it's also available online at http:// ???????

> %%% The options in this file are specified as Erlang terms.
> %%% You only need to know some basic hints:
> %%%
> %%%  - The character to comment a line is %
> %%%
> %%%  - Each term ends in a dot, for example:
> %%%      override_global.
> %%%
> %%%  - A tuple has a fixed definition, its elements are
> %%%    enclosed in {}, and separated with commas:
> %%%      {loglevel, 4}.
> %%%
> %%%  - A list can have as many elements as you want,
> %%%    and is enclosed in [], for example:
(Continue reading)


Gmane