<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source4/echo_server, branch talloc-2.2.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>source4 smdb: Add a post fork hook to the service API</title>
<updated>2018-11-01T22:49:24+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2018-08-22T21:35:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=99aea42520fc10564dbba013c365adb3059febad'/>
<id>99aea42520fc10564dbba013c365adb3059febad</id>
<content type='text'>
Add a post fork hook to the service API this will be called:

 - standard process model
   immediately after the task_init.

- single process model
  immediately after the task_init

- prefork process model, inhibit_pre_fork = true
  immediately after the task_init

- prefork process model, inhibit_pre_fork = false
  after each service worker has forked. It is not run on the service
  master process.

The post fork hook is not called in the standard model if a new process
is forked on a new connection. It is instead called immediately after
the task_init.

The task_init hook has been changed to return an error code. This ensures
the post_fork code is only run if the task_init code completed successfully.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a post fork hook to the service API this will be called:

 - standard process model
   immediately after the task_init.

- single process model
  immediately after the task_init

- prefork process model, inhibit_pre_fork = true
  immediately after the task_init

- prefork process model, inhibit_pre_fork = false
  after each service worker has forked. It is not run on the service
  master process.

The post fork hook is not called in the standard model if a new process
is forked on a new connection. It is instead called immediately after
the task_init.

The task_init hook has been changed to return an error code. This ensures
the post_fork code is only run if the task_init code completed successfully.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>source4 smbd: Make the service_details structure constant.</title>
<updated>2018-11-01T22:49:24+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2018-08-22T21:29:56+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d6777a66c0dbd0c356059644b57070d4587d83ea'/>
<id>d6777a66c0dbd0c356059644b57070d4587d83ea</id>
<content type='text'>
Make the service_details structure a static const.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the service_details structure a static const.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>source4/smbd: Do not overstamp the process model with "single"</title>
<updated>2017-10-19T03:33:10+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2017-09-18T01:05:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=08402526704c6d586febadf401959bc3d8661836'/>
<id>08402526704c6d586febadf401959bc3d8661836</id>
<content type='text'>
Instead, except in RPC which is a special SNOWFLAKE, we rely on the struct
service_details in the init function.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Instead, except in RPC which is a special SNOWFLAKE, we rely on the struct
service_details in the init function.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title> source4/smbd: refactor the process model for prefork</title>
<updated>2017-10-19T03:33:09+00:00</updated>
<author>
<name>Gary Lockyer</name>
<email>gary@catalyst.net.nz</email>
</author>
<published>2017-09-14T19:09:23+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b852ad044b98c0c574c3420956e153055d46136d'/>
<id>b852ad044b98c0c574c3420956e153055d46136d</id>
<content type='text'>
    Refactor the process model code to allow the addition of a prefork
    process model.

    - Add a process context to contain process model specific state
    - Add a service details structure to allow service to indicate which
      process model options they can support.

    In the new code the services advertise the features they support to the
    process model.  The process model context is plumbed through to allow the
    process model to keep track of the supported options, and any state
    the process model may require.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
    Refactor the process model code to allow the addition of a prefork
    process model.

    - Add a process context to contain process model specific state
    - Add a service details structure to allow service to indicate which
      process model options they can support.

    In the new code the services advertise the features they support to the
    process model.  The process model context is plumbed through to allow the
    process model to keep track of the supported options, and any state
    the process model may require.

Signed-off-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Garming Sam &lt;garming@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>s4: Add TALLOC_CTX * to register_server_service().</title>
<updated>2017-05-11T18:30:13+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2017-05-09T20:46:45+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=560c37524b2b4188011e45c03b3712951476de59'/>
<id>560c37524b2b4188011e45c03b3712951476de59</id>
<content type='text'>
Use the passed in context from callers. Remove one
talloc_autofree_context().

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the passed in context from callers. Remove one
talloc_autofree_context().

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: modules: Change XXX_init interface from XXX_init(void) to XXX_init(TALLOC_CTX *)</title>
<updated>2017-04-21T23:17:00+00:00</updated>
<author>
<name>Jeremy Allison</name>
<email>jra@samba.org</email>
</author>
<published>2017-04-20T19:24:43+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=306783d6f5d577a0b8bd31d659d8c802f22f0333'/>
<id>306783d6f5d577a0b8bd31d659d8c802f22f0333</id>
<content type='text'>
Not currently used - no logic changes inside.

