06-22-2016 10:01 AM - edited 03-17-2019 07:20 AM
Hello All, I sync'd up to the wrong Active Directory Server. I removed the old AD server in CUCM 11 and pointed it to the correct AD server and sync'd up. Now I have a dozen or so "Inactive LDAP Synchronized Users" and It's been about two days. I would have thought the Garbage Collection process would have removed the dozen or so inactive users.
What are my other options? Should I remove all instance of LDAP enabled end users and give the garbage collection process its process or should I re-add the old server let it sync up then convert the users I know that don't exists on then new AD server to local accounts and delete?
Thanks,
Dan
06-22-2016 11:50 AM
You can convert those inactive LDAP synchronized users to local CUCM end users by running the following command from CLI:
run sql update enduser set fkdirectorypluginconfig=NULL where userid IN ('userid1', 'userid2', ‘userid3’, 'userid4', 'userid5')
Once they are converted to local CUCM end users then you can delete them right away.
06-22-2016 04:25 PM
Tried the above but when I run the command I get the following error:
Column (actual user ID) not found in any table in the query (or SLV is undefined)
I ran the below command on both active and non active users:
run sql update enduser set fkdirectorypluginconfig=NULL where userid=’<userid>‘ —– Replace <userid> with the actual User ID on CUCM
Does this require "root" access?
06-22-2016 06:26 PM
07-19-2016 01:47 PM
I'm not sure why I couldn't run the command.
I ended up adding back in the previous LDAP server then converting the users to local and deleting. I only had about 30 users so it did not take that long.
Thanks,
Dan
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide