When trying to update all users mailNickname with their proxyaddresses
in an OU I am getting the following CF error

-------
An error has occured while trying to execute modify :[LDAP: error code
16 - 00000057: LdapErr: DSID-0C0909CC, comment: Error in attribute
conversion operation, data 0, vece].  
One or more of the required attributes may be missing/incorrect or you
do not have permissions to execute this operation on the server  
--------------------

Any ideas on what it could be ?


-----------CF CODE---------------

<!--- query LDAP --->

<cfldap action="query"
name="adresult"
attributes = "cn,dn, mailNickname, proxyAddresses"
START="ou=Test,DC=domain,dc=gov,dc=uk"
filter="(&(objectClass=User)(mail=*))"
server="server"
port="389"
username="username"
password="password"
>

<cfset session.fixeddn="#adresult.dn#">

<!--- UPDATE USERS MAILNICKNAME --->

<cfloop query="adresult">

<cfldap
action="modify"
modifyType="replace"
attributes="mailNickname=#adresult.proxyAddresses#"
dn="#session.fixeddn#"
server="server"
port="389"
username="username"
password="password">

</cfloop>

DONE!


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:236991
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to