[jcifs] Authenticating against 2 domains
Robert Thullner
rthullner at gmx.at
Tue Aug 1 17:13:31 GMT 2006
How does this relation have to look like, I am not very familar with
networking. The situation is following:
domain1 is a company-wide domain. usually all users log into domain1.
domain2 is a department-specific domain, where only department users log
into, because they do not want to log on on domain1.
Does domain1 have to trust domain2, or domain2 trust domain1, or is the
relation bi-directional? If, they trust each other, do I only have to
specify domain1 in the filter definition and it should also work with
domain2?
Thanks for help
Robert
FARROKHIAN Rémi schrieb:
>
> 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
>
>
More information about the jcifs
mailing list