Ntlm

Check this topic

http://forums.pandion.be/viewtopic.php?t=1051

I earlier read this topic… On version 2.6.2 at me all has turned out… But then the jabber-server has given failure. Now on version 3.0.0 I can not achieve functionality in any way.

I have updated my libs at http://norman.rasmussen.co.za/dl/sasl-sspi/ to support NTLM in Wildfire 3.0+ for Windows. That should get everyone that was using NTLM in 2.6.2 back on their feet with the new version.

??, ??? !!! …??? ??? ? ??? !!!

Sorry:

??, many thanks!.. Now download also I shall start to test!

Nothing has turned out

At attempt to incorporate a server takes off for a miss

Here a broad gully of the console of a server:

Wildfire 3.0.1

Admin console listening at:

http://jabber:9090

https://jabber:9091

  1. An unexpected error has been detected by HotSpot Virtual Machine:

  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x6d9cf640, pid=2052, tid=1552

  1. Java VM: Java HotSpot™ Server VM (1.5.0_07-b03 mixed mode)

  2. Problematic frame:

  3. V

  1. An error report file with more information is saved as hs_err_pid2052.log

  1. If you would like to submit a bug report, please visit:

  2. http://java.sun.com/webapps/bugreport/crash.jsp

This should be fixed in v5. Post the error logs if you have any furthur problems.

BTW: With Wildfire 3.0, there is no need to patch Pandion.

Norman, supppppper!

Yes it was delicious

Hello, Norman.

Did you test your patch with WF 3.1.0? I have some problem, may be because of SaslSspi.dll.

Link - http://www.jivesoftware.org/community/thread.jspa?threadID=22574&tstart=0

I have tested the plugin. It seems to work fine. I’‘ve also had feedback of it working fine. It gets nuked during the upgrade process, but it’'s easy to add back.

Which version are you using v4 (dll built on aug 20) or v5 (dll built on aug 30)? (v5 got an overhaul to handle exceptions better - it was causing java to segfault - like you describe)

I`m use v5.

Can you reproduce the bug? (What exceptions - if any - are being logged in the wildfire logs?)

How are your java skills - if possible can you repoduce the crash using SASLCheck?

No, i can`t do something to crash Wildfire like that, i can only wait for this problem happens again :-(.

I have only log that posted there - http://www.jivesoftware.org/community/message.jspa?messageID=132543#132543

But WF logs are empty (that means no errors are logged in crash time) and Windows Event Log is only said “The Wildfire service entered the stopped state.”

Im afraid that my java skill is very low and now i cant do what you said :-(. But i can do something with step-by-step guide, if you give it to me.

BTW, im to sure what exactly is cause WF to stop and im not blame your patch, may be it`s something in my system cause trouble.

Message was edited by: trk

I’'ve been doing some reading and it looks like enabling -XX:+ShowMessageBoxOnError would cause a crash dump to be saved. You may also have to set up Dr Watson to save the dump correctly. If you can get a dump it would greatly help!

Also I think that I must compile a debug version of the dll (with pdb file), so that I can get line numbers - this will also help.

From the stack trace it is my plugin (it shows in the trace). It looks like it’'s passing a null value to the windows system. (but maybe this null comes from Pandion shrug)

Here are some links for info on how to set the Java VM Options:

http://resources.ej-technologies.com/install4j/help/doc/steps/launcher/wizard/ja va.html

http://resources.ej-technologies.com/install4j/help/doc/helptopics/concepts/vmPa rameters.html

http://www.electro-server.com/documentation/articles/multibyteLanguages.aspx

Hopefully they’‘ll help someone who’‘s trying to set the parameters on windows (I think on Unix you just set INSTALL4J_ADD_VM_PARAMS, but I’'m not sure if that works on Windows)

FYI: I’'ve released v6 of the SSPI-SASL bridge:

Changelog:

v6:

  • Free the SSPI model during finalize

  • Only Free/Delete security buffers that have been used (NT4 fix)

  • Made a static buffer into a member variable

  • Assert for Privileges to add SASL methods

  • Implement getMechanismName

  • Now built with Java 1.6 (with -source/-target 1.5 for compatibility with Java1.5)

So several memory leaks and threading contention issues have been removed, I haven’'t checked it in my live production Wildfire envionment yet (Java1.5), but it works in my dev testing non-Wildfire/SaslCheck env (Java1.6)

Hi!

SASL-SSPI v6.2

Wildfire 3.1.1

Pandion 2.5

    • work, but without windows autentification.

  1. An unexpected error has been detected by HotSpot Virtual Machine:

  1. EXCEPTION_ACCESS_VIOLATION (0xc0000005) at pc=0x77fcd79a, pid=3500, tid=2796

  1. Java VM: Java HotSpot™ Server VM (1.5.0_08-b03 mixed mode)

  2. Problematic frame:

  3. C


T H R E A D -


Current thread (0x2a690668): JavaThread “Client SR - 27525703” daemon

Please email me (see my profile for email address) a Dr Watson dump (see the info I posted in this thread on 23-Oct-2006, and 8-Nov-2006 on how to enable the dump switch). Also please try the dll from the src\SaslSspi-C\Debug folder.

Also please try the dll from the src\SaslSspi-C\Debug folder.

with SaslSspi-C working and this morning dont crash

how to enable the dump switch

sorry, cant find this swith

Message was edited by: victorae

Read the first article I linked to, it explains how to add the debug switch to the service.