This content has been marked as final. Show 1 reply
xeneis wrote:You need to run the msuserpurge before purging the domain. Also if the user has a calendar account then the calendar server db account for that user also needs to be removed. This is explained in the following guide:
After having deleted an user from the Delegated Admin:
I purge the domain with:
/opt/sun/comms/da/bin/commadmin user delete -D admin -n admindomain.tld -w adminpass -d userdomain.tld -l userlogin
then I issue:
/opt/sun/comms/da/bin/commadmin domain purge -D admin -n admin -w adminpass -d userdomain.com -g 0
/opt/sun/comms/messaging64/lib/msuserpurge -d userdomain.com
as a matter of fact:A user marked as deleted cannot be "seen" by the commadmin utility. This doesn't mean that the users entry doesn't still exist in the LDAP server.
/opt/sun/comms/da/bin/commadmin user delete -D admin -n admindomain.tld -w adminpass -d userdomain.tld -l userlogin FAIL 5087:The user could not be found.: userdomain.tld
The problem is that when I retry to recreate the user, the old purged user is still there into the directory server, visible in the Corporate Directory of Convergence as well.The following document provides steps to deleting an entire domain:
A similar problem happens after having deleted a hosted domain on the same server from Delegated Admin, then impossibe to recreate so:
The server has been installed following the procedure "Sun Java Communications Suite 6 Update 2 on a Single Host"
/opt/sun/comms/da/bin/commadmin domain delete -D admin -d admindomain.tld -n toremovedomain.tld -w adminpass FAIL Either no matching entries found or too many matching entries for id: toremovedomain.tld ^971^NONE
I have checked exhaustively the docs and forums, unfortunately I'm stuck with this particular issue.