[security-dev 01605]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-04 Thread Natalie Li
Max (Weijun) Wang wrote: On Feb 4, 2010, at 4:15 PM, Natalie Li wrote: public final class Client { /** * Creates an NTLM Client instance. * @param version the NTLM version to use, which can be: * * 1: Original NTLM v1 * 1lm: Original NTLM v1, LM only * 1ntlm

[security-dev 01604]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-04 Thread Natalie Li
Natalie Li wrote: Security Blob: 605506062B0601050502A04B3049A00E300C060A2B060104... GSS-API Generic Security Service Application Program Interface OID: 1.3.6.1.5.5.2 (SPNEGO - Simple Protected Negotiation) SPNEGO negTokenInit

[security-dev 01603]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-04 Thread Natalie Li
NTLM token embedded inside the SPNEGO initial context token. Thanks Max On Feb 4, 2010, at 1:14 AM, Nicolas Williams wrote: On Wed, Feb 03, 2010 at 08:54:03AM -0800, Natalie Li wrote: Nicolas Williams wrote: On Wed, Feb 03, 2010 at 08:34:13AM -0800, Natalie Li wrote: Max (We

[security-dev 01602]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-04 Thread Natalie Li
public final class Client { /** * Creates an NTLM Client instance. * @param version the NTLM version to use, which can be: * * 1: Original NTLM v1 * 1lm: Original NTLM v1, LM only * 1ntlm: Original NTLM v1, NTLM only * 1+: NTLM v1 with Client Challenge

[security-dev 01592]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-03 Thread Natalie Li
Nicolas Williams wrote: On Wed, Feb 03, 2010 at 08:34:13AM -0800, Natalie Li wrote: Max (Weijun) Wang wrote: Hi Nico Is there a separate OID for NTLM as a GSS-API mech? Yes, OID for NTLM is "1.3.6.1.4.1.331.2.2.10" And the encoded OID octet string is: 1

[security-dev 01590]: Re: Request for comment: spec: NTLM as a SASL mech

2010-02-03 Thread Natalie Li
Max (Weijun) Wang wrote: Hi Nico Is there a separate OID for NTLM as a GSS-API mech? Yes, OID for NTLM is "1.3.6.1.4.1.331.2.2.10" And the encoded OID octet string is: 102 #define GSS_MECH_NTLMSSP_OID "\053\006\001\004\001\202\067\002\002\012" Natalie I dare not mix it into the current SP