[jcifs] NTML and dynamic domain controller
Christensen, Scott M
SCHRIST1 at amfam.com
Mon Aug 27 12:30:50 GMT 2007
Extend the NTLM filter to read the property from the System properties
and store it in the jcifs.http.domainController jCIFS property (I think
the jcifs.Config object will let you do this). The NTLM filter is
really just an example of how to use jCIFS, not a hard and steadfast
From: jcifs-bounces+schrist1=amfam.com at lists.samba.org
[mailto:jcifs-bounces+schrist1=amfam.com at lists.samba.org] On Behalf Of
eliboni at gmail.com
Sent: Sunday, August 26, 2007 12:50 PM
To: jcifs at lists.samba.org
Subject: [jcifs] NTML and dynamic domain controller
I've been looking through the mailing list and tried this for
days... pls. help!
I'd need NTML authentication in a web application,
but I do not want to specify any static IP address or domain name in
the web.xml: I would like to store jcifs.http.domainController value in
a props file, set the value via System.setProperties() when the web
application fires up (i.e. setting it from a servlet that is invoked at
But it does not work, the filter is complaining about:
jcifs.smb.SmbException: A domain was not specified
if the jcifs.http.
domainController params is not in the web.xml.
While if I specify it in
the web.xml I can't override the value...
I'm using jcifs 1.2.17
Thanks in advance,
More information about the jcifs