Advantages of using jcifs library over mod_ntlm module

View: New views
4 Messages — Rating Filter:   Alert me  

Advantages of using jcifs library over mod_ntlm module

by Joe-212 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Advantages of using jcifs library over mod_ntlm module

Hi

I am using jcifs for implementing Single Sign On for an intranet application

This works fine, however I need to document a couple of reasons as to why I am using the jcifs librayr over the apache module. I have seen some previous postings relating to jcifs scaling better than the apache module. Just wondering if anybody could provide a few more benefits as to using jcifs over the apache mod_ntml module

Thanks
Joe



Re: Advantages of using jcifs library over mod_ntlm module

by Shekharn :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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..



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

by AsafM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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..




Parent Message unknown Re: Re: Advantages of using jcifs library over mod_ntlm module

by AsafM :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ok, so basically Scarab is a web application you've installed upon Tomcat.

I would recommend that you install a dummy web application (composed of nothing but an index.html file saying "Hello World"), and set the NtlmFilter to work with that.

This will show us if the problem is with the NtlmFilter or Scarab.

Asaf


On Thu, Jun 26, 2008 at 11:51 PM, shekhar negi <shekharnegi@...> wrote:
Hi,
 
Thanks for your email.
 
Scarab is an issue tracking tool. We have installed scarab and we want that the user should log into scarab using the same network username and password. I tried doing it but it didnt work. So after reading through the some online material I realised that I have to make few changes in the web.xml and scarab_properties-orig.xml file as mentioned in the posting and I made those changes. But still I cannot log into scarab using the username/password that I use to get into the network.
 
http://scarab.tigris.org/

 
Please let me know if this email made sense to you.
 
Thanks,
Shekhar

Date: Thu, 26 Jun 2008 10:49:10 +0300
From: asaf.mesika@...
To: shekharnegi@...
Subject: Re: [jcifs] Re: Advantages of using jcifs library over mod_ntlm module
CC: jcifs@...


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@...> 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..





Live.in : Get your yourname@... email id today. Powered by Windows Live Hotmail. Check it out!

LightInTheBox - Buy quality products at wholesale price