jabberd2 win32
A Windows build of jabberd2, popular Jabber server
Description
This page contains jabberd2 SVN version guide that allows compiling and running jabberd2 server natively on Windows machine. You may choose whether you want to build the Windows version by yourself using source code available at official jabberd2 project page / SVN repository or get the binaries I provide at Downloads.
Multi-User Conferencing
Multi-User Conferencing component extension is also available for Windows at MUC win32 page.
Note
Windows platforms prior to Windows 2000 are not supported, so this won’t work on Windows 95/98/ME/NT.
Installation
jabberd2 binary package is provided at Downloads as MSI installer creating installation files at C:\Program Files\jabberd2 by default, setting up and running jabberd2 components as Windows services.
If you build jabberd2 manually and want to install some jabberd2 component as service type:
router.exe -I
to uninstall type:
router.exe -U
Follow jabberd2 manual to configure jabberd2 exactly same way as on unix machine.
Windows NTLogon authentication
SQLite is default storage & authentication module for my Windows builds. To change that behavior modify sm.xml and c2s.xml configuration files.You may be interested in using NTLogon authentication module, so all your Windows local users are jabberd2 users as well. To use this module edit c2s.xml:
- Setup auth module using: <module>ntlogon</module>.
- Since NTLogon module requires plain-text passwords you need to disable all authentication methods except plain-text under <mechanisms> use <!-- comments -->.
- You may require TLS so passwords are never sent trough unencrypted stream, add require-starttls='true' attribute to your <id>.
- If you want to authenticate domain users rather than your local accounts change realm='mydomain.local' attribute of <id> to match you domain.
Finally you need to enable (uncomment) <auto-create/> in sm.xml (Storage Manager) configuration, this is just because NTLogon let in all Windows users in, even those who have no Storage Manager entries yet.
Configuration
By default configuration files shipped with Windows jabberd2 build are set up to run on localhost with SQLite module for authentication and storage, with user registration and default TLS/SSL localhost certificate enabled.
Important
If you are willing to run jabberd2 as a XMPP server for sampledomain.com you need to change <id> entries in c2s.xml and sm.xml, so they match your domain: <id>sampledomain.com</id>, before you will be able to serve any XMPP clients for sampledomain.com. The sampledomain.com must be properly set up as DNS entry that resolves to the machine where jabberd2 services are installed and running.You may also need to open ports on your firewall for incoming connections:
- 5222, 5223 (legacy port, if enabled in c2s.xml) – for client to your server connections
- 5269 – for other server to your server connections (only if you plan to open for communication with other servers with s2s service)
If you want to know more about configuration of jabberd2 please read chapters starting from no. 3 of Jabberd 2 Installation and Administration Guide.
Building Windows jabberd2 using Visual Studio 2008 (SP1)
Thanks to Tomasz Sterna accepting my contributions, starting from revision #229 complete win32 support with Visual Studio 2005 project files is present in jabberd2 SVN repository. Starting from revision #751 project files require Visual Studio 2008 (SP1). To build jabberd2 win32 please read the rest of this section. If you are interested just in the binaries go to Downloads.
Prerequisites
All libraries shall be installed locally and added to VC Include files and Library files paths using Tools->Options->Project and Solutions->VC++ Directories. All libraries’ DLL files shall be copied to win32/bin folder and win32/bin/debug folder for Debug builds respectively.
- libidn version 1.7 or higher, source build using win32/libidn.sln, provides: libidn.lib
- libgsasl version 0.2.28 or higher, source build using win32/libgsasl.sln, provides: libgsasl.lib
- OpenSSL source build, read win32 build instructions provided along with sources, provides: libeay32.lib ssleay32.lib
- Expat XML Parser source build using expat.dsw (auto-converted), provides: libexpat.lib
- udns source build, provides: udns.lib, since there are no VC project files provided along with sources, please use patch files provided at Downloads.
- zlib source build, provides: zlib1.lib, convert & use VC project files at projects/visualc6, link to Win32_DLL_ASM_Release.
If you encounter MASM error: .\inffas32.asm(647) : error A2070: invalid instruction operands
Add a dword ptr type qualifier before [esp] as described here. - MySQL (auth & storage module) binary, linking to: libmysql.lib
- SQLite (auth & storage module) source build, provides: sqlite3.lib. Since there are no libraries for VC except DLLs you shall make one using sqlite-amalgamation-3.x.zip from SQLite downloads.
- TortoiseSVN SubWCRev command present in PATH to generate version.h and version.wxi. Comes with TortoiseSVN bin folder, added to PATH by TortoiseSVN installer.
- WiX 3.0.4401.0 or newer for building MSI jabberd2 setup inside Visual Studio 2005 IDE
- ActivePerl (or any Perl distribution) perl command present in PATH (optional for generation of default configuration XML files)
Building
After all prerequisite libraries are configured for use within VC open win32/jabberd2.sln and build all projects.
Once it is completed you should have fresh & ready Windows build of jabberd2 and jabberd-svn-win32.msi installer at win32/bin folder !
License
jabberd - Jabber Open Source Server
Copyright © 2002 Jeremie Miller, Thomas Muldowney, Ryan Eatmon, Robert Norris
jabberd - win32 version patches & build
Copyright © 2005-2009 Adam Strzelecki. All rights reserved.
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version. This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details. You should have received a copy of the GNU General Public License along with this program; if not, write to the Free Software Foundation, Inc., 59 Temple Place – Suite 330, Boston, MA 02111-1307, USA.
Download
Binaries:
- jabberd-2.2svn752-win32.msi 2009-03-05, 2.12 MB, win32 2.2 SVN revision #752 installer (contains OpenSSL), modules: SQLite (default) auth & storage, MySQL auth & storage, NTLogon auth module
Optional:
- vcredist_x86.exe 2008-09-16, 4.0 MB, Microsoft Visual C++ 2008 SP1 Redistributable Package (x86), if your system does not have the runtime, jabberd2 setup will ask you to install it
- jabberd-2.2svn752-win32-dbg.zip 2009-03-05, 8.37 MB, win32 2.2 SVN revision #752 debug binaries (for advanced users), Visual Studio 2008 (SP1) / VS2008SP1 Debug Runtime is required to use those debug binaries
Windows and Visual Studio compatibility patches:
- udns-0.0.9-win32+VC8.patch 2008-08-18, 38.5 KB, a patch file containing Windows fixes and Visual Studio 2005 project files for udns library, use it together with official distribution sources, tested with version 0.0.9
Claudio: Forgot to mention this important thing regarding NTLogon, you need to enable (uncomment) <auto-create/> in sm.xml (Storage Manager) configuration, this is just because NTLogon let in all Windows users in, even those who have no Storage Manager entries yet. So those entries have to be auto-created upon first logon.
Hope it will work fine for you now. Regarding this s2s.log, I have no clue yet, but I’ll check why it tries to connect to jabber server at osbitalia.local.
when I try to start the c2s.exe in the cli, i’m getting an application error (displayed in german…): “The application cannot be initialized correctly (0xc0150002)”.
What’s wrong here?
I previously installed all OpenSSL and VC packages you provided above.
(Still on WinXP SP3)
Ransum: Note the red marked comments at: http://www.slproweb.com/products/Win32OpenSSL.html
This are some problems with wonky SP3 I suppose, can you try on SP2 machine? I may try running at SP3 later-on, but I still do my development on SP2, since they’re so many negative opinions about latest SP3 MS achievement.
I’ve enabled <auto-create/> in sm.xml.
I still have the problem with the client being stuck in status “connecting” and the server trying to connect to osbitalia.local. I’ve tried changing some parameters, but with no luck. Any news?
I’m on a corp. network here… so downgrading to SP2 is no option at all. It seems this OpenSSL-Problem affects Windows 2003 SP1 as well then… ?
I guess it’s neither possible to use jabberd2 without that SSL stuff, is it?
Hi,
Just wondering, is there a way to skip the authentication step all together? Just providing a string to use as a screen name for that session.
Thanks
When i try to install the software i have this error msg. I`have proved in a wk3 SP2 and XP too, but i have the same error.
“Service Jabber 2 C2S (jabberd2c2s) failed to start. Verify that you have sufficient privileges to start system services”
Thanks
I have tried running the installer on 2 systems now but everytime it fails to run. It just closes the installer right after it opens. I have tried redownloading the installer file 3-4 times but still get the same problem.
I have same problem as in post #79(David), download installation jabberd-2.2svn688-win32.msi, short blink and nothing…
WinXP SP3
Answer to my post and 79(David) – install VC++ redistr and OpenSSL
It appears that the version of the VC++ redistr that you link to is the wrong one for the most recent version of OpenSSL. They provide a link to a different version (also from Microsoft) on the Shining Light page. That allowed OpenSSL to install without errors for me on Windows Server 2003 SP1. Unfortunately, I now can’t get the Jabber .msi to launch on that server.
I’m confused. ”
“Windows platforms prior to Windows 2000 are not supported, so this won’t work on Windows 95/98/ME/NT.
Windows ME was released after XP. Windows 2000, XP, 2003, Vista, and 2008 are all based on Windows NT. What does this thing run on?
Answer to my post and 79(David) – install VC++ redistr and OpenSSL
Hello all!
May I config for use syslog server? I don’t understand where I must write syslog server host name.
What is “log facility”?
Thanx.
Hi,
I want to install the jabberd2 on a windows 2003 server using windows authentication. Can anyone give step by step directions on how to implement this. Any help would be greatly appreciated. Any examples of the XML files.
I see the binaries, where is the source?
OK I found the source, but the SVN won’t check out. I try to check out SVN http://jabberd2.xiaoka.com/browser but it’s like “Options of http://jabberd2.xiaoka.com/browser could not read status line” connection was closed by proxy server http://jabberd2.xiaoka.com/
then I tried http://jabberd2.xiaoka.com/browser/trunk/win32 because I need the windows source, not the Tarball… and it said the XML data was not well-formed. Please help! I cannot figure this out
David: Just download the source as stated at http://jabberd2.xiaoka.com/ or checkout the SVN trunk as described at: http://jabberd2.xiaoka.com/wiki/Development
help me,how to use the udns-0.0.9-win32+VC8.patch file ?
Did you ever figure out what Claudio’s issue was? (#75). I’m getting the same thing on my test system… I am able to successfully authenticate (via NTLogon and the provided instructions) — working messages in the other log files — but as soon as I do that, client sends an iq/bind request that the server never responds to… immediately thereafter, s2s.log gets filled with a bunch of messages for “outgoing connection for ‘realm.company.com’” disconnecting.
My local machine (running the server) is machine.realm.company.com … realm.company.com is not running an xmpp server, but I’d like to use realm.company.com’s domain auth + run an internal xmpp / MUC server. (any tips on this?)
Thanks
I run the installer and the screen comes up for just a second and disappears. Is there any fix for this problem? Thank you.
Im have the next inssue “Service Jabber 2 c2s (jaberd2c2s) failed to start. Verify that you have sufficient privileges to start system services.”
What should i do =/
Too bad I don’t have Vista. Thinking….
Durokhan, Shawn: What version of OpenSSL you have installed? It must have something to do with Vista and OpenSSL.
I’ll try to prepare installer-less debug version (zipped binaries), so we may diagnose the problem better.
It looks like the Cyrus SASL authentication bug, described in ticket 246, is still present in Windows version (its status was set to “fixed” more than 5 months ago, before the release of 2.2.4). As a result, the only client able to connect is Psi. Other implementations, like Miranda, Exodus and Pandion, simply fail; those like Pidgin and JAJC even crash each time the user tries to come online.
And I still wonder, which “official” version does “2.2svn688-win32″ correspond to? Is it 2.2.0 or something newer? Considering it was published on 2008-08-18, the most probable is 2.2.3 or beta 2.2.4.
Shawn: “I run the installer and the screen comes up for just a second and disappears. Is there any fix for this problem? ”
I had the same problem. I’m running XP. I had to reinstall OpenSSL and select the Copy OpenSSL DLL to the Windows system directory. That fixed it.
This installer doesn’t work on Win 2003 R2 x64. The installer wizard appears for a fraction of a second then disappears.
Hello,
I’m trying to get jabber setup on my network to see if it’s better then what live communication server 2007. It seems to be all setup pretty close to the way it’s suppose to, but everytime I try to create a user I get a ‘not-authorized’ error. Any help would be appreciated and below are the logs from the c2s.log mile.
Tue Feb 17 15:27:46 2009 [notice] [276] [10.1.1.72, port=63694] connect
Tue Feb 17 15:27:48 2009 [notice] [276] packet sent before session start, closing stream
Tue Feb 17 15:27:48 2009 [notice] [276] [10.1.1.72, port=63694] disconnect jid=unbound, packets: 2
Tue Feb 17 15:28:09 2009 [notice] [276] [10.1.1.72, port=63696] connect
Tue Feb 17 15:28:09 2009 [notice] [276] [10.1.1.72, port=63696] disconnect jid=unbound, packets: 1
Tue Feb 17 15:28:50 2009 [notice] [288] [10.1.1.72, port=63703] connect
Tue Feb 17 15:28:51 2009 [notice] [288] [10.1.1.72, port=63703] disconnect jid=unbound, packets: 1
Tue Feb 17 15:30:13 2009 [notice] [284] [10.1.1.72, port=63707] connect
Tue Feb 17 15:30:13 2009 [notice] [284] [10.1.1.72, port=63707] disconnect jid=unbound, packets: 1
Tue Feb 17 15:32:57 2009 [notice] [276] [10.1.1.72, port=63728] connect
Tue Feb 17 15:32:58 2009 [notice] [276] [10.1.1.72, port=63728] disconnect jid=unbound, packets: 1
You are all right, jabberd2 win32 just deserves updating. I am very sorry that I haven’t done it yet. I am just stuck with my business activities, and very very busy nowadays. I just want to assure you all that I haven’t forgot about this project.
jabberd2 win32 project is at last updated! New binaries were build using Visual Studio 2008 SP1 and require its runtime, however most of you may have this runtime already installed, if NOT setup will ask to do so. OpenSSL libraries are included in the build, so no more problems with OpenSSL.
[...] a while I had put the jabberd2 win32 project aside, finally I have revived it. Here are some news about [...]
Is there any jabber src available that can be compiled in visual studio 6?
I need some more details on making Active Directory integration work. I am a NT network guy with absolutely NO xml coding experience. I tried to follow the directions provided above but I was unsuccessful. Honestly I was kinda lost in the coding. There is a reason I got into the network side and not programming side!!!
When I edited the c2s.xml file as described above the jabber c2s service would not start on my server. I edited both sm.xml and c2s.xml following the above directions as best I could. Not be a programmer AT ALL I was sorta lost.
Could someone please give me some more detailed instructions on changing the xml code to work with Active Directory.
Thank you in advance.
For NTLOGON I used the following config and it works perfectly:
In c2s.xml
For the MODULE:
<!– Backend module to use –>
<module>ntlogon</module>
For the ID:
<id realm=’yourdomainnamehere.local’
pemfile=’./server.pem’
register-enable=’true’
require-starttls=’true’
>YOURDOMAINNAMEHERE.LOCAL</id>
For the MECHANISMS:
<!– Available authentication mechanisms –>
<mechanisms>
<!– These are the traditional Jabber authentication mechanisms.
Comment out any that you don’t want to be offered to clients.
Note that if the auth/reg module does not support one of
these mechanisms, then it will not be offered regardless of
whether or not it is enabled here. –>
<traditional>
<plain/>
<!– <digest/> –>
</traditional>
<!– SASL authentication mechanisms. Comment out any that you
don’t want to be offered to clients. Again, if the auth/reg
module does not support one of these mechanisms, then it will
not be offered. –>
<sasl>
<plain/>
<!– <digest-md5/> –>
<!–
<anonymous/>
<gssapi/>
–>
</sasl>
</mechanisms>
In sm.xml you enable auto create like this:
<!– User options –>
<user>
<!– By default, users must explicitly created before they can start
a session. The creation process is usually triggered by a c2s
component in response to a client registering a new user.
Enableing this option will make it so that a user create will be
triggered the first time a non-existant user attempts to start
a session. This is useful if you already have users in an
external authentication database (eg LDAP) and you don’t want
them to have to register. –>
<auto-create/>
Hello!
I got a problem!
I finish install jabberd-2.2svn752-win32.msi in my system(windows xp with sp2), and i configured basic items in c2s.xml sm.xml.But when i use pandion(a jabberd client) to connect server.It can’t success with error info below in c2s.log:
Tue Aug 25 12:12:44 2009 [notice] starting up
Tue Aug 25 12:12:44 2009 [info] process id is 3844, written to ./c2s.pid
Tue Aug 25 12:12:44 2009 [notice] modules search path: modules
Tue Aug 25 12:12:44 2009 [info] loading ‘mysql’ authreg module
Tue Aug 25 12:12:44 2009 [notice] initialized auth module ‘mysql’
Tue Aug 25 12:12:44 2009 [notice] [0d915b6d731645c] configured; realm=0d915b6d731645c, registration enabled
Tue Aug 25 12:12:44 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Tue Aug 25 12:12:44 2009 [notice] connection to router established
Tue Aug 25 12:12:44 2009 [notice] [172.7.23.23, port=5222] listening for connections
Tue Aug 25 12:12:44 2009 [notice] ready for connections
Tue Aug 25 12:12:55 2009 [notice] [268] [172.7.23.23, port=7385] connect
Tue Aug 25 12:12:55 2009 [notice] [268] [172.7.23.23, port=7385] disconnect jid=unbound, packets: 0
Tue Aug 25 12:12:56 2009 [notice] [292] [172.7.23.23, port=7387] connect
Tue Aug 25 12:12:56 2009 [notice] [292] [172.7.23.23, port=7387] disconnect jid=unbound, packets: 0
Tue Aug 25 12:12:57 2009 [notice] [284] [172.7.23.23, port=7389] connect
Tue Aug 25 12:12:57 2009 [notice] [284] [172.7.23.23, port=7389] disconnect jid=unbound, packets: 0
Tue Aug 25 13:15:32 2009 [notice] [284] [172.7.23.23, port=7667] connect
Tue Aug 25 13:15:32 2009 [notice] [284] [172.7.23.23, port=7667] disconnect jid=unbound, packets: 0
Tue Aug 25 13:15:33 2009 [notice] [268] [172.7.23.23, port=7669] connect
Tue Aug 25 13:15:33 2009 [notice] [268] [172.7.23.23, port=7669] disconnect jid=unbound, packets: 0
Can you help me?
another question!
where can i get the jabberd2 windows’ souce code?
I want to expand the functions of that!
The vcredist_x86.exe link takes one to the 2005 version of the file when the 2008 version is needed for install.
The link should go here instead:
http://www.microsoft.com/downloads/thankyou.aspx?familyId=a5c84275-3b97-4ab7-a40d-3802b2af5fc2&displayLang=en
editwuyazhou: Source code is available at official project page: http://codex.xiaoka.com/wiki/jabberd2:start
My page is just extended howto about win32 build I maintain and provides win32 platform binaries.
E-mannen: Thanks a lot for noticing bad link.
Tue sep 22 16:02:42 2009 [notice] [248] [192.168.0.29,port = 5345] connect
Tue sep 22 16:02:44 2009 [notice] [248] [192.168.0.29.port = 5345] disconnect jid=unbound, packets: 1
hello,
I finish install jabberd-2.2svn752-win32.msi in my system(windows xp, when i use pidgin(a jabberd client) to connect server. It can’t success, the error infomatiom in c2s.log as follows:
Tue sep 22 16:02:42 2009 [notice] [248] [192.168.0.29,port = 5345] connect
Tue sep 22 16:02:44 2009 [notice] [248] [192.168.0.29.port = 5345] disconnect jid=unbound, packets: 1
i try many tiimes ,did not resolve it until now, how can i do?
hello,
I install jabberd-2.2svn752-win32.msi in my system(windows xp ), when i use miranda(a jabberd client) to connect server.It can’t success with error in c2s.log as follows:
registe user is successful, but login is failed with message authentication failed for (user name).
Tue Aug 25 13:15:33 2009 [notice] [268] [172.7.23.23, port=7669] connect
Tue Aug 25 13:15:33 2009 [notice] [268] [172.7.23.23, port=7669] disconnect jid=unbound, packets: 0
pls tell me how to resolve it ?
jasam: Try with PSI if it works (look into XML log), PSI is more descriptive than Miranda regarding errors, or try turning detailed logging for Jabber in Miranda (show me you XML log).
This may be some misconfiguration of the server or Miranda using some unsupported authentication method.
Especially when using jabberd2 with Windows authentication it requires plain passwords (see NTlogon section in the article above) while you may have still enabled digest or Miranda refuses using PLAIN passwords (AFAIR there was some settings to allow that).
So for safety you may enable PLAIN passwords in Miranda but require TLS in jabberd2 configuration.
Hey, I am new to XMPP and in quest to explore it, have installed jabberd2 with the help of binaries provided here. Thanks and I think it is a great page for all windows developers. Anyways, when i try to communicate to the server thorugh pandion, i get the following errors: -
Thu Sep 24 07:37:21 2009 [notice] starting up
Thu Sep 24 07:37:21 2009 [info] process id is 3788, written to ./c2s.pid
Thu Sep 24 07:37:21 2009 [notice] modules search path: modules
Thu Sep 24 07:37:21 2009 [info] loading ‘mysql’ authreg module
Thu Sep 24 07:37:21 2009 [notice] initialized auth module ‘mysql’
Thu Sep 24 07:37:21 2009 [notice] [r] configured; realm=r, registration enabled
Thu Sep 24 07:37:21 2009 [notice] attempting connection to router at 127.0.0.1, port=5347
Thu Sep 24 07:37:21 2009 [notice] connection to router established
Thu Sep 24 07:37:21 2009 [notice] [0.0.0.0, port=5222] listening for connections
Thu Sep 24 07:37:21 2009 [notice] ready for connections
Thu Sep 24 07:58:59 2009 [notice] [356] [127.0.0.1, port=1208] connect
Thu Sep 24 07:58:59 2009 [notice] [356] [127.0.0.1, port=1208] disconnect jid=unbound, packets: 0
Could any one please point out as what am i doing wrong. The connection settings I have set on the pandion are: -
server: localhost
port:5222
Thanks a ton !!!
also, the only change i made in c2s.xml was in the module section. i changed it to mysql. i have created the jabberd2 database in mysql and provided with right login details.
should i be making more changes in the router area or local area. please let me know.
thanks again
trying to build under visual studio. I read this line here “open win32/jabberd2.sln and build all projects”. Where the heck is this project file? I downloaded the source and all the packages here but I do not see the VS project file.
hello Aadm,
I met a error message box when using miranda clent to connect jabberd2 server and clicking online button , the jabberd2 server was conpiled by myself. but i try the jabberd-2.2svn752-win32.msi server that download in the website is successful, i think it may be xml file is not right.
the message box with error information is bellow:
session manager for requested domain is not available.
Pls help me once again.
Fri Oct 23 14:19:18 2009 [notice] starting up
Fri Oct 23 14:19:18 2009 [info] process id is 4556, written to ./c2s.pid
Fri Oct 23 14:19:18 2009 [notice] modules search path: modules
Fri Oct 23 14:19:18 2009 [info] loading ’sqlite’ authreg module
Fri Oct 23 14:19:18 2009 [notice] initialized auth module ’sqlite’
Fri Oct 23 14:19:18 2009 [notice] [dentsu.in] configured; realm=dentsu.in, registration enabled
Fri Oct 23 14:19:18 2009 [notice] attempting connection to router at 192.168.187.12, port=5347
Fri Oct 23 14:19:18 2009 [notice] connection to router established
Fri Oct 23 14:19:18 2009 [notice] [0.0.0.0, port=5222] listening for connections
Fri Oct 23 14:19:18 2009 [notice] ready for connections
Fri Oct 23 14:19:22 2009 [notice] [280] [192.168.188.92, port=3163] connect
Fri Oct 23 14:19:22 2009 [notice] [288] [192.168.188.92, port=3164] connect
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3165] connect
Fri Oct 23 14:19:22 2009 [notice] [312] [192.168.188.92, port=3166] connect
Fri Oct 23 14:19:22 2009 [notice] [324] [192.168.188.92, port=3167] connect
Fri Oct 23 14:19:22 2009 [notice] [336] [192.168.188.92, port=3168] connect
Fri Oct 23 14:19:22 2009 [notice] [348] [192.168.188.92, port=3169] connect
Fri Oct 23 14:19:22 2009 [notice] [280] [192.168.188.92, port=3163] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [288] [192.168.188.92, port=3164] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3165] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3170] connect
Fri Oct 23 14:19:22 2009 [notice] [288] [192.168.188.92, port=3171] connect
Fri Oct 23 14:19:22 2009 [notice] [312] [192.168.188.92, port=3166] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [324] [192.168.188.92, port=3167] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [336] [192.168.188.92, port=3168] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [336] [192.168.188.92, port=3172] connect
Fri Oct 23 14:19:22 2009 [notice] [348] [192.168.188.92, port=3169] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [288] [192.168.188.92, port=3171] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [336] [192.168.188.92, port=3172] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3170] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3173] connect
Fri Oct 23 14:19:22 2009 [notice] [340] [192.168.188.92, port=3174] connect
Fri Oct 23 14:19:22 2009 [notice] [296] [192.168.188.92, port=3175] connect
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3173] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3176] connect
Fri Oct 23 14:19:22 2009 [notice] [340] [192.168.188.92, port=3174] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [296] [192.168.188.92, port=3175] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:22 2009 [notice] [300] [192.168.188.92, port=3176] disconnect jid=unbound, packets: 0
Fri Oct 23 14:19:33 2009 [notice] shutting down
I’ve installed Jabberd2 on a server, with the “ntlogon” module enabled, and when I try to connect, the c2s.log shows that the login was successful, but my XMPP client (Exodus) just sits for a few minutes on “Connected – Authenticating”, and then errors out to this following message:
“There was an error trying to authenticate you.
Either you used the wrong password, or this account is already in use by someone else.”
My c2s.log shows this:
“Thu Nov 05 17:18:08 2009 [notice] [276] [192.168.27.100, port=3593] connect
Thu Nov 05 17:18:09 2009 [notice] ntlogon: user ‘heese’, realm ‘jonheese.local’ logged in
Thu Nov 05 17:18:09 2009 [notice] [276] SASL authentication succeeded: mechanism=PLAIN; authzid=heese@jonheese.local, TLS negotiated
Thu Nov 05 17:18:09 2009 [notice] [276] bound: jid=heese@jonheese.local/JESTER
Thu Nov 05 17:20:45 2009 [notice] [276] packet sent before session start, closing stream
Thu Nov 05 17:20:45 2009 [notice] [276] [192.168.27.100, port=3593] disconnect jid=heese@jonheese.local/JESTER, packets: 2″
Can anyone tell me what I’m doing wrong? Thanks.
jabberd2@jonheese.com
Regards,
Jon Heese
Never mind, I figured it out… I had disabled all of the <mechanisms> but “plain”, and apparently, I needed to disabled ALL the <mechanisms>, and leave only the <ssl-mechanisms> “plain”…
Counterintuitive from the way the documentation explains it, but whatever, I’m just happy I can finally get a user logged in after all this time working on it.
Regards,
Jon Heese
[...] Con un pentium 100 y 256 Mbytes lo haces. Si no, algun build para windows debe haber… aca: http://www.nanoant.com/projects/jabberd2-win32 [...]