[SSSD] [PATCH] Only check UPN if enterprise principals are not used

2013-05-03 Thread Jakub Hrozek
Currently when enterprise principals are enabled in the AD provider, we check if the UPN is the same as we'd expect. But when enterprise principals are enabled (which is by default in AD provider), then the principal krb5_child returns is different from what SSSD expects. Sumit, you wrote the

Re: [SSSD] [PATCH] Only check UPN if enterprise principals are not used

2013-05-03 Thread Sumit Bose
On Fri, May 03, 2013 at 07:56:48PM +0200, Jakub Hrozek wrote: Currently when enterprise principals are enabled in the AD provider, we check if the UPN is the same as we'd expect. But when enterprise principals are enabled (which is by default in AD provider), then the principal krb5_child

Re: [SSSD] [PATCH] Only check UPN if enterprise principals are not used

2013-05-03 Thread Jakub Hrozek
On Fri, May 03, 2013 at 08:47:06PM +0200, Sumit Bose wrote: On Fri, May 03, 2013 at 07:56:48PM +0200, Jakub Hrozek wrote: Currently when enterprise principals are enabled in the AD provider, we check if the UPN is the same as we'd expect. But when enterprise principals are enabled (which is

Re: [SSSD] [PATCH] Only check UPN if enterprise principals are not used

2013-05-03 Thread Jakub Hrozek
On Fri, May 03, 2013 at 08:59:26PM +0200, Jakub Hrozek wrote: On Fri, May 03, 2013 at 08:47:06PM +0200, Sumit Bose wrote: On Fri, May 03, 2013 at 07:56:48PM +0200, Jakub Hrozek wrote: Currently when enterprise principals are enabled in the AD provider, we check if the UPN is the same as