I am having difficulty programmatically doing an LDAP add operation to a secondary directory I’ve set up via Directory Services.
My setup is the following (names changed to protect the innocent):
My primary domain is Dev, and I’ve created a secondary address book referenced by directory assistance for a non-Notes domain called Web. LDAP queries work just fine against this directory, so I know it’s being referenced.
The error I’m receiving when attempting to add a user with a DN of “cn=First Last, O=Web” is LDAP 32: No such object. If I do the exact same thing to my primary directory (specifying Dev as the O), I get an authentication error, since the primary directory is not LDAP-write enabled. I am assuming that I need to create an O=Web container before I can add users to it, but am at a loss as to how, apart from possibly creating a Notes domain, which I don’t want to do. (Or do I?)
Thanx in advance for any help…