<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/file_server, branch talloc-2.3.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>Remove dead code</title>
<updated>2018-03-19T19:29:28+00:00</updated>
<author>
<name>Simo Sorce</name>
<email>idra@samba.org</email>
</author>
<published>2018-03-18T18:15:30+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f5e3b1e9d31510490976b992074024c5a0c1393b'/>
<id>f5e3b1e9d31510490976b992074024c5a0c1393b</id>
<content type='text'>
Signed-off-by: Simo Sorce &lt;idra@samba.org&gt;

Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Mon Mar 19 20:29:28 CET 2018 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Simo Sorce &lt;idra@samba.org&gt;

Autobuild-User(master): Simo Sorce &lt;idra@samba.org&gt;
Autobuild-Date(master): Mon Mar 19 20:29:28 CET 2018 on sn-devel-144
</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>s4:server: avoid calling into nss_winbind from within 'samba'</title>
<updated>2013-07-10T21:18:06+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2013-07-10T12:48:18+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=596b51c666e549fb518d92931d8837922154a2fe'/>
<id>596b51c666e549fb518d92931d8837922154a2fe</id>
<content type='text'>
The most important part is that the 'winbind_server' doesn't
recurse into itself. This could happen if the krb5 libraries
call getlogin().

As we may run in single process mode, we need to set
_NO_WINBINDD=1 everywhere, the only exception is the forked
'smbd'.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Wed Jul 10 23:18:06 CEST 2013 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The most important part is that the 'winbind_server' doesn't
recurse into itself. This could happen if the krb5 libraries
call getlogin().

As we may run in single process mode, we need to set
_NO_WINBINDD=1 everywhere, the only exception is the forked
'smbd'.

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Stefan Metzmacher &lt;metze@samba.org&gt;
Autobuild-Date(master): Wed Jul 10 23:18:06 CEST 2013 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s3fs: make the log warning go away</title>
<updated>2012-12-15T16:50:23+00:00</updated>
<author>
<name>Ricky Nance</name>
<email>ricky.nance@weaubleau.k12.mo.us</email>
</author>
<published>2012-12-14T02:52:46+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=6127ba853b8288be60adc70bc0ea084f26e216f7'/>
<id>6127ba853b8288be60adc70bc0ea084f26e216f7</id>
<content type='text'>
standard input is not a socket, assuming -D option

Signed-off-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;

Autobuild-User(master): Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date(master): Sat Dec 15 17:50:23 CET 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
standard input is not a socket, assuming -D option

Signed-off-by: Jelmer Vernooij &lt;jelmer@samba.org&gt;

Autobuild-User(master): Jelmer Vernooij &lt;jelmer@samba.org&gt;
Autobuild-Date(master): Sat Dec 15 17:50:23 CET 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>s3-param: Move the options needed for running smbd in the AD DC to loadparm</title>
<updated>2012-11-01T10:47:22+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-11-01T00:26:16+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=75c51d6561f6f39dd02fd942709039b871957f44'/>
<id>75c51d6561f6f39dd02fd942709039b871957f44</id>
<content type='text'>
This avoids the whole fileserver.conf thing, and simply handles everything in C.

The main challenge is that if s3fs is enabled in a member server
configuration (unlikely) then these options will not be set, and it
overrides any other attempt to set these as globals.  (The previous
approach essentially just changed defaults, because the include =
of smb.conf was after the values were set in fileserver.conf).

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Thu Nov  1 11:47:22 CET 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This avoids the whole fileserver.conf thing, and simply handles everything in C.

The main challenge is that if s3fs is enabled in a member server
configuration (unlikely) then these options will not be set, and it
overrides any other attempt to set these as globals.  (The previous
approach essentially just changed defaults, because the include =
of smb.conf was after the values were set in fileserver.conf).

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;

Autobuild-User(master): Michael Adam &lt;obnox@samba.org&gt;
Autobuild-Date(master): Thu Nov  1 11:47:22 CET 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
<entry>
<title>file_server: put set create mask and directory mask in fileserver.conf</title>
<updated>2012-11-01T08:55:42+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-11-01T00:24:00+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fc5caffbc139d63cab1ec105884863f73772586f'/>
<id>fc5caffbc139d63cab1ec105884863f73772586f</id>
<content type='text'>
This allows any ACL to be set from the client, without restriction
from the Samba side.

Based on advise from Jermey at https://lists.samba.org/archive/samba-technical/2012-October/088414.html

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows any ACL to be set from the client, without restriction
from the Samba side.

Based on advise from Jermey at https://lists.samba.org/archive/samba-technical/2012-October/088414.html

Andrew Bartlett

Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Michael Adam &lt;obnox@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>file_server: Remove explicit set of passdb backend in fileserver.conf</title>
<updated>2012-09-04T12:05:34+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2012-09-04T10:31:03+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4def1c1780c98d6595b778a6647818b79dea797a'/>
<id>4def1c1780c98d6595b778a6647818b79dea797a</id>
<content type='text'>
The default is now set during smb.conf loading based on the server role
or during provision.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Tue Sep  4 14:05:34 CEST 2012 on sn-devel-104
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The default is now set during smb.conf loading based on the server role
or during provision.

Andrew Bartlett

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Tue Sep  4 14:05:34 CEST 2012 on sn-devel-104
</pre>
</div>
</content>
</entry>
</feed>
