오라클8.1.7NT용에 있는 LDAP인 OID에서는
도스창에서는 아래와 같이 명령을 실행하면 엔트리가 삭제가 되는데.......,
ldapdelete -p 389 -h localhost -D "cn=boknet, ou=se68c, o=bestcert" -w boknet "mail=zooc@netian.com, dc=cert, o=bestcert"
이곳에 있는 소스를 수정하여 사용하니까?
아래와 같은 메세지가 나오면서 자꾸 에러가 나네요?
원인을 알고 싶은데, 무엇이 문제인지?
javax.naming.ServiceUnavailableException: localhost:389; remaining
ame 'mail=zooc@netian.com, dc=cert, o=bestcert'
at com.sun.jndi.ldap.Connection.readReply(Connection.java:221)
at com.sun.jndi.ldap.Connection.readReply(Connection.java:243)
at com.sun.jndi.ldap.LdapClient.processReply(LdapClient.java:786)
at com.sun.jndi.ldap.LdapClient.delete(LdapClient.java:968)
at com.sun.jndi.ldap.LdapCtx.c_destroySubcontext(LdapCtx.java:701)
at com.sun.jndi.toolkit.ctx.ComponentContext.p_destroySubcontext(ComponentContext.java:652)
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.destroySubcontext(PartialCompositeContext.java:325)
at com.sun.jndi.toolkit.ctx.PartialCompositeContext.destroySubcontext(PartialCompositeContext.java:315)
at javax.naming.InitialContext.destroySubcontext(InitialContext.java:408)
at JNDIDel.main(JNDIDel.java:37)
Press any key to continue...
다른 소스는 수정하여 사용하니까?
모두 잘되거든요? 그리고 도스창에서 직접 명령하는 것도 되거든요?
고수님들 알면 가르쳐주세요?
|