How can a User change the password I gave him for first login as admin?
How can user change password?
JavaScript Xmpp Client in Owncloud 9
Does anyone know how to connect owncloud to openfire. There is a rubric 'JavaScript Xmpp Client', but I don't know what they asking for in the 8 setting fields.
Re: Remove Status of users in chat window
Great i hope this feature is added soon.
Re: EmailListener error
Forgot to add the following log lines that appear after the 1st two:
jimothy wrote:
2016.09.16 11:06:07 org.jivesoftware.openfire.plugin.ofmeet.EmailListener - Error listening new email messages
javax.mail.FolderClosedException: * BYE Connection is closed. 13
at com.sun.mail.imap.IMAPFolder.throwClosedException(IMAPFolder.java:2464)
at com.sun.mail.imap.IMAPFolder.idle(IMAPFolder.java:2256)
at org.jivesoftware.openfire.plugin.ofmeet.EmailListener.listenMessages(EmailListe ner.java:171)
at org.jivesoftware.openfire.plugin.ofmeet.EmailListener.access$200(EmailListener. java:69)
at org.jivesoftware.openfire.plugin.ofmeet.EmailListener$1.run(EmailListener.java: 123)
Re: Issue with Spark Contacts when using Openfire on LDAP
Solved this entirely by accident. By going to User/Groups>User Search> [Select User] Select "Roster" under the left hand menu and select the user that you want to change the group settings for.
Fixed. Wish they would allow you to alter these settings directly from the spark client though.
Re: Receiving new Spark message opens window but doesn't display message
So far so good. Since I deleted my old Spark AppData folder (Roaming), I've received every message sent to me. Guus, I'm in the group chat room if you're available.
Re: EmailListener error
Solved. The exchange admin had to change the @domain.com setting and initialize his email account.
Re: Remove Status of users in chat window
I wouldn't count on this being added soon. No active developers.
Re: Problemas para iniciar o serviço Openfire
Boa tarde Vinicius, poderia me informar como encerrar o post? Complementando achei a solução para fazer a inicialização do serviço openfire no ubuntu para quem utiliza o arquivo .tar para fazer a instalação e coloca o conteúdo na pasta /opt/openfire/ segue a baixo os comandos
# ln -s /opt/openfire/bin/openfire /etc/init.d/openfire
# update-rc.d openfire defaults 80
para executá-lo entre no diretório do openfire e execute o serviço:
# /etc/init.d/openfire start
Re: Problema de autenticação
Obrigado pelo link Fabiano, mais não funcionou, continua informando usuário e senha inválido.
Alguém poderia postar aqui todas as dependências para o pleno funcionamento do servidor openfire no Ubuntu? Estou começando a achar que faltou algo, subi um novo servidor hoje e continua com a mesma inconsistência, durante a configuração faço toda a integração com AD já retornando os grupos e os usuários mais na hora de autenticar no cliente não funciona.
Conexão com o spark
Prezados, boa tarde.
Realizei a instalação do Openfire em uma maquina q servirá com servidor do mesmo.
As configurações foram todas testadas e aprovadas porem na hora de conectar no Spark ele da uma mensagem de usuário ou senha invalidos.
Alguem pode me ajudar com isso.
Re: Problema de autenticação
Boa tarde, eu apenas instalei o java e pronto:
apt-get install default-jre
Aproveita e roda o apt-get update + apt-get upgrade
Re: Problema de autenticação
Se precisar, eu fiz o tutorial da instalação no ubuntu:
https://community.igniterealtime.org/docs/DOC-5273
https://community.igniterealtime.org/docs/DOC-5272
Um deles é com banco de dados interno, e o outro com banco de dados externo.
Re: Problemas para iniciar o serviço Openfire
Boa tarde, já ficou certo, você marcou a resposta e dai o post fica como respondido e de forma correta, obrigado pelo retorno da solução para quem utilizou o arquivo tar.
Re: Openfire 4.0.3 on centos7 x64 - no admin interface
I just recovered a snapshot before openfire installation, installed openfire, set it to use ipv4, and it works.
now, I dont know what the problem was, but it appears to be gone...
thanks!
Invalid Affliation in pubsubManager.getAffliations (Smack API in Android)
I am trying to do the following code
List<Affiliation> affiliationsList = manager.getAffiliations();
which is sending a request to my open fire server as follows
<iqto='pubsub.sais-macbook-pro.local'id='9X81t-14'type='get'><pubsubxmlns='http://jabber.org/protocol/pubsub'><affiliations/></pubsub></iq>
which receives the following data
<axmlns='urn:xmpp:sm:3'h='5'/><iqtype="result"id="9X81t-14"from="pubsub.sais-macbook-pro.local"to="user0@sais-macbook-pro.local/6tyhnt9dxr"><pubsubxmlns="http://jabber.org/protocol/pubsub"><affiliations><affiliationnode="hdhdg1474044716939"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="hdhd1474044676441"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="jsjs"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="hgfd1474045979829"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="uwdufh1474045089964"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="hhwvhx1474085208255"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="ha1474044753958"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="ritoyo1474045127829"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="ywhdidj1474056356469"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="group1"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="uwdufh1474044961580"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="usvejdkf1474056459160"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="jdhd1474044097034"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="uwbdf1474046301414"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="idbedux1474049957303"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="iwndd"jid="user0@sais-macbook-pro.local"affiliation="owner"/><affiliationnode="inbg1474046072053"jid="user0@sais-macbook-pro.local"affiliation="owner"/></affiliations></pubsub>
and follows by an ERROR/EXCEPTION:
W/AbstractXMPPConnection:ConnectionXMPPTCPConnection[user0@sais-macbook-pro.local/1940rxqu6u]
(0) closed with error
org.jivesoftware.smack.SmackException:Invalid affiliation
org.jivesoftware.smackx.pubsub.provider.AffiliationProvider.parse(AffiliationProvider.java:56)
at org.jivesoftware.smackx.pubsub.provider.AffiliationProvider.parse(AffiliationProvider.java:33)
at org.jivesoftware.smack.provider.Provider.parse(Provider.java:31)
at org.jivesoftware.smack.util.PacketParserUtils.parseExtensionElement(PacketParserUtils.java:917)
at org.jivesoftware.smack.util.PacketParserUtils.addExtensionElement(PacketParserUtils.java:1037)
at org.jivesoftware.smack.util.PacketParserUtils.addExtensionElement(PacketParserUtils.java:1031)
Questions about MUC history
Hi,
I am suffering from big problem.Please any one can answer my question if is
yes then its a big thank you.
First question.
Openfire store chatroom messages in ram or mysql database.
Second question
If it store in mysql database then i have following problem.I have a requirement is to delete a messages from chatroom
after 24 hours from count with there sending message time.for this i have applied the logic to delete the message
from offmessagearchive table because after enable the archivin, message has been stored in this table.But after the deletion of message from the offmessagearchive table user can be able to read that deleted messages
from there chat application.
Third question
From my point of view openfire has store there messages in ram thats why the messages has
been deleted when openfire has been restart if is it right then is there any way to delete messages
from chat room after 24hours?
Re: Questions about MUC history
If you have a seperate question, then you should post it as a separate thread and do not hijack old already resolved thread. I have branched out your question.
Openfire stores room messages in memory and then flushes them into database in batches. You can control the interval and the number of messages in a batch in Group Chat > Group Chat Settings > [conference service name] > Other Settings.
You shouldn't be deleting messages from the database directly. I think you need some kind of plugin to do this using Openfire's APIs, but i can't help with that as i'm not a developer.
Openfire SSO
Hi All,
I would like to setup Openfire/SPARK with SSO and it doesn't work for me. I spend more than 20 hours diagnosing problems. Some solved, but know I need help.
My Environment:
Windows Server 2012 as Domain Controller (openfiredc.mc.gov.pl)
Windows 10 system connected to domain with SPARK 2.8.0 as xmpp client
Debian Jessie 8.5 as Openfire server (openfire.mc.gov.pl)
root@openfire:/usr/local# java -version
java version "1.8.0_101"
Java(TM) SE Runtime Environment (build 1.8.0_101-b13)
Java HotSpot(TM) 64-Bit Server VM (build 25.101-b13, mixed mode)
All systems synchronized with NTP
Forward and Reverse DNS configured including _kerberos and _xmpp SRV records
I think I've done everything according to SSO Configuration
Openfire Configuration:
/etc/krb5.conf:
[libdefaults]
default_realm = MC.GOV.PL
[realms]
MC.GOV.PL = {
kdc = openfiredc.mc.gov.pl
admin_server = openfiredc.mc.gov.pl
default_domain = mc.gov.pl
}
[domain_realm]
.mc.gov.pl = MC.GOV.PL
mc.gov.pl = MC.GOV.PL
Created XMPP SPN, mapping and keytab according to DOC-1060. Verification on Openfire server:
root@openfire:/usr/local# kinit -k -t /usr/share/openfire/resources/xmpp.keytab xmpp/openfire.mc.gov.pl@MC.GOV.PL -V
Using default cache: /tmp/krb5cc_0
Using principal: xmpp/openfire.mc.gov.pl@MC.GOV.PL
Using keytab: /usr/share/openfire/resources/xmpp.keytab
Authenticated to Kerberos v5
gss.conf file:
root@openfire:/usr/local# cat /etc/openfire/gss.conf
com.sun.security.jgss.accept {
com.sun.security.auth.module.Krb5LoginModule
required
storeKey=true
keyTab="/usr/share/openfire/resources/xmpp.keytab"
doNotPrompt=true
useKeyTab=true
realm="MC.GOV.PL"
principal="xmpp/openfire.mc.gov.pl@MC.GOV.PL"
isInitiator=false
debug=true;
};
SASL configuration added to openfire.x
<sasl>
<mechs>GSSAPI</mechs>
<realm>MC.GOV.PL</realm>
<gssapi>
<debug>true</debug>
<config>/etc/openfire/gss.conf</config>
<useSubjectCredsOnly>false</useSubjectCredsOnly>
</gssapi>
</sasl>
SPARK client configuration:
Registry modified according to DOC-1060
SSO use krb5.ini
Problem Description:
SPARK starts xmpp conversation
stream:stream xmlns='jabber:client' to='mc.gov.pl' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='Administrator@mc.gov.pl' xml:lang='en'>
<starttls xmlns='urn:ietf:params:xml:ns:xmpp-tls'></starttls>
Openfire Server answers:
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="mc.gov.pl" id="5j5dchu0oz" xml:lang="en" version="1.0">
<stream:features><starttls xmlns="urn:ietf:params:xml:ns:xmpp-tls"></starttls><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>GSSAPI</mechanism></mechani sms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
<proceed xmlns="urn:ietf:params:xml:ns:xmpp-tls"/>
SPARK sends TGS-REQ for krbtgt@MC.GOV.PL (MC.GOV.PL) and receives ticket TGS-REP
SPARK sends TGS-REQ for xmpp@openfire.mc.gov.pl (MC.GOV.PL) and receives ticket TGS-REP
SPARK sends xmpp message to Openfire Server:
<stream:stream xmlns='jabber:client' to='mc.gov.pl' xmlns:stream='http://etherx.jabber.org/streams' version='1.0' from='Administrator@mc.gov.pl' xml:lang='en'>
<auth xmlns='urn:ietf:params:xml:ns:xmpp-sasl' mechanism='GSSAPI'>YIIFRgYJKoZIhvcSAQICAQBuggU1MIIFMaADAgEFoQMCAQ6iBwMFACAAAACj ggRXYYIEUzCCBE+gAwIBBaELGwlNQy5HT1YuUEyiJTAjoAM
.................................
CAQChHDAaGwR4bXBwGxJvcGVuZmlyZS5tYy5nb3YucGyjggQSMIIEDqADAgEXoQMCAQWiggQABIID/MZ 6nikvfX9DDiF9hmxK1IiQEtFVQLvjRIBIiEY2W8BMjd24sVIbdig0fGAimw1diRuYvL6iX6caBrug==< /auth>
And this is the moment where Openfire has problem
Openfire sends answer to SPARK
<?xml version='1.0' encoding='UTF-8'?><stream:stream xmlns:stream="http://etherx.jabber.org/streams" xmlns="jabber:client" from="mc.gov.pl" id="5j5dchu0oz" xml:lang="en" version="1.0"><stream:features><mechanisms xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><mechanism>GSSAPI</mechanism></mechani sms><compression xmlns="http://jabber.org/features/compress"><method>zlib</method></compression><auth xmlns="http://jabber.org/features/iq-auth"/><register xmlns="http://jabber.org/features/iq-register"/></stream:features>
<failure xmlns="urn:ietf:params:xml:ns:xmpp-sasl"><not-authorized/></failure>
In logs I can see only
2016.09.17 21:03:02 DEBUG [NioProcessor-2]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_RECEIVED to session 5
Queue : [MESSAGE_RECEIVED, ]
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-3]: org.apache.mina.core.filterchain.IoFilterEvent - Firing a MESSAGE_RECEIVED event for session 5
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-3]: org.apache.mina.filter.codec.ProtocolCodecFilter - Processing a MESSAGE_RECEIVED for session 5
2016.09.17 21:03:02 INFO [socket_c2s-thread-3]: org.jivesoftware.openfire.net.SASLAuthentication - User Login Failed. Failure to initialize security context
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-3]: org.apache.mina.filter.ssl.SslFilter - Session Server[5](SSL): Writing Message : WriteRequest: HeapBuffer[pos=0 lim=77 cap=128: 3C 66 61 69 6C 75 72 65 20 78 6D 6C 6E 73 3D 22...]
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-3]: org.apache.mina.core.filterchain.IoFilterEvent - Event MESSAGE_RECEIVED has been fired for session 5
2016.09.17 21:03:02 DEBUG [NioProcessor-2]: org.apache.mina.filter.executor.OrderedThreadPoolExecutor - Adding event MESSAGE_SENT to session 5
Queue : [MESSAGE_SENT, ]
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-2]: org.apache.mina.core.filterchain.IoFilterEvent - Firing a MESSAGE_SENT event for session 5
2016.09.17 21:03:02 DEBUG [socket_c2s-thread-2]: org.apache.mina.core.filterchain.IoFilterEvent - Event MESSAGE_SENT has been fired for session 5
Please Help, I have no idea what is wrong.
Regards Adam
Re: Openfire SSO
With 2.8.0 this is important SSO (Single Sign On) configuration changes with Spark 2.8.0