[jcifs] Re: Can we configure a backup domain controller in jCIFS
Michael B Allen
mba2000 at ioplex.com
Tue Apr 3 23:50:38 GMT 2007
On Tue, 3 Apr 2007 14:55:23 -0700
Marius Scurtescu <marius at sxip.com> wrote:
> On 3-Apr-07, at 11:51 AM, Michael B Allen wrote:
> > On Tue, 3 Apr 2007 10:46:06 -0700
> > Marius Scurtescu <marius at sxip.com> wrote:
> >> On 30-Mar-07, at 5:00 AM, jcifs-request at lists.samba.org wrote:
> >>> From: kannan_Jayaprakash <kannan_jayaprakash at infosys.com>
> >>> Subject: [jcifs] Can we configure a backup domain controller in
> >>> jCIFS
> >>> Hi all,
> >>> We are using jCIFS for SSO in our web application. I'm in look out
> >>> for some
> >>> information regarding jCIFS.
> >>> firstly,
> >>> while configuring my web.xml with the ip for domain controller, i
> >>> would like
> >>> to know if we could have a back up IP where the system could look
> >>> up if my
> >>> primary server(for authentication) is down.
> >> We needed the exact same functionality and we ended up writing our
> >> own internal patch for this purpose.
> >> Instead of entering only one host for the domain controller you can
> >> enter a comma separated list of hosts. The filter will try to connect
> >> to them one by one and use the first that is accessible. You can also
> >> set a timeout and a port, both used for probing.
> >> We would be more than happy to contribute this small patch, is there
> >> a formal way to do it?
> > Just do diff -Nuar new old and send the file to the list. I'll put it
> > in the patches directory.
> Here is the patch, but I did it like "diff -Nuar old new" (let me
> know if you really wanted "new old"). The patch is against version
Yup, that's right.
It's in the patches directory now.
Michael B Allen
PHP Active Directory Kerberos SSO
More information about the jcifs