<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/winbindd, branch v3-5-test</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>Fix bug #9016 - Connection to outbound trusted domain goes offline.</title>
<updated>2012-09-28T07:08:28+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2012-07-13T23:25:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=265ff5579b2671db250928b631b35e4df3b9a7f6'/>
<id>265ff5579b2671db250928b631b35e4df3b9a7f6</id>
<content type='text'>
By the time we've gotten to init_dc_connection_network() we shouldn't
be second guessing the caller by calling winbindd_can_contact_domain().

If for some reason we do need to restrict the contact list here we
can add a condition to only contact the primary domain or domains
listed in the tdc cache, but I don't think that's neccessary.

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Sat Jul 14 03:17:57 CEST 2012 on sn-devel-104
(cherry picked from commit 726ecf6a915ff534af4076e9d0cdebf8b5435d61)
(cherry picked from commit d4faae3dbdfdd600bbf9bddb2589b8a6dc8434b6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
By the time we've gotten to init_dc_connection_network() we shouldn't
be second guessing the caller by calling winbindd_can_contact_domain().

If for some reason we do need to restrict the contact list here we
can add a condition to only contact the primary domain or domains
listed in the tdc cache, but I don't think that's neccessary.

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Sat Jul 14 03:17:57 CEST 2012 on sn-devel-104
(cherry picked from commit 726ecf6a915ff534af4076e9d0cdebf8b5435d61)
(cherry picked from commit d4faae3dbdfdd600bbf9bddb2589b8a6dc8434b6)
</pre>
</div>
</content>
</entry>
<entry>
<title>s3:winbindd: make sure we only call static_init_idmap once</title>
<updated>2012-09-17T10:05:09+00:00</updated>
<author>
<name>Björn Jacke</name>
<email>bj@sernet.de</email>
</author>
<published>2011-08-24T08:57:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=04e4325642d029e604c31b371811fafdf2b61cf8'/>
<id>04e4325642d029e604c31b371811fafdf2b61cf8</id>
<content type='text'>
this is a backport of 3f14d03adbda03b821210115af4fae044a9b4a3e

Fix bug #8402 - winbind log spammed with idmap messages.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
this is a backport of 3f14d03adbda03b821210115af4fae044a9b4a3e

Fix bug #8402 - winbind log spammed with idmap messages.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #9100 - winbind doesn't return "Domain Local" groups from own domain.</title>
<updated>2012-08-23T18:26:01+00:00</updated>
<author>
<name>Goldberg, Neil R</name>
<email>ngoldber@mitre.org</email>
</author>
<published>2012-08-17T20:52:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=38444389c39d5c5adca1c9f300bded47407fd0b5'/>
<id>38444389c39d5c5adca1c9f300bded47407fd0b5</id>
<content type='text'>
Back-port of fix for 3.6.x from bug #9052.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Back-port of fix for 3.6.x from bug #9052.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #9098 - winbind does not refresh kerberos tickets.</title>
<updated>2012-08-23T18:21:28+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2012-08-21T21:08:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=51c5f84d2496b5117a2fe6afc061594cf33b5fc1'/>
<id>51c5f84d2496b5117a2fe6afc061594cf33b5fc1</id>
<content type='text'>
Based on work from Ian Gordon &lt;ian.gordon@strath.ac.uk&gt;.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Based on work from Ian Gordon &lt;ian.gordon@strath.ac.uk&gt;.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #9104 - winbindd can mis-identify idle clients - can cause crashes and NDR parsing errors.</title>
<updated>2012-08-23T18:18:05+00:00</updated>
<author>
<name>Herb Lewis</name>
<email>hlewis@panasas.com</email>
</author>
<published>2012-08-20T23:03:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=36dc8a0f40a38d9c03570856cb4c843b74c1c7bd'/>
<id>36dc8a0f40a38d9c03570856cb4c843b74c1c7bd</id>
<content type='text'>
A connection is idle when both struct winbindd_cli_state-&gt;request AND
struct winbindd_cli_state-&gt;response are NULL. Otherwise we can flag
as idle a connection in the state of having sent the request to
the winbindd child (request != NULL) but not yet received a reply
(response == NULL).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A connection is idle when both struct winbindd_cli_state-&gt;request AND
struct winbindd_cli_state-&gt;response are NULL. Otherwise we can flag
as idle a connection in the state of having sent the request to
the winbindd child (request != NULL) but not yet received a reply
(response == NULL).
</pre>
</div>
</content>
</entry>
<entry>
<title>Ensure we keep last_access up to date when processing a request.</title>
<updated>2012-08-23T18:18:03+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2012-08-20T22:21:26+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e01df21a5dbe8f3d401d58de6cffa4d4ba340a24'/>
<id>e01df21a5dbe8f3d401d58de6cffa4d4ba340a24</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>s3: Fix a winbind race leading to 100% CPU</title>
<updated>2012-06-22T17:49:48+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2011-08-26T14:54:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=41c2411286f76919546b677f98f1166f1e40c706'/>
<id>41c2411286f76919546b677f98f1166f1e40c706</id>
<content type='text'>
This fixes a race condition that leads to the winbindd_children list becoming
corrupted. It happens when on a busy winbind SIGCHLD is a bit late.

Imagine a winbind with multiple requests in the queue for a single child. Child
dies, and before the SIGCHLD handler is called we find the socket to be dead.
wb_child_request_done is called, receiving an error from wb_simple_trans_recv.
It closes the socket. Then immediately the wb_child_request_trigger will do
another fork_domain_child before the signal handler is called. This means that
we do another fork_domain_child, we have child-&gt;sock==-1 at this point.
fork_domain_child will do a DLIST_ADD(winbindd_children, child) a second time
where the child is already part of that list. This corrupts the list. Then the
signal handler kicks in, spinning in

for (child = winbindd_children; child != NULL; child = child-&gt;next) {

forever. Not good. This patch makes sure that both conditions (sock==-1 and not
part of the list) for a winbindd_child struct match up.

Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Fri Aug 26 18:51:24 CEST 2011 on sn-devel-104

Fix bug #9000 - winbindd hangs when disconnect domain connection.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a race condition that leads to the winbindd_children list becoming
corrupted. It happens when on a busy winbind SIGCHLD is a bit late.

Imagine a winbind with multiple requests in the queue for a single child. Child
dies, and before the SIGCHLD handler is called we find the socket to be dead.
wb_child_request_done is called, receiving an error from wb_simple_trans_recv.
It closes the socket. Then immediately the wb_child_request_trigger will do
another fork_domain_child before the signal handler is called. This means that
we do another fork_domain_child, we have child-&gt;sock==-1 at this point.
fork_domain_child will do a DLIST_ADD(winbindd_children, child) a second time
where the child is already part of that list. This corrupts the list. Then the
signal handler kicks in, spinning in

for (child = winbindd_children; child != NULL; child = child-&gt;next) {

forever. Not good. This patch makes sure that both conditions (sock==-1 and not
part of the list) for a winbindd_child struct match up.

Autobuild-User: Volker Lendecke &lt;vlendec@samba.org&gt;
Autobuild-Date: Fri Aug 26 18:51:24 CEST 2011 on sn-devel-104

Fix bug #9000 - winbindd hangs when disconnect domain connection.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #8994 - winbind normalize names.</title>
<updated>2012-06-13T17:55:33+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2010-07-29T20:47:27+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c615d8e8e037996a9dd8d5a1982cf49d7c19a831'/>
<id>c615d8e8e037996a9dd8d5a1982cf49d7c19a831</id>
<content type='text'>
We should be using the winbindd separator in this case, not hardcoding a \\ value.

Jeremy.
(cherry picked from commit b7f029016a6a3fb98652c65f27ae80ad78048396)

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We should be using the winbindd separator in this case, not hardcoding a \\ value.

Jeremy.
(cherry picked from commit b7f029016a6a3fb98652c65f27ae80ad78048396)

Signed-off-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-winbindd: call dump_core_setup after command line option has been parsed</title>
<updated>2012-06-13T17:50:24+00:00</updated>
<author>
<name>Matthieu Patou</name>
<email>mat@matws.net</email>
</author>
<published>2012-06-01T22:33:04+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=529333322fb373ad23a0ce9034bf9630cdb17765'/>
<id>529333322fb373ad23a0ce9034bf9630cdb17765</id>
<content type='text'>
Without this fix in some situations winbindd can't coredump.
Such cases append when samba is compiled in a custom prefix (ie.
/home/build/mat/prod/1/) in this case get_dyn_LOGFILEBASE or basename(lp_logfile)
before the configuration file and the command line is parsed will be something like /home/build/mat/prod/1/var
which might not exists on the host where you run it (where it's most
probably more "normal" directories).
Specifying --log-basename didn't help as dump_core_setup is called before the command line and
the config file is read so it didn't help getting a correct value in dump_core_setup.
We fix this issue by calling dump_core_setup() also after the command
line has been read and also after the configfile has been parsed so that
the final location for the coredump is coherent with the final logile
location.

Fix bug #8975 (winbindd can't coredump).
(cherry picked from commit 4cf3fb815610c6f0939f8b142296cd836faac7e6)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Without this fix in some situations winbindd can't coredump.
Such cases append when samba is compiled in a custom prefix (ie.
/home/build/mat/prod/1/) in this case get_dyn_LOGFILEBASE or basename(lp_logfile)
before the configuration file and the command line is parsed will be something like /home/build/mat/prod/1/var
which might not exists on the host where you run it (where it's most
probably more "normal" directories).
Specifying --log-basename didn't help as dump_core_setup is called before the command line and
the config file is read so it didn't help getting a correct value in dump_core_setup.
We fix this issue by calling dump_core_setup() also after the command
line has been read and also after the configfile has been parsed so that
the final location for the coredump is coherent with the final logile
location.

Fix bug #8975 (winbindd can't coredump).
(cherry picked from commit 4cf3fb815610c6f0939f8b142296cd836faac7e6)
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix bug #8970 - Possible memory leaks in the samba master process.</title>
<updated>2012-06-13T17:35:22+00:00</updated>
<author>
<name>Richard Sharpe</name>
<email>realrichardsharpe@gmail.com</email>
</author>
<published>2012-05-31T22:43:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d853bc02c32a4c1172bf5f3f64c75db5ecc5ccca'/>
<id>d853bc02c32a4c1172bf5f3f64c75db5ecc5ccca</id>
<content type='text'>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
</feed>
