Finally got that to work by specifying jcifsUsername, jcifsPassword in the
jcifsConfig bean.

Now I am trying to see if it will be possible to give 2 domains for
jcifsDomain


hardyjthomas wrote:
> 
> I am having difficulty understanding the SPNEGO config needed for NTLM : I
> would greatly appreciate it if I could get an example of how to configure
> SPNEGO to use NTLM (authenticationhandler, jcifsConfig, web flow beans :
> anything else that needs to change for NTLM)?
> 
> (I must apologise if this has already being posted : can't seem to find it
> : point me in the right direction)
> 
> I have made a guess at the config but doesn't seem to work.
> 
> I have used the following for jcifsConfig
> 
>       <bean name="jcifsConfig"
> class="org.jasig.cas.support.spnego.authentication.handler.support.JCIFSConfig">
>               <property name="loginConf" value="/WEB-INF/login.conf" />
>               <property name="jcifsDomain" value=xxx />
>               <property name="jcifsNetbiosWins" value=xxx />
>       </bean>
> 
> (
> The following is some of the debug output:
> 2007-09-11 07:52:41,564 DEBUG
> [org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction] - <SPNEGO
> Authorization he
> ader found with 316 bytes>
> 2007-09-11 07:52:41,564 DEBUG
> [org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction] -
> <Obtained token: NTLMSSP
> ***
> 2007-09-11 07:52:41,564 DEBUG
> [org.jasig.cas.CentralAuthenticationServiceImpl] - <Attempting to create
> TicketGrantingTic
> ket for Principal is null>
> 2007-09-11 07:52:41,580 DEBUG
> [org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction] - <Unable
> to obtain the ou
> tput token required.>
> 2007-09-11 07:52:41,580 DEBUG
> [org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction] - <Setting
> HTTP Status to
> 401>
> 2007-09-11 07:52:41,580 DEBUG
> [org.jasig.cas.support.spnego.web.flow.SpnegoCredentialsAction] - <Action
> 'SpnegoCredentia
> lsAction' completed execution; result is 'error'>
> 
> )
> 
> We have an Active Directory setup here : does that mean I can not use NTLM
> and am forced to use Kerboros or could this be some incompatibility with
> the NTLM hashcodes/versions etc?
> 
> Any help would be appreciated!
> 
> 

-- 
View this message in context: 
http://www.nabble.com/SPNEGO-config-for-NTLM-tf4416498.html#a12617371
Sent from the CAS Users mailing list archive at Nabble.com.

_______________________________________________
Yale CAS mailing list
[email protected]
http://tp.its.yale.edu/mailman/listinfo/cas

Reply via email to