[jcifs] Re: Advantages of using jcifs library over mod_ntlm module

Asaf Mesika asaf.mesika at gmail.com
Thu Jun 26 07:49:10 GMT 2008


Can you be more specific?

1. What's scarab?
2. What is the exact problem? I couldn't figure it out from your mail.

On Wed, Jun 25, 2008 at 5:25 PM, Shekhar <shekharnegi at hotmail.com> wrote:

> Hello Joe,
>
> I have an issue having active directory integrated with scarab
> .21 on Windows server 2003 Enterprise edition.I want to integrate
>  the authentication process on scarab with the active directory i.e.
>  the user enters the same credentials as his network username/password
> to log into scarab. I have made the following changes:
>
> 1) I included filter in the web.xml as follows
>
>
> <filter>
>    <filter-name>NtlmHttpFilter</filter-name>
>    <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
>    <init-param>
>        <param-name>jcifs.resolveOrder</param-name>
>        <param-value>*,*</param-value>
>    </init-param>
>    <init-param>
>        <param-name>jcifs.http.domainController</param-name>
>        <param-value>domainip</param-value>
>    </init-param>
>    <init-param>
>        <param-name>jcifs.smb.client.domain</param-name>
>        <param-value>domainvalue</param-value>
>    </init-param>
>    <init-param>
>        <param-name>jcifs.smb.client.username</param-name>
>        <param-value>someusername</param-value>
>    </init-param>
>    <init-param>
>        <param-name>jcifs.smb.client.password</param-name>
>        <param-value>password</param-value>
>    </init-param>
> </filter>
> <filter-mapping>
>    <filter-name>NtlmHttpFilter</filter-name>
>    <url-pattern>/*</url-pattern>
> </filter-mapping>
> 2)Under Xdocs, I changed few values. The changes were as follows:
>  a)I changed the 'scarab.login.ntlm.active' default value to "true"
>  b)I changed the 'scarab.login.ntlm.domain' default value to
>  "domainname"
> 3) I stopped the Tomcat, restarted it.
>
>
>
> Thanks..
>
>
>
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list