//            dn = "cn=1,cn=Users,DC=域名,DC=COM";
//            Attributes answer = ctx.getAttributes(dn);
//            for (NamingEnumeration ae = answer.getAll(); ae.hasMore();) {
//                Attribute attr = (Attribute) ae.next();
//                System.out.println("attribute: " + attr.getID());
//                /* Print each value */
//                for (NamingEnumeration e = attr.getAll(); e.hasMore(); System.out
//                        .println("value: " + e.next()))
//                    ;
//            }

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-12-27
  • 2021-12-20
  • 2021-11-22
  • 2021-08-21
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-11-05
  • 2022-03-08
  • 2022-12-23
  • 2022-12-23
  • 2022-03-05
  • 2022-12-23
相关资源
相似解决方案