LDAP
NC小菜鸡
这个作者很懒,什么都没留下…
展开
-
Java同步LDAP
1.连接LDAP: HashEnv.put(Context.INITIAL_CONTEXT_FACTORY, "com.sun.jndi.ldap.LdapCtxFactory"); HashEnv.put(Context.SECURITY_AUTHENTICATION, "simple");// "none","simple","strong"...原创 2019-08-14 11:34:57 · 634 阅读 · 1 评论 -
Java同步AD域之遇到的坑
1.组织同步: hrorg.setParentchild("OU="+hrorg.getJtzxOorgname() + "," + notcom); attrs.put("distinguishedName", "OU="+hrorg.getJtzxOorgname() + "," + notcom+","+root); // 层级 ...原创 2019-09-29 17:06:43 · 942 阅读 · 0 评论