Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我需要为几千个条目更新 LDAP 属性的名称,例如。 cn=myentry,ou=people,o=mycompany具有类似的属性surname,应将其重命名为lastname并保留该值。
cn=myentry,ou=people,o=mycompany
surname
lastname
任何线索如何使用 ldiff-commands 实现这一目标?为了清楚起见,我不想重命名 rdn,而是重命名属性名称。