Justin Dearing wrote:
> On Tue, Oct 7, 2008 at 10:47 AM, Douglas E. Engert <[EMAIL PROTECTED] 
> <mailto:[EMAIL PROTECTED]>> wrote:
> 
> 
>     Are you saying that you want to contact the specific DC in the domain,
>     or any DC in the domain?
> 
> 
> I currently read the LOGONSERVER environmental variable to get the 
> authenticated against server. If I could get a more complete list can 
> you suggest a method? My general goal is that if you run JXPlorer on a 
> windows machine as an AD authenticated account, it will be able to 
> autoconfigure as much as possible to view that domain, and possible 
> other domains in the forrest.
>  
> 
> 
>     If the user has logged into the domain, you can use the Kerberos tickets
>     with GSSAPI for authentication and don't need a password.
> 
> 
> Can I get the Windows (AD) kerberos tickets from java? How would I go 
> about doing that? I'm not very knowledgeable about kerberos.

If you setup the connection with:
  Host: FQDN of a domain controller
   port: 389
  Base DN: dc=xxx,dc=yyy,dc=zzz  i.e. the top of the domain
  Security Level: GSSAPI

in you jxplorer directory you should see a gssapi.conf file
that looks like:

  com.ca.commons.jndi.JNDIOps {
    com.sun.security.auth.module.Krb5LoginModule required client=TRUE
          doNotPrompt=TRUE
          useTicketCache=TRUE;
  };

This tells Java to use the ticket cache if the current user.


> 
> 
> ------------------------------------------------------------------------
> 
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> Jxplorer-devel mailing list
> Jxplorer-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jxplorer-devel

-- 

  Douglas E. Engert  <[EMAIL PROTECTED]>
  Argonne National Laboratory
  9700 South Cass Avenue
  Argonne, Illinois  60439
  (630) 252-5444

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Jxplorer-devel mailing list
Jxplorer-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jxplorer-devel

Reply via email to