Gaurav Jain | 28 Jan 03:04 2015
Picon

set "vcard-temp" with photo data takes time

Hi,

If I have a binary photo-data in my "vard-temp" stanza, the "result stanza" from server comes after a delay ( 20 - 30 secs)

If I DO NOT have a binary photo data in my "vard-temp" stanza, the "result stanza" from server comes as expected


I run ejabberd with default configuration.


Would you be able to tell the reason for the delay?


Regards,


_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Stefan Schlesinger | 27 Jan 07:05 2015
Picon

MUC Vhost/ACL

Hello,

anyone knows whether there is a way to configure ACLs for MUC on a per vhost basis?

I would like to restrict certain rooms from public access on one vhost and have another for public ones. 

Thanks,
Stefan. 
Jeronimo | 21 Jan 21:23 2015
Picon

mod_shared_roster_ldap and MS AD

I'm trying to configure mod_shared_roster_ldap against MS AD.

This is the configuration of the module:

{mod_shared_roster_ldap,[
    {ldap_user_cache_validity,7200},
    {ldap_group_cache_validity,7200},
    {ldap_base, "ou=CPD,dc=ad,dc=ufrgs,dc=br"},
    {ldap_rfilter, "(&(objectClass=group)(cn=CPD-DRS Funcionários))"},
    {ldap_groupattr, "cn"},
    {ldap_groupdesc, "name"},
    {ldap_memberattr, "member"},
    {ldap_ufilter, "(&(objectClass=organizationalPerson)(distinguishedName=%D))"},
    {ldap_memberattr_format, "%D"},
    {ldap_useruid, "distinguishedName"},
    {ldap_userdec, "name"}
  ]},

The group contains a lot of members:

root <at> xmpp:~# ldapsearch -D "manager" -w secret -p 389 -h hostname -b "ou=CPD,dc=ad,dc=ufrgs,dc=br" -s sub "(&(objectClass=group)(cn=CPD-DRS Funcionários))"
# extended LDIF
#
# LDAPv3
# base <ou=CPD,dc=ad,dc=ufrgs,dc=br> with scope subtree
# filter: (&(objectClass=group)(cn=CPD-DRS Funcionários))
# requesting: ALL
#

# CPD-DRS Funcion\C3\A1rios, DRS, CPD, ad.ufrgs.br
dn:: Q049Q1BELURSUyBGdW5jaW9uw6FyaW9zLE9VPURSUyxPVT1DUEQsREM9YWQsREM9dWZyZ3MsR
EM9YnI=
objectClass: top
objectClass: group
cn:: Q1BELURSUyBGdW5jaW9uw6FyaW9z
description:: R3J1cG8gRnVuY2lvbsOhcmlvcyBkYSBEUlM=
member: CN=Jose Silva,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Jeronimo Soares de Castro Menezes,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Ana Maria Braga,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Regina Case,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Luciano Huck,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Willian Bonner,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
member: CN=Fatima Bernardes,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
distinguishedName:: Q049Q1BELURSUyBGdW5jaW9uw6FyaW9zLE9VPURSUyxPVT1DUEQsREM9YW
QsREM9dWZyZ3MsREM9YnI=
displayName: Func_DRS

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
root <at> xmpp:~#

The result for a member:

root <at> xmpp:~# ldapsearch -D "manager" -w secret -p 389 -h hostname -b "ou=CPD,dc=ad,dc=ufrgs,dc=br" -s sub "(&(objectClass=organizationalPerson)(distinguishedName=CN=Jeronimo Soares de Castro Menezes,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br))"
# extended LDIF
#
# LDAPv3
# base <ou=CPD,dc=ad,dc=ufrgs,dc=br> with scope subtree
# filter: (&(objectClass=organizationalPerson)(sAMAccountname=jeronimo))
# requesting: ALL
#

# Jeronimo Soares de Castro Menezes, DRS, CPD, ad.ufrgs.br
dn: CN=Jeronimo Soares de Castro Menezes,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br
objectClass: top
objectClass: person
objectClass: organizationalPerson
objectClass: user
cn: Jeronimo Soares de Castro Menezes
sn: Soares de Castro Menezes
title:: RnVuY2lvbsOhcmlv
physicalDeliveryOfficeName: DRS
telephoneNumber: 5050
givenName: Jeronimo
distinguishedName: CN=Jeronimo Soares de Castro Menezes,OU=DRS,OU=CPD,DC=ad,DC
=ufrgs,DC=br
company: CPD - UFRGS
mailNickname: jeronimo
name: Jeronimo Soares de Castro Menezes
sAMAccountName: jeronimo

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
root <at> xmpp:~#

