<feed xmlns='http://www.w3.org/2005/Atom'>
<title>freeipa.git/tests, branch abbra</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/'/>
<entry>
<title>Enforce sizelimit in permission-find, post_callback returns truncated</title>
<updated>2012-05-30T06:46:21+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2012-05-23T15:00:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=8d00d7c13038abc152afbd46c96108753506fb77'/>
<id>8d00d7c13038abc152afbd46c96108753506fb77</id>
<content type='text'>
We actually perform two searches in permission-find. The first looks
for matches within the permission object itself. The second looks at
matches in the underlying aci.

We need to break out in two places. The first is if we find enough
matches in the permission itself. The second when we are appending
matches from acis.

The post_callback() definition needed to be modified to return
the truncated value so a plugin author can modify that value.

https://fedorahosted.org/freeipa/ticket/2322
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We actually perform two searches in permission-find. The first looks
for matches within the permission object itself. The second looks at
matches in the underlying aci.

We need to break out in two places. The first is if we find enough
matches in the permission itself. The second when we are appending
matches from acis.

The post_callback() definition needed to be modified to return
the truncated value so a plugin author can modify that value.

https://fedorahosted.org/freeipa/ticket/2322
</pre>
</div>
</content>
</entry>
<entry>
<title>Provide a better error message when deleting nonexistent attributes</title>
<updated>2012-05-29T04:38:40+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-05-11T08:00:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=51bd68eaf5e2b21ce79f6b848a67f88abe9f7e11'/>
<id>51bd68eaf5e2b21ce79f6b848a67f88abe9f7e11</id>
<content type='text'>
If --delattr is used on an attribute that's not present on an entry,
and --{set,add}attr isn't being used on that same attribute,
say that there's "no such attribute" instead of "&lt;attribute&gt; does
not contain &lt;value&gt;".

https://fedorahosted.org/freeipa/ticket/2699
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If --delattr is used on an attribute that's not present on an entry,
and --{set,add}attr isn't being used on that same attribute,
say that there's "no such attribute" instead of "&lt;attribute&gt; does
not contain &lt;value&gt;".

https://fedorahosted.org/freeipa/ticket/2699
</pre>
</div>
</content>
</entry>
<entry>
<title>Disallow setattr on no_update/no_create params</title>
<updated>2012-05-29T07:23:26+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-05-21T09:03:21+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=1af36da933cd3c788e3a48257e2f5c286e985e22'/>
<id>1af36da933cd3c788e3a48257e2f5c286e985e22</id>
<content type='text'>
Make --{set,add,del}attr fail on parameters with the no_update/no_create
flag for the respective command.

For attributes that can be modified, but we just don't want to display
in the CLI, use the 'no_option' flag. These are "locking" attributes
(ipaenabledflag, nsaccountlock) and externalhost.

Document the 'no_option' flag. Add some tests.

https://fedorahosted.org/freeipa/ticket/2580
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make --{set,add,del}attr fail on parameters with the no_update/no_create
flag for the respective command.

For attributes that can be modified, but we just don't want to display
in the CLI, use the 'no_option' flag. These are "locking" attributes
(ipaenabledflag, nsaccountlock) and externalhost.

Document the 'no_option' flag. Add some tests.

https://fedorahosted.org/freeipa/ticket/2580
</pre>
</div>
</content>
</entry>
<entry>
<title>Reset krbtpolicy when a unit test is finished</title>
<updated>2012-05-28T15:24:08+00:00</updated>
<author>
<name>Martin Kosek</name>
<email>mkosek@redhat.com</email>
</author>
<published>2012-05-28T15:17:07+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=e0930d42a54e586a0170c853fbc9e66f9193d5b0'/>
<id>e0930d42a54e586a0170c853fbc9e66f9193d5b0</id>
<content type='text'>
Kerberos ticket maximum life was being set to 1 hour which then
affected lifetime of Kerberos tickets returned by IPA server under
the test.

Make sure that the policy is reset before and after the unit test to
keep the IPA server settings clean and not to disrupt development
environment.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kerberos ticket maximum life was being set to 1 hour which then
affected lifetime of Kerberos tickets returned by IPA server under
the test.

Make sure that the policy is reset before and after the unit test to
keep the IPA server settings clean and not to disrupt development
environment.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the pwpolicy_find post_callback</title>
<updated>2012-05-28T14:03:28+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-05-18T12:19:45+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=ae1257517064362188b893a939cb336c48097256'/>
<id>ae1257517064362188b893a939cb336c48097256</id>
<content type='text'>
Always call convert_time_for_output so time gets reported correctly.
That method has its own checks for whether the attributes are present;
an additional check is unnecessary.

