ldap值的修改

时间:2019-05-03 09:59:55

标签: java ldap

使用Java修改ldap服务器我无法修改表中的值 列出schemadetails = new ArrayList();

     LDAPConnection userConn = new LDAPConnection();
     System.out.println(userConn.getProtocolVersion());
     userConn.connect(host, port);
     userConn.bind(3,userdn,password.getBytes("UTF8"));

                      =new LDAPModification(arg0, arg1)
     userConn.modify("cn=Root,ou=Users,dc=railtelindia,dc=com", userConn);
     System.out.println(userConn.getAuthenticationDN());
    /*
     * LDAPSchema schema = userConn.fetchSchema(userConn.getSchemaDN());

0 个答案:

没有答案