[jcifs] Authenticating against 2 domains

Robert Thullner rthullner at gmx.at
Tue Aug 1 13:24:45 GMT 2006


Hello

I have a webapplication that includes a NTLM filter for authenticating on a domain. The filter looks like this and works fine.

<filter>
  <filter-name>NtlmHttpFilter</filter-name>
  <filter-class>jcifs.http.NtlmHttpFilter</filter-class>
  <init-param>
    <param-name>jcifs.netbios.wins</param-name>
    <param-value>158.226.134.1</param-value>
  </init-param>
  <init-param>
    <param-name>jcifs.smb.client.domain</param-name>
    <param-value>domain1</param-value>
  </init-param>
  <init-param>
    <param-name>jcifs.smb.client.username</param-name>
    <param-value>[user]</param-value>
  </init-param>
  <init-param>
    <param-name>jcifs.smb.client.password</param-name>
    <param-value>[pass]</param-value>
  </init-param>
  <init-param>
    <param-name>jcifs.encoding</param-name>
    <param-value>UTF8</param-value>
  </init-param>
</filter>


Now I get new users who do not log in on domain1, but on domain2. Is it possible to specify two domains where jcifs should check if the user is logged in? I have added the jcifs.smb.client.username-property in both domains with the same password.

Any help would be appreciated.
-Robert

-- 


"Feel free" – 10 GB Mailbox, 100 FreeSMS/Monat ...
Jetzt GMX TopMail testen: http://www.gmx.net/de/go/topmail


More information about the jcifs mailing list