Hi,
I am trying to add a user to Active Directory with ColdFusion's CFLDAP function. However I am encountering problems with the 'uid' variable. Here is my code:
[cfldap action="add"
dn="uid=myUserID, ou=myDept, o=myOrg, c=US"
attributes="objectclass=top,person,organizationalperson;cn=MyFull Name;sn=Name;mail=me@mymail.com"
username="administrator"
password="secretpassword"
server="ldapservername.domain.com"]
However when I execute this, I receive the following error:
'Operations error'
I can query and modify entries with no problem. The UID variable is causing problems. I am unsure exactly what it refers to and cannot display any value for it in the query output. If I add it to the list of attributes, I am told I have an invalid attribute. How do I add some value for this variable to an Active Directory entry? There appears to be no 'uid' visible anywhere in the schema management console.
Thanks,
Jonathan Daniels
I am trying to add a user to Active Directory with ColdFusion's CFLDAP function. However I am encountering problems with the 'uid' variable. Here is my code:
[cfldap action="add"
dn="uid=myUserID, ou=myDept, o=myOrg, c=US"
attributes="objectclass=top,person,organizationalperson;cn=MyFull Name;sn=Name;mail=me@mymail.com"
username="administrator"
password="secretpassword"
server="ldapservername.domain.com"]
However when I execute this, I receive the following error:
'Operations error'
I can query and modify entries with no problem. The UID variable is causing problems. I am unsure exactly what it refers to and cannot display any value for it in the query output. If I add it to the list of attributes, I am told I have an invalid attribute. How do I add some value for this variable to an Active Directory entry? There appears to be no 'uid' visible anywhere in the schema management console.
Thanks,
Jonathan Daniels