简体   繁体   English

将所有条目从一个OU移动到Oracle Unified Directory服务器中的另一个OU

[英]Move all entries from one OU to another OU in Oracle Unified Directory server

I am using Oracle Unified Directory ldap server and i want to rename OU which is having more user entries in it.I just executed below script in my staging ldap server to change the name of OU and it got worked and all user entries moved to new OU. 我正在使用Oracle Unified Directory ldap服务器,我想重命名其中包含更多用户条目的OU。我只是在暂存ldap服务器中的脚本下方执行以更改OU的名称,并且该OU正常工作并且所有用户条目都移至了新的OU。

dn: ou=OLD,dc=example,dc=com
changetype: modrdn
newrdn: ou=NEW
deleteoldrdn: 1

but below oracle documentation tells, we cannot rename if RDN has any childeren. 但是在oracle文档中,我们无法重命名RDN是否具有任何子级。 https://docs.oracle.com/cd/E22289_01/html/821-1273/adding-modifying-and-deleting-directory-data.html https://docs.oracle.com/cd/E22289_01/html/821-1273/adding-modifying-and-deleting-directory-data.html

please suggest is it safe to rename ou using modrdn. 请建议使用modrdn重命名ou是否安全。

Well, according to Oracle on OUD, no. 好吧,根据OUD上的Oracle的说法,不。

MANY LDAP server implementations have the same limitation. 许多LDAP服务器实现都有相同的限制。

The LDAP server implementation controls this activity. LDAP服务器实现控制此活动。 Some LDAP server implementations of course do support performing a modRDN on a container. 当然,某些LDAP服务器实现确实支持在容器上执行modRDN。

AFIK, Microsoft Active Directory does. AFIK,Microsoft Active Directory可以。

eDirectory I know does as long as the container is a partition. 我知道eDirectory可以,只要容器是一个分区即可。

You can of course, perhaps, not ideal, create a new container with the new name and then modRDN the user within the "old" container into the new container. 当然,您可能(并非很理想)可以使用新名称创建一个新容器,然后将“旧”容器中的用户修改为新容器。

I guess you just looked at the wrong documentation (OUD 11.1.1 was released in 2012). 我猜您只是看错了文档(OUD 11.1.1于2012年发布)。

Starting from 11.1.2.x (released in 2014), OUD documentation no more lists that limitation . 从11.1.2.x(2014年发布)开始,OUD 文档不再列出该限制

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 在 oracle 中将数据从一个表移动到另一个表 - Move data from one table to another in the oracle 通过更改所有权oracle将表从一种模式移动到另一种模式? - Move table from one schema to another by changing ownership oracle? 如何在Oracle中将表数据从一种环境移动到另一种环境 - How to move table data from one environment to another environment in Oracle 如何将表从一个模式移动到 Oracle 中的另一个模式? - How to move tables from one schema to another schema in Oracle? 如何将 Oracle SQL 中的存储过程从一个架构移动到另一个架构? - How to Move a Stored Procedure in Oracle SQL from one Schema to Another? Oracle Unified Directory使用哈希密码导入用户 - Oracle Unified Directory import users with hashed passwords Oracle SQL:将选择从一个表插入到另一个表中,其中用户具有带有订单号的多个条目 - Oracle SQL: Insert select from one table to another where user has multiple entries with order number 如何将 Oracle 中一张表的所有数据传输到另一张表? - How to transfer all data from one table to another table in Oracle? Oracle插入另一表中的所有数据,其中一列为空 - Oracle Insert all data from another table with one column as null Oracle将模式从一台服务器转移到另一台服务器 - Oracle moving / transferring schemas from one server to another
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM