Novell is now a part of Micro Focus

We use the Novell ActiveX Controls to programmatically...

Articles and Tips: qna

01 Feb 2003


Q.

We use the Novell ActiveX Controls to programmatically add email addresses to a mailing list on NIMs version 3.0.3c and eDirectory 8.6.2 Support Pack 2A. The problem is with the following statement:

mail.SetFieldValue "NIMS:ListUserOptions", "-11"

When you execute it the code, the following error appears:

Error Type:
NWIDirE.NWEntry.1 (0x80040011)
Undefined attribute type

A.

For LDAP, you need to map the NDS name to a proper LDAP name. To do this, bring up the LDAPGroup object in the ConsoleOne utility, and select Attribute Mappings tab. Add NDS attribute NIMS: List User Options and map to NIMSListUserOptions.

A discussion of NDS names versus LDAP names is at Schema Naming Rules at the following location: http://developer.novell.com/ndk/doc/ldapover/ldap_enu/data/a3xfo7x.html#a3xfre2

* Originally published in Novell AppNotes


Disclaimer

The origin of this information may be internal or external to Novell. While Novell makes all reasonable efforts to verify this information, Novell does not make explicit or implied claims to its validity.

© Copyright Micro Focus or one of its affiliates