CUC Forums

« Back to CUPI Questions

deleting an imported user

Combination View Flat View Tree View
Threads [ Previous | Next ]
toggle
Hi,
I believe I come across a bug. 
 
When I import a user, let's say testuser, from LDAP. Then do the deletion for the test user as

<pre style="padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em;">DELETE http://<connection-server>/vmrest/users/{objectid}</pre>

 
The user is deleted however when I want to import the same user again from LDAP, the user is not listed in the import user list (even after an LDAP sync). I believe there is an internal mechanism blocking imported users to be listed in the import user list. And after a wadl deletion, the user us still kept in that blocked list to be shown.
 
If I do the same deletion from the admin interface, I experience no problem. And the deleted user is listed back again in the import user list.
 
The CUC version that I am using is 8.6.1.20000-109.
 
Can anybody propose a work around or am i doing something wrong?

Looks like an old bug,
There is a cli command, not sure the exact syntax though, something like
utils cuc clean..
I could look it up tomorrow if you can't find the command

Sent from my iPhone4

On 07/06/2012, at 21:39, Cisco Developer Community Forums <cdicuser@developer.cisco.com> wrote:

> Bilge Cetin has created a new message in the forum "CUPI Questions":
>
> --------------------------------------------------------------
> Hi,
> I believe I come across a bug.
>
> When I import a user, let's say testuser, from LDAP. Then do the deletion for the test user as
>
> <pre style="padding: 1em; border: 1px dashed #2f6fab; background-color: #f9f9f9; line-height: 1.1em;">DELETE http://<connection-server>/vmrest/users/{objectid}</pre>
>
>
> The user is deleted however when I want to import the same user again from LDAP, the user is not listed in the import user list (even after an LDAP sync). I believe there is an internal mechanism blocking imported users to be listed in the import user list. And after a wadl deletion, the user us still kept in that blocked list to be shown.
>
> If I do the same deletion from the admin interface, I experience no problem. And the deleted user is listed back again in the import user list.
>
> The CUC version that I am using is 8.6.1.20000-109.
>
> Can anybody propose a work around or am i doing something wrong?
> --
> To respond to this post, please click the following link:
>
> <http://developer.cisco.com/web/cuc/forums/-/message_boards/view_message/5834837>
>
> or simply reply to this email.

Ok, I found it:
utils cuc users bulk_clean_orphans mapentries

Also here is the relevant link in the cisco forums: https://supportforums.cisco.com/message/3590990#3590990

Thanks a lot for the lead.