[jcifs] Authenticating against 2 domains

FARROKHIAN Rémi rfarrokhian at gmf.fr
Tue Aug 1 13:35:48 GMT 2006


 
Hello,

What about an approbation relation between your 2 domains ?

Rémi
 

-----Message d'origine-----
De : jcifs-bounces+rfarrokhian=gmf.fr at lists.samba.org
[mailto:jcifs-bounces+rfarrokhian=gmf.fr at lists.samba.org] De la part de
Robert Thullner
Envoyé : mardi 1 août 2006 15:25
À : jcifs at lists.samba.org
Objet : [jcifs] Authenticating against 2 domains

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