Use a key function for sorting; cmp is deprecated, slower and
more complicated.

Add a test

https://fedorahosted.org/freeipa/ticket/2726
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Always call convert_time_for_output so time gets reported correctly.
That method has its own checks for whether the attributes are present;
an additional check is unnecessary.

Use a key function for sorting; cmp is deprecated, slower and
more complicated.

Add a test

https://fedorahosted.org/freeipa/ticket/2726
</pre>
</div>
</content>
</entry>
<entry>
<title>Check for empty/single value parameters before calling callbacks</title>
<updated>2012-05-15T08:02:26+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-05-10T15:03:41+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=ece68f381a1bcf38d2f9c2d1b7f960438d5e2241'/>
<id>ece68f381a1bcf38d2f9c2d1b7f960438d5e2241</id>
<content type='text'>
https://fedorahosted.org/freeipa/ticket/2701
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/freeipa/ticket/2701
</pre>
</div>
</content>
</entry>
<entry>
<title>Implement permission/aci find by subtree</title>
<updated>2012-05-15T06:54:22+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2012-05-11T20:15:58+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=26ab9a504f504f59cfd3af929dbeac2ddc201ed3'/>
<id>26ab9a504f504f59cfd3af929dbeac2ddc201ed3</id>
<content type='text'>
https://fedorahosted.org/freeipa/ticket/2321
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://fedorahosted.org/freeipa/ticket/2321
</pre>
</div>
</content>
</entry>
<entry>
<title>Do not use extra command options in ACI, permission, selfservice</title>
<updated>2012-05-14T08:38:07+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-04-17T16:48:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=c5689e7fafc688165945e83dd4bf63dd568b3650'/>
<id>c5689e7fafc688165945e83dd4bf63dd568b3650</id>
<content type='text'>
Allowing Commands to be called with ignored unknown options opens the
door to problems, for example with misspelled option names.
Before we start rejecting them, we need to make sure IPA itself does
not use them when it calls commands internally.

This patch does that for ACI-related plugins.

Part of the work for https://fedorahosted.org/freeipa/ticket/2509
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Allowing Commands to be called with ignored unknown options opens the
door to problems, for example with misspelled option names.
Before we start rejecting them, we need to make sure IPA itself does
not use them when it calls commands internally.

This patch does that for ACI-related plugins.

Part of the work for https://fedorahosted.org/freeipa/ticket/2509
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix overlapping cn param/option issue, pass cn as aciname in find</title>
<updated>2012-05-14T08:07:41+00:00</updated>
<author>
<name>Rob Crittenden</name>
<email>rcritten@redhat.com</email>
</author>
<published>2012-05-11T19:28:03+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=95bb8d0f45c3061035633c7b9c3b1609b11a158d'/>
<id>95bb8d0f45c3061035633c7b9c3b1609b11a158d</id>
<content type='text'>
permission-find --name wasn't working for two reasons. The first
was that the cn to search on in options ended up overlapping the
primary key name causing the request to fail.

The second reason was aci uses aciname, not cn, as its name field.
So searching on --name matched everything because it was as if you
were searching on nothing.

https://fedorahosted.org/freeipa/ticket/2320
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
permission-find --name wasn't working for two reasons. The first
was that the cn to search on in options ended up overlapping the
primary key name causing the request to fail.

The second reason was aci uses aciname, not cn, as its name field.
So searching on --name matched everything because it was as if you
were searching on nothing.

https://fedorahosted.org/freeipa/ticket/2320
</pre>
</div>
</content>
</entry>
<entry>
<title>Validate externalhost (when added by --addattr/--setattr)</title>
<updated>2012-05-11T06:14:20+00:00</updated>
<author>
<name>Petr Viktorin</name>
<email>pviktori@redhat.com</email>
</author>
<published>2012-04-30T11:29:08+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/sbose/public_git/freeipa.git/commit/?id=1565ce3a8c39326f814c9781b3df24c42402c1b5'/>
<id>1565ce3a8c39326f814c9781b3df24c42402c1b5</id>
<content type='text'>
Change the externalhost attribute of hbacrule, netgroup
and sudorule into a full-fledged Parameter, and attach
a validator to it.
The validator is relaxed to allow underscores, so that
some hosts with nonstandard names can be added.

Tests included.

https://fedorahosted.org/freeipa/ticket/2649
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change the externalhost attribute of hbacrule, netgroup
and sudorule into a full-fledged Parameter, and attach
a validator to it.
The validator is relaxed to allow underscores, so that
some hosts with nonstandard names can be added.

Tests included.

https://fedorahosted.org/freeipa/ticket/2649
</pre>
</div>
</content>
</entry>
</feed>
