Windows authentication

29 views
Skip to first unread message

Hariharasudhan

unread,
Dec 27, 2009, 12:47:07 AM12/27/09
to jabbe...@googlegroups.com
Hi All,

Please help me in following scenario:
 
I need to connect to Jabber server with windows authentication from jabber client end.
I wish to get this done programatically (C#). I went through the source code of jabber-net DLL and i couldn't figure it out.
 

Thanks
Hariharasudhan                          


The INTERNET now has a personality. YOURS! See your Yahoo! Homepage.

Joe Hildebrand

unread,
Dec 28, 2009, 12:12:21 PM12/28/09
to jabbe...@googlegroups.com
Do you want to use NTLM or GSSAPI?


--

You received this message because you are subscribed to the Google Groups "jabber-net" group.
To post to this group, send email to jabbe...@googlegroups.com.
To unsubscribe from this group, send email to jabber-net+...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/jabber-net?hl=en.

Hariharasudhan

unread,
Dec 29, 2009, 11:12:17 AM12/29/09
to jabbe...@googlegroups.com
Joe
 
I want to use NTLM. It'll will be really helpful if you suggest implemenataion steps or code snippet for the same.
 
Thanks for your kind response.

Thanks
Hariharasudhan
 
 
                                                                             


--- On Mon, 28/12/09, Joe Hildebrand <hil...@gmail.com> wrote:

Joe Hildebrand

unread,
Dec 30, 2009, 3:04:52 PM12/30/09
to jabbe...@googlegroups.com
I thought that there was NTLM support, but apparently not.  I'd try making a copy of jabber/connection/sasl/KerbProcessor.cs, and modifying the calls to AcquireCredentialsHandle appropriately.  Also, hook your new class in to SASLProcessor.createProcessor().

Before you try that, though, try this (assuming your JabberClient instance is jc):

jc[jabber.connection.sasl.KerbProcessor.USE_WINDOWS_CREDS] = true;

And if you're lucky, GSSAPI/Kerberos will just work....

Hariharasudhan

unread,
Dec 30, 2009, 4:43:37 PM12/30/09
to jabbe...@googlegroups.com
Thanks Joe. I'll give a try and let you know ..                                                                             
Reply all
Reply to author
Forward
0 new messages