reesejl
asked on
8007200A "specified directory service attribute or value does not exist" error using PutEx in VBS
Hello Experts...
I have written a VB script that is supposed to add data to a multivalued attribute (that we have added to our schema) and am getting an error when it tries to execute the "SetInfo" command.
I have reduced the script to its most basic components and am still getting the error. Here is what I am trying...
-----------
CONST APPEND = 3
set objUser = GetObject("LDAP://CN=User Name, OU=SubGroup1, OU=Group2, DC=sdomain, DC=domain, DC=com")
objUser.PutEx APPEND, "customattribute", Array("Data")
objUser.Setinfo
-----------
I get the error on the last line when it tries to Setinfo.
The attribute has the following properties:
Syntax: Case insensitive string
Minimum:1
Maximum:4
Multi-valued
Attribute is active (checkbox is checked)
There are no other checkboxes that are checked for this attribute.
The thing that seems strange is, we can set values for the custom attribute using LDIFDE with no problems.
Thanks in advance for your help!
I have written a VB script that is supposed to add data to a multivalued attribute (that we have added to our schema) and am getting an error when it tries to execute the "SetInfo" command.
I have reduced the script to its most basic components and am still getting the error. Here is what I am trying...
-----------
CONST APPEND = 3
set objUser = GetObject("LDAP://CN=User Name, OU=SubGroup1, OU=Group2, DC=sdomain, DC=domain, DC=com")
objUser.PutEx APPEND, "customattribute", Array("Data")
objUser.Setinfo
-----------
I get the error on the last line when it tries to Setinfo.
The attribute has the following properties:
Syntax: Case insensitive string
Minimum:1
Maximum:4
Multi-valued
Attribute is active (checkbox is checked)
There are no other checkboxes that are checked for this attribute.
The thing that seems strange is, we can set values for the custom attribute using LDIFDE with no problems.
Thanks in advance for your help!
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Great. Yeah, I read that the updated schema does not expose itself across domains, so your local schema copy, which is cached, does not know of the extended schema on the other domain. I hope you got it sorted...
Regards,
Rob.
Regards,
Rob.
ASKER
Thanks again....