I need to connect to an active directory defined using strong binds (and without SSL).
I get the following exception:
Exception while checking configuration
javax.naming.Authenticatio
nNotSuppor
tedExcepti
on: [LDAP: error code 8 - 00002028: LdapErr: DSID-0C09018A, comment: The server requires binds to turn on integrity checking if SSL\TLS are not already active on the connection, data 0, vece
at com.sun.jndi.ldap.LdapCtx.
mapErrorCo
de(LdapCtx
.java:2976
)
at com.sun.jndi.ldap.LdapCtx.
processRet
urnCode(Ld
apCtx.java
:2931)
at com.sun.jndi.ldap.LdapCtx.
processRet
urnCode(Ld
apCtx.java
:2732)
at com.sun.jndi.ldap.LdapCtx.
connect(Ld
apCtx.java
:2646)
at com.sun.jndi.ldap.LdapCtx.
<init>(Lda
pCtx.java:
283)
at com.sun.jndi.ldap.LdapCtxF
actory.get
UsingURL(L
dapCtxFact
ory.java:1
75)
at com.sun.jndi.ldap.LdapCtxF
actory.get
UsingURLs(
LdapCtxFac
tory.java:
193)
at com.sun.jndi.ldap.LdapCtxF
actory.get
LdapCtxIns
tance(Ldap
CtxFactory
.java:136)
at com.sun.jndi.ldap.LdapCtxF
actory.get
InitialCon
text(LdapC
txFactory.
java:66)
at javax.naming.spi.NamingMan
ager.getIn
itialConte
xt(NamingM
anager.jav
a:667)
at javax.naming.InitialContex
t.getDefau
ltInitCtx(
InitialCon
text.java:
247)
at javax.naming.InitialContex
t.init(Ini
tialContex
t.java:223
)
at javax.naming.ldap.InitialL
dapContext
.<init>(In
itialLdapC
ontext.jav
a:134)
What else is needed to perform such operation?
Thanks.
Start Free Trial