PDA

View Full Version : Problem to move user in LDAP with the function DBMS_LDAP.rename_s


matdec
05-28-2004, 06:43 AM
Hello,

I want to move a user in Active Directory, but this function i can
only change his "cn". And when I use an invalid DN I have no error.
My syntax is:
retval := DBMS_LDAP.rename_s ( emp_session, my_dn,'cn=nom prenom',
'OU=test,DC=XXX,DC=org', 1, NULL, NULL );

The value of my_dn is :'CN=nom prenom,OU=COMMUNICATIONS,OU=DIRECTION
GENERALE,OU=test,DC=XXX,DC=org'
And 'OU=test,DC=XXX,DC=org' is the new DN, but the user don't move...

What is the problem????
How can I move a user in LDAP with DBMS_LDAP?????

Thanks you very much,
Matthieu.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service