Re: [SSSD] [PATCH] AD: Write out domain-realm mappings

2013-06-27 Thread Sumit Bose
On Wed, Jun 26, 2013 at 11:37:04PM +0200, Jakub Hrozek wrote: I'm sorry for this bug, I initially tested on a VM where I manually created the domain-realm mappings but then forgot to remove them. The attached patches install domain-realm mappings in the same way IPA provider does. If these

Re: [SSSD] [PATCH] AD: Write out domain-realm mappings

2013-06-27 Thread Jakub Hrozek
On Thu, Jun 27, 2013 at 09:53:42AM +0200, Sumit Bose wrote: +static errno_t +ipa_write_subdom_mappings(struct sss_domain_info *domain) +{ +errno_t ret; + +ret = sss_write_domain_mappings(domain); +if (ret) { +DEBUG(SSSDBG_OP_FAILURE, (couldn't write domain-realm

Re: [SSSD] [PATCH] AD: Write out domain-realm mappings

2013-06-27 Thread Sumit Bose
On Thu, Jun 27, 2013 at 01:44:41PM +0200, Jakub Hrozek wrote: On Thu, Jun 27, 2013 at 09:53:42AM +0200, Sumit Bose wrote: +static errno_t +ipa_write_subdom_mappings(struct sss_domain_info *domain) +{ +errno_t ret; + +ret = sss_write_domain_mappings(domain); +if

Re: [SSSD] [PATCH] AD: Write out domain-realm mappings

2013-06-27 Thread Jakub Hrozek
On Thu, Jun 27, 2013 at 03:03:51PM +0200, Sumit Bose wrote: On Thu, Jun 27, 2013 at 01:44:41PM +0200, Jakub Hrozek wrote: On Thu, Jun 27, 2013 at 09:53:42AM +0200, Sumit Bose wrote: +static errno_t +ipa_write_subdom_mappings(struct sss_domain_info *domain) +{ +errno_t ret;

[SSSD] [PATCH] AD: Write out domain-realm mappings

2013-06-26 Thread Jakub Hrozek
I'm sorry for this bug, I initially tested on a VM where I manually created the domain-realm mappings but then forgot to remove them. The attached patches install domain-realm mappings in the same way IPA provider does. If these patches are accepted, I will open a bug for realmd to include the