This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.

Updated all known module interface numbers, and added a
WHATSNEW.

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: Ralph Böhme &lt;slow@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Not currently used - no logic changes inside.

This will make it possible to pass down a long-lived talloc
context from the loading function for modules to use instead
of having them internally all use talloc_autofree_context()
which is a hidden global.

Updated all known module interface numbers, and added a
WHATSNEW.

Signed-off-by: Jeremy Allison &lt;jra@samba.org&gt;
Signed-off-by: Ralph Böhme &lt;slow@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Sat Apr 22 01:17:00 CEST 2017 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>Avoid including libds/common/roles.h in public loadparm.h header.</title>
<updated>2016-01-13T03:43:23+00:00</updated>
<author>
<name>Jelmer Vernooij</name>
<email>jelmer@jelmer.uk</email>
</author>
<published>2015-12-28T19:01:54+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=773cfba9af34e64b96e843b1b60afa5a0b0dec32'/>
<id>773cfba9af34e64b96e843b1b60afa5a0b0dec32</id>
<content type='text'>
Signed-Off-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Reviewed-By: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-By: Stefan Metzmacher &lt;metze@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-Off-By: Jelmer Vernooij &lt;jelmer@samba.org&gt;
Reviewed-By: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-By: Stefan Metzmacher &lt;metze@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix various spelling errors</title>
<updated>2015-11-06T12:43:45+00:00</updated>
<author>
<name>Mathieu Parent</name>
<email>math.parent@gmail.com</email>
</author>
<published>2015-07-26T21:02:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c315fce17ef11a23c24fc92b7475ac3a3ac55032'/>
<id>c315fce17ef11a23c24fc92b7475ac3a3ac55032</id>
<content type='text'>
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Fri Nov  6 13:43:45 CET 2015 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Fri Nov  6 13:43:45 CET 2015 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s4:echo_server fix compiler warnings</title>
<updated>2013-12-12T22:21:28+00:00</updated>
<author>
<name>Christian Ambach</name>
<email>ambi@samba.org</email>
</author>
<published>2013-12-10T16:53:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=877fe25a0194709993457354c9b43729d3b9d72e'/>
<id>877fe25a0194709993457354c9b43729d3b9d72e</id>
<content type='text'>
about set but unused variables

Signed-off-by: Christian Ambach &lt;ambi@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
about set but unused variables

Signed-off-by: Christian Ambach &lt;ambi@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/param: Create a seperate server role for "active directory domain controller"</title>
<updated>2012-06-15T07:18:33+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-06-10T12:08:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b8815dc23d36468cce9b615335ed62f119eb8f35'/>
<id>b8815dc23d36468cce9b615335ed62f119eb8f35</id>
<content type='text'>
This will allow us to detect from the smb.conf if this is a Samba4 AD
DC which will allow smarter handling of (for example) accidentially
starting smbd rather than samba.

To cope with upgrades from existing Samba4 installs, 'domain
controller' is a synonym of 'active directory domain controller' and
new parameters 'classic primary domain controller' and 'classic backup
domain controller' are added.

Andrew Bartlett
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This will allow us to detect from the smb.conf if this is a Samba4 AD
DC which will allow smarter handling of (for example) accidentially
starting smbd rather than samba.

To cope with upgrades from existing Samba4 installs, 'domain
controller' is a synonym of 'active directory domain controller' and
new parameters 'classic primary domain controller' and 'classic backup
domain controller' are added.

Andrew Bartlett
</pre>
</div>
</content>
</entry>
</feed>
