<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git, branch talloc-2.0.0</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/'/>
<entry>
<title>report the location of the original talloc_free on double free</title>
<updated>2009-09-04T04:40:51+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-04T03:56:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=27b19eb9f61dec1c60d9c6abcf1fb2e12541f62a'/>
<id>27b19eb9f61dec1c60d9c6abcf1fb2e12541f62a</id>
<content type='text'>
When we get a double free abort from talloc it is often hard to work
out where the first free came from. This patch takes advantage of the
fact that _talloc_free() now takes a location the free was called from
to allow the double free abort code to print the location of the first
free that conflicts.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When we get a double free abort from talloc it is often hard to work
out where the first free came from. This patch takes advantage of the
fact that _talloc_free() now takes a location the free was called from
to allow the double free abort code to print the location of the first
free that conflicts.
</pre>
</div>
</content>
</entry>
<entry>
<title>wbinfo: fix various valgrind warnings and an invalid free.</title>
<updated>2009-09-03T22:04:49+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2009-09-03T22:02:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b35c627b92c0585f4fa3a1d92385a908f0e0cd5b'/>
<id>b35c627b92c0585f4fa3a1d92385a908f0e0cd5b</id>
<content type='text'>
Kai, please check.

Guenther
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Kai, please check.

Guenther
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-ntlm_auth: fix two segfaults in diagnostics mode.</title>
<updated>2009-09-03T22:04:40+00:00</updated>
<author>
<name>Günther Deschner</name>
<email>gd@samba.org</email>
</author>
<published>2009-09-03T21:49:50+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d9bdf2a02f2966720a573cfa933edb112bf6fe64'/>
<id>d9bdf2a02f2966720a573cfa933edb112bf6fe64</id>
<content type='text'>
Guenther
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Guenther
</pre>
</div>
</content>
</entry>
<entry>
<title>Hopefully last part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks.</title>
<updated>2009-09-03T14:40:48+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-09-03T14:40:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=bdc7bdb0d3e02d04477906dbda8995bc5789ce22'/>
<id>bdc7bdb0d3e02d04477906dbda8995bc5789ce22</id>
<content type='text'>
This one is subtle. There is a race condition where a signal can be
queued for oplock break, and then the file can be closed by the client
before the signal can be processed. Currently if this occurs we panic
(we can't match an incoming signal fd with a fsp pointer). Simply log
the error (at debug level 10 right now, might be too much) and then
return without processing the break request. It looks like there is
another race condition with this fix, but here's why it won't happen.
If the signal was pending (caused by a kernel oplock break from a
local file open), and the client closed the file and then re-opened
another file which happened to use the same file descriptor as the
file just closed, then theoretically the oplock break requests could
be processed on the wrong fd. Here's why this should be very rare..
Processing a pending signal always take precedence over an incoming
network request, so as long as the client close request is non-chained
then the break signal should always be harmlessly processed *before*
the open can be called. If the open is chained onto the close, and
the fd on the new open is the same as the old closed fd, then it's
possible this race will occur. However, all that will happen is that
we'll lose the oplock on this file. A shame, but not a fatal event.
Jeremy.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one is subtle. There is a race condition where a signal can be
queued for oplock break, and then the file can be closed by the client
before the signal can be processed. Currently if this occurs we panic
(we can't match an incoming signal fd with a fsp pointer). Simply log
the error (at debug level 10 right now, might be too much) and then
return without processing the break request. It looks like there is
another race condition with this fix, but here's why it won't happen.
If the signal was pending (caused by a kernel oplock break from a
local file open), and the client closed the file and then re-opened
another file which happened to use the same file descriptor as the
file just closed, then theoretically the oplock break requests could
be processed on the wrong fd. Here's why this should be very rare..
Processing a pending signal always take precedence over an incoming
network request, so as long as the client close request is non-chained
then the break signal should always be harmlessly processed *before*
the open can be called. If the open is chained onto the close, and
the fd on the new open is the same as the old closed fd, then it's
possible this race will occur. However, all that will happen is that
we'll lose the oplock on this file. A shame, but not a fatal event.
Jeremy.
</pre>
</div>
</content>
</entry>
<entry>
<title>Another part of the fix for bug 6651 - smbd SIGSEGV when breaking oplocks.</title>
<updated>2009-09-03T14:38:21+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2009-09-03T14:38:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c97698e762b1ea8d7133f04ae822225676a6f135'/>
<id>c97698e762b1ea8d7133f04ae822225676a6f135</id>
<content type='text'>
SA_INFO_QUEUE_COUNT *MUST* be a power of 2, in order for the ring buffer
wrap to work correctly at the 32 bit boundary. Thanks to Petr
Vandrovec &lt;petr@vandrovec.name&gt; for this.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
SA_INFO_QUEUE_COUNT *MUST* be a power of 2, in order for the ring buffer
wrap to work correctly at the 32 bit boundary. Thanks to Petr
Vandrovec &lt;petr@vandrovec.name&gt; for this.
</pre>
</div>
</content>
</entry>
<entry>
<title>First attempt to implement dcesrv_drsuapi_DsGetNCChanges</title>
<updated>2009-09-03T09:10:49+00:00</updated>
<author>
<name>Anatoliy Atanasov</name>
<email>anatoliy.atanasov@postpath.com</email>
</author>
<published>2009-09-02T14:39:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=38995d7cbb0c3143eb1fea0215863321349c7bbe'/>
<id>38995d7cbb0c3143eb1fea0215863321349c7bbe</id>
<content type='text'>
So far it returns the ctr6 responce without proper linked attributes
support and metadata. A couple of improvements are the filter in the search
uses '(uSNChanged&gt;=N)', added extended dn search support, non-replicated attributes
are excluded from the result.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
So far it returns the ctr6 responce without proper linked attributes
support and metadata. A couple of improvements are the filter in the search
uses '(uSNChanged&gt;=N)', added extended dn search support, non-replicated attributes
are excluded from the result.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the dsdb_syntax_OID_ldb_to_drsuapi function</title>
<updated>2009-09-03T09:10:42+00:00</updated>
<author>
<name>Anatoliy Atanasov</name>
<email>anatoliy.atanasov@postpath.com</email>
</author>
<published>2009-09-02T14:20:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=957a9285c22c5f4412154bd84a82d66fe759b0f5'/>
<id>957a9285c22c5f4412154bd84a82d66fe759b0f5</id>
<content type='text'>
This replace the dsdb_syntax_FOOBAR_ldb_to_drsuapi function,
which was left as a TODO code. Implementation in both added functions
is completely identical and probably should differ in the future.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This replace the dsdb_syntax_FOOBAR_ldb_to_drsuapi function,
which was left as a TODO code. Implementation in both added functions
is completely identical and probably should differ in the future.
</pre>
</div>
</content>
</entry>
<entry>
<title>Ignoring generated files:</title>
<updated>2009-09-03T09:09:50+00:00</updated>
<author>
<name>Kamen Mazdrashki</name>
<email>kamen.mazdrashki@postpath.com</email>
</author>
<published>2009-08-21T11:39:09+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=47dfe78142c89fd8798d22d5837d9b3be356ae78'/>
<id>47dfe78142c89fd8798d22d5837d9b3be356ae78</id>
<content type='text'>
libcli/smb/smb_common_proto.h
source4/torture/ntp/proto.h
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
libcli/smb/smb_common_proto.h
source4/torture/ntp/proto.h
</pre>
</div>
</content>
</entry>
<entry>
<title>another large change to the linked_attribute module</title>
<updated>2009-09-03T08:36:10+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-03T08:36:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d3d6713c599fa74f5fdd890bd00ab0dd721749d8'/>
<id>d3d6713c599fa74f5fdd890bd00ab0dd721749d8</id>
<content type='text'>
This one copes with deleted objects where linked attributes have been
set on the module. We hit this when we do the ldb wipe at the start of
a provision, which trigers linked attribute updates, but for objects
that have disappeared. We need to ensure that the linked attribute
updates only happen on the right object, and if the object gets
re-created (as happens with a provision) then it is not the right
object.

To cope with this we record the GUID of the object when the operation
that triggered the linked attribute update comes in, and then find the
DN by suing that GUID when we apply the change in the prepare commit
hook.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This one copes with deleted objects where linked attributes have been
set on the module. We hit this when we do the ldb wipe at the start of
a provision, which trigers linked attribute updates, but for objects
that have disappeared. We need to ensure that the linked attribute
updates only happen on the right object, and if the object gets
re-created (as happens with a provision) then it is not the right
object.

To cope with this we record the GUID of the object when the operation
that triggered the linked attribute update comes in, and then find the
DN by suing that GUID when we apply the change in the prepare commit
hook.
</pre>
</div>
</content>
</entry>
<entry>
<title>hook on prepare_commit instead of transaction_end</title>
<updated>2009-09-03T08:36:10+00:00</updated>
<author>
<name>Andrew Tridgell</name>
<email>tridge@samba.org</email>
</author>
<published>2009-09-03T08:33:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b72b8f6e7d6a83999153b71edd6f50a1803eff95'/>
<id>b72b8f6e7d6a83999153b71edd6f50a1803eff95</id>
<content type='text'>
This allows for safe transaction end aborts
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows for safe transaction end aborts
</pre>
</div>
</content>
</entry>
</feed>
