Hi Perry,

afaik there is no built-in mechanism to achieve this, because you can't guess what objectclass has to be used when creating the objects (and you can't guess the others attributes values of the objects to be created).

You'll have to write it by yourself.

the "create node with this dn whether the path exists right now or not" function can't exist, since a DN is not enough for an object

Regards,

François

2006/11/13, Perry Minchew <[EMAIL PROTECTED]>:
Good morning,

I'm having an issue that I'm having difficulty finding the solution to. We
are using PKI certs to register users on our LDAP server, and my java code
to insert a new user where the directory structure already exists works
well. However, if the directory structure does not exist, I get a LDAP
error code 32.



Does anyone know of a way to "hard insert" or auto-generate the directory
structure from the given dn? My last choice, if all else fails, is to
check each leaf of the path one at a time to see if exists and insert each
node from there on out. Is there an easier way?

Ideally, I would like to just say "create node with this dn whether the
path exists right now or not."

Red Hat Enterprise Directory Server.

Thanks
Perry Minchew

---
You are currently subscribed to [email protected] as: [ [EMAIL PROTECTED]]
To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.

--- You are currently subscribed to [email protected] as: [EMAIL PROTECTED] To unsubscribe send email to [EMAIL PROTECTED] with the word UNSUBSCRIBE as the SUBJECT of the message.

Reply via email to