When I ssend a stanza querying the roster list:

<iq type='get' id='purple123b28e3'>
<query xmlns='jabber:iq:roster'/>

</iq>

The answer is an empty roster:

<iq from='jeronimo <at> ad.ufrgs.br' to='jeronimo <at> ad.ufrgs.br/vision' id='purple123b28e3' type='result'>
<query xmlns='jabber:iq:roster'/>
</iq>

And the log show me that the group "CPD-DRS Funcionários" were founded:

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.611.0>:ejabberd_receiver:320) : Received XML on stream = "<iq type='get' id='purple123b28e3'>\n\t\t<query xmlns='jabber:iq:roster'/>\n\n</iq>"

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.612.0>:ejabberd_router:313) : route
from {jid,"jeronimo","hostname","vision","jeronimo","hostname",
                  "vision"}
to {jid,"jeronimo","hostname",[],"jeronimo","hostname",[]}
packet {xmlelement,"iq",
                   [{"type","get"},{"id","purple123b28e3"}],
                   [{xmlcdata,<<"\n\t\t">>},
                    {xmlelement,"query",[{"xmlns","jabber:iq:roster"}],[]},
                    {xmlcdata,<<"\n\n">>}]}

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.442.0>:eldap:697) : {searchRequest,
                          {'SearchRequest',"ou=CPD,dc=ad,dc=ufrgs,dc=br",
                           wholeSubtree,neverDerefAliases,0,5,false,
                           {'and',
                            [{equalityMatch,
                              {'AttributeValueAssertion',"objectClass",
                               "group"}},
                             {equalityMatch,
                              {'AttributeValueAssertion',"cn",
                               "CPD-DRS Funcionários"}}]},
                           ["cn"]}}

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.442.0>:eldap:767) : {searchResEntry,
                             {'SearchResultEntry',
                                 "CN=CPD-DRS Funcionários,OU=DRS,OU=CPD,DC=ad,DC=ufrgs,DC=br",
                                 [{'PartialAttributeList_SEQOF',"cn",
                                      ["CPD-DRS Funcionários"]}]}}

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.442.0>:eldap:767) : {searchResDone,
                             {'LDAPResult',success,[],[],asn1_NOVALUE}}

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.440.0>:ejabberd_router:313) : route
from {jid,"jeronimo","hostname",[],"jeronimo","hostname",[]}
to {jid,"jeronimo","hostname","vision","jeronimo","hostname",
                "vision"}
packet {xmlelement,"iq",
                   [{"id","purple123b28e3"},{"type","result"}],
                   [{xmlelement,"query",[{"xmlns","jabber:iq:roster"}],[]}]}

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.440.0>:ejabberd_sm:510) : sending to process <0.612.0>

=INFO REPORT==== 2015-01-21 15:11:53 ===
D(<0.612.0>:ejabberd_c2s:1553) : Send XML on stream = <<"<iq from='jeronimo <at> ad.ufrgs.br' to='jeronimo <at> ad.ufrgs.br/vision' id='purple123b28e3' type='result'><query xmlns='jabber:iq:roster'/></iq>">>

I can't understand why the mod_shared_roster_ldap isn't working for me and the roster is empty.
I can't find what is wrong in my configuration.

Can anyone help me?

Jeron

_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
hensem | 16 Jan 08:33 2015
Picon

Set file transfer limit

Is it possible to limit the file size between 2 clients? Can we handle it at
server side?

Thank you.

--
View this message in context: http://jabber.996255.n3.nabble.com/Set-file-transfer-limit-tp34361.html
Sent from the ejabberd mailing list archive at Nabble.com.
Stefan Strigler | 15 Jan 09:32 2015
Picon

14.12 vs transient supervisors

Hey there,

since I upgraded from 13.12 to 14.12 'ejabberdctl outgoing_s2s_number' and 'ejabberdctl incoming_s2s_number' are not working anymore. They just show 0. I've learned through https://support.process-one.net/browse/EJAB-1700 that his happens when '--enable-transient_supervisors' is not given when compiling. 

Thing is I'm using the precompiled bundle from ProcessOne (ejabberd-14.12-linux-x86_64-installer.run). Is this known? Any plans to fix this? Is this actually intended or a bug?

Thanks, Stefan
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
ricky gutierrez | 12 Jan 21:14 2015
Picon

deploy ejabberd and crash kernel

Hello list'm trying to deploy ejabberd on centos 6.6 and I can not
install correctly

Crash dump was written to: /opt/ejabberd/logs/erl_crash_20150112-133613.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k

Crash dump was written to: /opt/ejabberd/logs/erl_crash_20150112-133613.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k

