| Contents > Developing ColdFusion MX Applications > Managing LDAP Directories > Updating an LDAP directory > Changing a directory entry's DN |
|
|
|
|
||
To change the DN of an entry, you must provide the following information in the cfldap tag:
dn="original DN" action="modifyDN" attributes="dn=new DN"
For example:
<cfldap action="modifyDN" dn="#old_UID#, ou=People, o=Airius.com" attributes="uid=#newUID#" server=#myServer# username=#myUserName# password=#myPassword#>
The new DN and the entry attributes must conform to the directory schema; therefore, you cannot move entries arbitrarily in a directory tree. You can only modify a leaf only. For example, you cannot modify the group name if the group has children.
Note: LDAP v2 does not let you change entry DNs.
|
|
||
| Contents > Developing ColdFusion MX Applications > Managing LDAP Directories > Updating an LDAP directory > Changing a directory entry's DN |
|
|
ColdFusion 9 | ColdFusion 8 | ColdFusion MX 7 | ColdFusion MX 6.1 | ColdFusion MX | Forums | Developer Center | Bug Reporting
Version 6.1
Comments are no longer accepted for ColdFusion MX 6.1. ColdFusion 8 is the current version.
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/coldfusion/6.1/htmldocs/ldap21.htm