CUPC Cannot Control Desk Phone – Another Reason Why

Author
Paul Smith
Senior Engineer I

paul_smithWhen the CUPC application is being rolled out, one of the things that seems to make administrators go nuts is the fact that the authentication that looks like it’s taking place when a user logs in is only partial authentication. Eventually administrators discover the spot to go within CUPC to add more usernames and passwords to make the client interact with voicemail applications and web meeting applications. But the control of the desk phone is the oddest thing. There are no extra credentials that can be entered to make it work, it’s often the case that when an administrator goes to Help > Show Server Health, he or she sees an error stating that CUPC failed to connect to the desk phone because of invalid credentials.

 

This tends to happen when CUCM is using Active Directory LDAP for authentication. A well-documented fix for the problem is to make sure that the LDAP servers being referenced are Global Catalog servers, and that the port number used is 3268 (or 3269 for secure Global Catalog connections).

 

But pointing to a non-Global Catalog server might be only one cause of the problem. We ran into another one a little while ago. The only reference to it was in Bug Case CSCtk62723, which states that it was first noticed in CUCM version 8.0(2.10000.24), but we’re here to tell you that it showed up in a client’s 6.1(3.3190-1) system too. Notice this is the CUCM version, not the version of CUPS. The problem is in the End-User Credential Policy; one of its parameters causes the policy to be a bit wonky when it communicates with CUPC in an LDAP integrated environment.

“Wonky,” by the way, is a technical term that I learned at a very prestigious University.

The “Inactive Days Allowed” parameter is the issue. Because users are authenticating to LDAP and not a database within CUCM, the policy has no way of knowing how much time has passed between End-User logins. When the number of days set in the parameter expires, certain types of authentication can be shut down. So far, the only time we’ve seen this is during the credential exchange with CUPC when that application tries to take control of a desk phone.

Notice, too, that this will only affect users that have been on the system longer than the number of days stated in the parameter. This is why new “test” users we created as part of the troubleshooting process all worked.

To fix the issue, we had to turn off LDAP Authentication by navigating to System > LDAP Authentication, taking the check mark out of the “Use LDAP Authentication for End Users” box, and saving.

Then we went into User Management > Credential Policy, selected each policy that controlled passwords, and deactivated the “Inactive Days Allowed” parameter by putting a “0” in its field.

Finally, we went back to LDAP Authentication and reactivated it by putting the check mark back in the box and saving. We also restarted the Cisco DirSync service for good measure.

According to the Bug case, this issue was fixed in later versions of CUCM v8. There’s no mention of whether it has been fixed in any newer versions of any other CUCM iteration. Because of this, we’ve thrown the issue in our hip pockets for possible future use in any other situation where authentication works…but only kinda.

Leave a Reply