cancel
Showing results for 
Search instead for 
Did you mean: 

LDAP Delete

Former Member
0 Kudos

Hi,

I'm currently going through the Provisioning Tutorial. I have configured the system to create, modify and delete users in Sun One as well as in Active Directory. Unfortunately the LDAP Delete operation does not work. The system is correctly retrieving the deletion of the user, the user is deleted in the Identity Store and I can also see in the logs that the delete operations for AD and Sun are executed and have been finished successfully. Unfortunately the user does not get deleted from both resources.

In the LDAP delete operation, I have only configured the following 2 attributes:

dn: cn=$FUNCTION.GetMSKEYVALUE(%MSKEY%)$$,ou=DemoOrg,dc=company,dc=local

changetype: delete

And here is the function I'm using:

// Main function: GetMSKEYVALUE

function GetMSKEYVALUE(Par){

var IdStore = UserFunc.uGetIDStore();

var MsKeyValue = UserFunc.uIS_sGetValue(Par, IdStore, "MSKEYVALUE", 0);

if (MsKeyValue.equals(""))

{

MsKeyValue=UserFunc.uIS_sGetValue(Par, IdStore, "MSKEYVALUE", 1);

}

return MsKeyValue;

}

I would appreciate any hints ABOUT why the user is not deleted from LDAP. Thanks a lot in advance.

Best regards

Holger

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

Hello Holger,

looks good to me. Can you verify (using the LDAP log on the SUN Server) that the function really delivers a valid CN? This would be my hint, unless you have not done this already.

best regards

Erich