Crash dump was written to: /opt/ejabberd/logs/erl_crash_20150112-133613.dump
Kernel pid terminated (application_controller)
({application_start_failure,kernel,{{shutdown,{failed_to_start_child,net_sup,{shutdown,{failed_to_start_child,net_kernel,{'EXIT',nodistribution}}}}},{k

anyone knows of this problem?

libyaml-0.1.4-1.el6.rf.x86_64
libyaml-devel-0.1.4-1.el6.rf.x86_64

kernel
2.6.32-504.3.3.el6.x86_64

--

-- 
rickygm

http://gnuforever.homelinux.com
ricky gutierrez | 31 Dec 04:50 2014
Picon

Nat ejabberd

Hi, maybe this question is out of time, but I have a doubt as you can
treat NAT with ejabberd, I have my ejabberd server behind a firewall
and when I call a user who is remotely the call fails, internally in
the lan works .

my firewall have a ip public , ejabberd server ip private.

I redirection port from outside to inside and the connection works
fine, ok chat, file transfer ok, the presence ok

but no audio.

 any advice, suggestion?

--

-- 

rickygm

http://gnuforever.homelinux.com
Jérôme Sautret | 17 Dec 15:29 2014
Picon

[ANN] ejabberd Community 14.12

Hello.

We’re pleased to announce the last release of ejabberd for 2014!
Thanks to contributors, this release includes great improvements and
opens road to 2015.

ejabberd Community 14.12 includes many bugfixes, and a few new features:
– New module mod_client_state implements XEP-0352: Client State Indication
– New module mod_fail2ban to ban IPs that show malicious signs
– New option store_empty_body in mod_offline
– New option disable_sasl_mechanisms
– Improve option resend_on_timeout to support if_offline

Improvements mainly cover:
– More robust offline server
– Better charset support in XMLRPC
– Some PEP issues fixed

As usual, the release is tagged in the Git source code repository on github:
https://github.com/processone/ejabberd

The source package and binary installers are available at ProcessOne:
http://www.process-one.net/en/ejabberd/downloads/

If you suspect you found a bug, search or fill a bug report in Jira:
https://support.process-one.net/browse/EJAB

--
Jérôme Sautret
http://www.process-one.net/
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
hensem | 16 Dec 04:40 2014
Picon

web admin not working from outside

I have ejabberd installed in one machine. If I access the web admin from
another machine within the same LAN, it will show everything.

If I try to access it from outside, I can login, but it will only show
Virtual Hosts under menu, and when I clicked it, nothing is shown, only

 "Host	Registered Users	Online Users" 

What do I need to do if I want to access web admin from outside my LAN?

Thanks.

--
View this message in context: http://jabber.996255.n3.nabble.com/web-admin-not-working-from-outside-tp34188.html
Sent from the ejabberd mailing list archive at Nabble.com.
Deepender Singla | 14 Dec 12:43 2014
Picon

Maximum History Size from MUC

Hello Folks

First off, I want to thanks to all of you in writing modular and easy to customize source code of ejabberd, I was actually scared when my boss gave me ejabberd customization never touched erlang and this code base before. But I was surprised with the modularity have been written, its very easy to customized even without erlang  (though because of this project, i started learning erlang looks very interesting) 

Back to what I am doing, From in MUC i am not making user leave the room when he leaves the room, this is i did by changing behaviour of "unavailable" type so that it doesn't remove_users, the other thing which I am currently stuck is:

1) I need to send the client the messages they missed when they were offline, can I use send_history method for this. As I see send_history can store  20 by default but this can be increased to any number, My first question What is the upper limit for this , if any?

2) Does anywhere apart from in the room does server store when was the user was connected and disconneted, some time stamp of user?

thanks
deep
_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd
Gaurav Jain | 10 Dec 22:08 2014
Picon

Register user in room

Hi,

I tried to follow to register a user to a room. However, I get error 501. Please see the stanza that I send and receive below.

I user ejabbered-14.x

http://xmpp.org/extensions/xep-0045.html#register


 <iq type="get" to="test <at> conference.localhost" id="someId"><query xmlns="jabber:iq:register"/></iq>

<iq xmlns="jabber:client" from="test <at> conference.localhost" to="erik <at> localhost/iPhone" type="error" id="someId"><query xmlns="jabber:iq:register"/><error code="501" type="cancel"><feature-not-implemented xmlns="urn:ietf:params:xml:ns:xmpp-stanzas"/></error></iq>


Can you please provide pointers?



_______________________________________________
ejabberd mailing list
ejabberd <at> jabber.ru
http://lists.jabber.ru/mailman/listinfo/ejabberd

Gmane