<feed xmlns='http://www.w3.org/2005/Atom'>
<title>ds.git, branch warnings</title>
<subtitle>Unnamed repository; edit this file to name it for gitweb.</subtitle>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/'/>
<entry>
<title>fix compiler warnings - unused vars/funcs, invalid casts</title>
<updated>2010-09-01T17:50:05+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-09-01T03:17:30+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=e89048c403090ad87ff0ee963f09865945196dbc'/>
<id>e89048c403090ad87ff0ee963f09865945196dbc</id>
<content type='text'>
This commit fixes many compiler warnings, mostly for things like unused
variables, functions, goto labels.
One place was using csngen_free instead of csn_free.  A couple of places
were using casts incorrectly, and several places needed some casts added.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit fixes many compiler warnings, mostly for things like unused
variables, functions, goto labels.
One place was using csngen_free instead of csn_free.  A couple of places
were using casts incorrectly, and several places needed some casts added.
</pre>
</div>
</content>
</entry>
<entry>
<title>use slapi_pblock_set to set the ldap result code for the be postop plugins</title>
<updated>2010-09-01T17:49:24+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-09-01T17:49:24+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=481ed4a2b5ccd8da5fdff445d36389a546593297'/>
<id>481ed4a2b5ccd8da5fdff445d36389a546593297</id>
<content type='text'>
use slapi_pblock_set to set the ldap result code for the be postop plugins
instead of slapi_pblock_get
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
use slapi_pblock_set to set the ldap result code for the be postop plugins
instead of slapi_pblock_get
</pre>
</div>
</content>
</entry>
<entry>
<title>Bug 612264 - ACI issue with (targetattr='userPassword')</title>
<updated>2010-09-01T17:15:41+00:00</updated>
<author>
<name>Nathan Kinder</name>
<email>nkinder@redhat.com</email>
</author>
<published>2010-09-01T17:13:13+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=e873a84559ad23cec56370b3d8511f658d476d99'/>
<id>e873a84559ad23cec56370b3d8511f658d476d99</id>
<content type='text'>
If an ACI has a targetattr of userPassword and uses the USERDN
keyword, the ACI may not be evaluated correctly for password
change operations.  This is caused by the fact that we use a
dummy target entry to check if the pasword change is allowed early
in the operation.  This dummy entry will not have any attributes
that the ACI may use.

The fix is to actually fetch the target entry with all of it's
attributes.  We still create a dummy entry if the target doesn't
exist to prevent returning a no such entry error  when we should be
returning an access denied or insufficient access error.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
If an ACI has a targetattr of userPassword and uses the USERDN
keyword, the ACI may not be evaluated correctly for password
change operations.  This is caused by the fact that we use a
dummy target entry to check if the pasword change is allowed early
in the operation.  This dummy entry will not have any attributes
that the ACI may use.

