Replicate table info into OID demo
249155Aug 19 2001 — edited Sep 8 2004Hi, Guys
I'm trying to establish a sample environment as described in Oracle Internet Directory Developer's Guide: Using the PL/SQL API from a Database Trigger.
I've created the sample table EMP and trigger LDAP_EMP on that table successfully. However when I insert a row into that table, I got error message as follow:
Trigger [LDAP_EMP]: Replicating changes to directory ..
LDAP Host : Hostname
LDAP Port : port
Ldap session : 02000000(returned from init)
simple_bind_s Returns : 0
Adding Entry for DN : [cn=Kurt Liu, o=acme ,dc=com]
Error code : -31202
Error Message : ORA-31202: DBMS_LDAP: LDAP client/server error: No such object.
Parent entry not found in the directory.
Exception encountered .. exiting
I realize dn o=acme, dc=com does not exist in my OID server, so I change it to dc=cn,dc=oracle,dc=com instead, However, another error came out.
Error code : -31202
Error Message : ORA-31202: DBMS_LDAP: LDAP client/server error: DSA is unwilling
to perform. Password Policy Error :9003: GSL_PWDMINLENGTH_EXCP :Your Password
must be atleast 5 characters long.
Exception encountered .. exiting
My password is more than 5 characters, I don't know what's the matter there.
If need, I can paste the trigger code here. Anyone can help me out with this problem.