Answered
CFLDAP and manager attribute
I have a CFLDAP query that I use successfully to update
several user's Active Directory attributes. However, when I try to
update the "manager" attribute by inserting the managers DN, I get
the following error:
An error has occured while trying to execute modify :[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152392, #7: 0: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 1: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 2: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 3: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 4: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 5: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 6: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) ].
The manager's DN has 6 commas in it, so I believe the problem is that I am trying to update the attribute with a multiple value entry. Here is the query I am trying to execute (note the lowercase cn as recommended):
<cfldap action="MODIFY"
attributes="manager=cn=Jxx Lxxx, OU=CFO, OU=People, OU=Dallas-Tx, DC=cxx, DC=xxxxxxxx, DC=net"
modifytype="REPLACE"
dn="cn=Exx Yxxx, OU=IT Infrastructure, OU=SVC - IT OPS, OU=IT Operations, OU=People, OU=Dallas-Tx, DC=cxx, DC=xxxxxxxx, DC=net"
server="xxx.cxx.xxxxxxxx.net"
username="xxxxx"
password="xxxx">
I have tried searching through forums, google, etc. and although several people have the same problem, I can not see where this has been answered.
If anyone has any ideas or has an answer PLEASE share! I have a couple hundred user profiles to update with manager information!
Thank all in advance,
Eric
An error has occured while trying to execute modify :[LDAP: error code 19 - 000020B5: AtrErr: DSID-03152392, #7: 0: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 1: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 2: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 3: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 4: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 5: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) 6: 000020B5: DSID-03152392, problem 1005 (CONSTRAINT_ATT_TYPE), data 0, Att 15000a (manager) ].
The manager's DN has 6 commas in it, so I believe the problem is that I am trying to update the attribute with a multiple value entry. Here is the query I am trying to execute (note the lowercase cn as recommended):
<cfldap action="MODIFY"
attributes="manager=cn=Jxx Lxxx, OU=CFO, OU=People, OU=Dallas-Tx, DC=cxx, DC=xxxxxxxx, DC=net"
modifytype="REPLACE"
dn="cn=Exx Yxxx, OU=IT Infrastructure, OU=SVC - IT OPS, OU=IT Operations, OU=People, OU=Dallas-Tx, DC=cxx, DC=xxxxxxxx, DC=net"
server="xxx.cxx.xxxxxxxx.net"
username="xxxxx"
password="xxxx">
I have tried searching through forums, google, etc. and although several people have the same problem, I can not see where this has been answered.
If anyone has any ideas or has an answer PLEASE share! I have a couple hundred user profiles to update with manager information!
Thank all in advance,
Eric