The fix is to actually fetch the target entry with all of it's
attributes.  We still create a dummy entry if the target doesn't
exist to prevent returning a no such entry error  when we should be
returning an access denied or insufficient access error.
</pre>
</div>
</content>
</entry>
<entry>
<title>DN normalizer should check the invalid type</title>
<updated>2010-08-31T20:57:04+00:00</updated>
<author>
<name>Noriko Hosoi</name>
<email>nhosoi@redhat.com</email>
</author>
<published>2010-08-31T20:57:04+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=bc7df12bbdeade5ba5115e5ea900d16ddd23c046'/>
<id>bc7df12bbdeade5ba5115e5ea900d16ddd23c046</id>
<content type='text'>
File: ldap/servers/slapd/dn.c
Description: slapi_dn_normalize_ext failed to check a typical
invald DN (e.g., "bogus,dc=example,dc=com"), in which RDN does
not have the type=value format.  The problem is fixed.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
File: ldap/servers/slapd/dn.c
Description: slapi_dn_normalize_ext failed to check a typical
invald DN (e.g., "bogus,dc=example,dc=com"), in which RDN does
not have the type=value format.  The problem is fixed.
</pre>
</div>
</content>
</entry>
<entry>
<title>implement slapi_ldap_explode_dn and slapi_ldap_explode_rdn</title>
<updated>2010-08-31T19:35:55+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-27T17:55:29+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=8a943175138bbfec0b398ea4ffd24f3047df3951'/>
<id>8a943175138bbfec0b398ea4ffd24f3047df3951</id>
<content type='text'>
The DS has some problems with the openldap versions of these functions:
1) They are deprecated - should use the str2[r]dn and [r]dn2str and the
bv versions of those functions instead
2) They escape utf-8 and other values in the strings - the mozldap functions
do not do this
3) They handle double quoted strings, but they remove the quotes - our
code expects the quotes to be left in place
Until we fix our DN handling, and get rid of the double quoted DNs, we just
use the mozldap versions of these functions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The DS has some problems with the openldap versions of these functions:
1) They are deprecated - should use the str2[r]dn and [r]dn2str and the
bv versions of those functions instead
2) They escape utf-8 and other values in the strings - the mozldap functions
do not do this
3) They handle double quoted strings, but they remove the quotes - our
code expects the quotes to be left in place
Until we fix our DN handling, and get rid of the double quoted DNs, we just
use the mozldap versions of these functions.
</pre>
</div>
</content>
</entry>
<entry>
<title>do not un-null-terminate normalized DN until new url is constructed</title>
<updated>2010-08-31T19:35:55+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-25T21:31:43+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=219b8af89283faae5fb408beb74f082ff7265d34'/>
<id>219b8af89283faae5fb408beb74f082ff7265d34</id>
<content type='text'>
rawdn may be normalized in place - if we add back the '?' to the URL
before we construct the new URL with the normalized DN, we will create
a bogus URL string - so delay that until we construct the new URL
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
rawdn may be normalized in place - if we add back the '?' to the URL
before we construct the new URL with the normalized DN, we will create
a bogus URL string - so delay that until we construct the new URL
</pre>
</div>
</content>
</entry>
<entry>
<title>use slapi_ldap_url_parse in the acl code</title>
<updated>2010-08-31T19:35:55+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-25T18:45:11+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=eec41e2fc71addeef503fd6e2294e723e68bf263'/>
<id>eec41e2fc71addeef503fd6e2294e723e68bf263</id>
<content type='text'>
I missed a couple of places in the acl code that should use
slapi_ldap_url_parse - I also added some more debugging
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I missed a couple of places in the acl code that should use
slapi_ldap_url_parse - I also added some more debugging
</pre>
</div>
</content>
</entry>
<entry>
<title>check src &lt; *out only; only check for \nspace if src &lt; *out - 2</title>
<updated>2010-08-31T19:35:55+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-24T19:35:33+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=685cb4c361452a26394c897ddaa0b6c2d8040e1d'/>
<id>685cb4c361452a26394c897ddaa0b6c2d8040e1d</id>
<content type='text'>
*out will never be NULL here, so we only need to check that src &lt; *out as
the loop condition
when looking for a continuation line, make sure there are two characters
in *out to check
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
*out will never be NULL here, so we only need to check that src &lt; *out as
the loop condition
when looking for a continuation line, make sure there are two characters
in *out to check
</pre>
</div>
</content>
</entry>
<entry>
<title>move the out pointer back if continuation lines were removed</title>
<updated>2010-08-31T19:35:54+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-24T16:16:36+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=ef3d90459a0f43c8e3692cb7ea2cfafe73eb3ba9'/>
<id>ef3d90459a0f43c8e3692cb7ea2cfafe73eb3ba9</id>
<content type='text'>
when putting ldif data with the no wrap option, if we removed some
continuation lines, we have to move the output data pointer back since
the continuation line markers are removed in place
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
when putting ldif data with the no wrap option, if we removed some
continuation lines, we have to move the output data pointer back since
the continuation line markers are removed in place
</pre>
</div>
</content>
</entry>
<entry>
<title>convert mozldap host list to openldap uri list</title>
<updated>2010-08-31T19:35:54+00:00</updated>
<author>
<name>Rich Megginson</name>
<email>rmeggins@redhat.com</email>
</author>
<published>2010-08-23T21:07:51+00:00</published>
<link rel='alternate' type='text/html' href='https://fedorapeople.org/cgit/rmeggins/public_git/ds.git/commit/?id=b4e420b76d9f3189d3c79476177fadfd02421261'/>
<id>b4e420b76d9f3189d3c79476177fadfd02421261</id>
<content type='text'>
mozldap accepts hostnames in the form host1[:port1] ... hostN[:portN]
in the ldap_init argument and in ldap urls/uris.  DS code uses
ldap_initialize() which takes a list of uris in the form
ldap[s]://host1[:port1]/ ldap[s]://host2[:port2]/ ...
We have to convert the host:port list into a list of LDAP uris
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
mozldap accepts hostnames in the form host1[:port1] ... hostN[:portN]
in the ldap_init argument and in ldap urls/uris.  DS code uses
ldap_initialize() which takes a list of uris in the form
ldap[s]://host1[:port1]/ ldap[s]://host2[:port2]/ ...
We have to convert the host:port list into a list of LDAP uris
</pre>
</div>
</content>
</entry>
</feed>
