[jcifs] jCIFS Requiring DOMAIN to Login

mike.clarke mike.clarke at mystyleit.com
Thu Dec 18 21:26:51 GMT 2008


Hi,

So I have a web app running on Tomcat 5.5 with JRE 1.5 Update 15. This app
is Internet facing and I want to secure it and I want my users to use their
AD domain usernames and passwords.  (I know I could use a JNDI Realm with
LDAP but I want to use jCIFS)

Everything is working, including SSO from inside the domain.  I just one
stupid problem left.

When the user hits the app they get the login screen but they must
authenticate as DOMAIN\username before it will work.

Is there a way to get around this?

Thanks,
Mike

<filter>
		<filter-name>NtlmHttpFilter</filter-name>
		<filter-class>jcifs.http.NtlmHttpFilter</filter-class>
		
		
		
		
		<init-param>
			<param-name>jcifs.http.domainController</param-name>
			<param-value>192.168.0.26</param-value>
		</init-param>
		
		
		<init-param>
			<param-name>jcifs.smb.client.domain</param-name>
			<param-value>CITY</param-value>
		</init-param>
		
		<!--
		permissions on \\192.168.0.26\JcifsAcl share gate web access
		-->
				
		<init-param>
			<param-name>jcifs.smb.client.logonShare</param-name>
			<param-value>JcifsAcl$</param-value>
		</init-param>		

		
				
	</filter>

	<filter-mapping>
		<filter-name>NtlmHttpFilter</filter-name>
		<url-pattern>/*</url-pattern>
	</filter-mapping>
		

    

-- 
View this message in context: http://www.nabble.com/jCIFS-Requiring-DOMAIN-to-Login-tp21081241p21081241.html
Sent from the Samba - jcifs mailing list archive at Nabble.com.



More information about the jcifs mailing list