Re: [Freeipa-devel] [PATCH] Fix bug: not found exc. handler was failing for singleton objects

2010-08-12 Thread Rob Crittenden

Pavel Zůna wrote:

On 2010-08-09 23:00, Rob Crittenden wrote:

Pavel Zůna wrote:

Very minor bug, that would probably never happen in production anyway,
but why not fix it.



Can you describe the situation this could occur in? How useful would the
error be if the key isn't available?

rob


Well, I caught the bug thanks to a bad config file. The basedn was set
to dc=example,dc=com and all searches were failing. The key isn't
available on for singleton objects such as config, example:

# ipa config-show
ipa: ERROR: : configuration options not found

Pavel


ok, ack, pushed to master

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Re: [Freeipa-devel] [PATCH] Fix bug: not found exc. handler was failing for singleton objects

2010-08-09 Thread Rob Crittenden

Pavel Zůna wrote:
Very minor bug, that would probably never happen in production anyway, 
but why not fix it.




Can you describe the situation this could occur in? How useful would the 
error be if the key isn't available?


rob

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel

Re: [Freeipa-devel] [PATCH] Fix bug: not found exc. handler was failing for singleton objects

2010-08-09 Thread Pavel Zůna

On 2010-08-09 23:00, Rob Crittenden wrote:

Pavel Zůna wrote:

Very minor bug, that would probably never happen in production anyway,
but why not fix it.



Can you describe the situation this could occur in? How useful would the
error be if the key isn't available?

rob


Well, I caught the bug thanks to a bad config file. The basedn was set 
to dc=example,dc=com and all searches were failing. The key isn't 
available on for singleton objects such as config, example:


# ipa config-show
ipa: ERROR: : configuration options not found

Pavel

___
Freeipa-devel mailing list
Freeipa-devel@redhat.com
https://www.redhat.com/mailman/listinfo/freeipa-devel