<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/source3/lib, 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>lib: Remove "struct sid_parse_ret" again</title>
<updated>2019-03-12T00:42:19+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-03-11T16:11:06+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d7de2f77485bf623f8ca0edc5c0fb823ed9bc1e2'/>
<id>d7de2f77485bf623f8ca0edc5c0fb823ed9bc1e2</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Make sid_parse return the parsed length</title>
<updated>2019-03-12T00:42:19+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-03-11T15:55:57+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=e18610a197aab80a32cae8c1e09b96496679bbad'/>
<id>e18610a197aab80a32cae8c1e09b96496679bbad</id>
<content type='text'>
Use a temporary struct as a return value to make the compiler catch all
callers. If we just changed bool-&gt;ssize_t, this would just generate a
warning. struct sid_parse_ret will go away in the next commit

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use a temporary struct as a return value to make the compiler catch all
callers. If we just changed bool-&gt;ssize_t, this would just generate a
warning. struct sid_parse_ret will go away in the next commit

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/winbind_util: Add winbind_xid_to_sid for --without-winbind</title>
<updated>2019-03-06T01:53:16+00:00</updated>
<author>
<name>Christof Schmitt</name>
<email>cs@samba.org</email>
</author>
<published>2019-03-05T18:56:49+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4125ff89e44a3e98882cfc38c06e559a6e1e56a5'/>
<id>4125ff89e44a3e98882cfc38c06e559a6e1e56a5</id>
<content type='text'>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13813

Signed-off-by: Christof Schmitt &lt;cs@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Wed Mar  6 01:53:16 UTC 2019 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
BUG: https://bugzilla.samba.org/show_bug.cgi?id=13813

Signed-off-by: Christof Schmitt &lt;cs@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;

Autobuild-User(master): Jeremy Allison &lt;jra@samba.org&gt;
Autobuild-Date(master): Wed Mar  6 01:53:16 UTC 2019 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/winbind_util: Remove winbind_[gu]id_to_sid</title>
<updated>2019-03-06T00:50:15+00:00</updated>
<author>
<name>Christof Schmitt</name>
<email>cs@samba.org</email>
</author>
<published>2019-03-05T18:52:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=73bac6f9af66f3914f049621ce3caae528e2730f'/>
<id>73bac6f9af66f3914f049621ce3caae528e2730f</id>
<content type='text'>
Commit c906153cc7 removed these functions, now also remove them for the
--without-winbind case.

Signed-off-by: Christof Schmitt &lt;cs@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>
Commit c906153cc7 removed these functions, now also remove them for the
--without-winbind case.

Signed-off-by: Christof Schmitt &lt;cs@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib/winbind_util: Move include out of ifdef</title>
<updated>2019-03-06T00:50:14+00:00</updated>
<author>
<name>Christof Schmitt</name>
<email>cs@samba.org</email>
</author>
<published>2019-03-05T18:50:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4b1e4c22128bdefe549a58b181e9b755854f4c3e'/>
<id>4b1e4c22128bdefe549a58b181e9b755854f4c3e</id>
<content type='text'>
This fixes compile errors about missing prototypes with
--picky-developer and --without-winbind

Signed-off-by: Christof Schmitt &lt;cs@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>
This fixes compile errors about missing prototypes with
--picky-developer and --without-winbind

Signed-off-by: Christof Schmitt &lt;cs@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Use wrapper for string to integer conversion</title>
<updated>2019-03-01T00:32:10+00:00</updated>
<author>
<name>Swen Schillig</name>
<email>swen@linux.ibm.com</email>
</author>
<published>2019-01-28T11:54:07+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c9f4b92a6131dedcaa38d6fe907d17a30a595f06'/>
<id>c9f4b92a6131dedcaa38d6fe907d17a30a595f06</id>
<content type='text'>
In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Ralph Böhme &lt;slow@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>
In order to detect an value overflow error during
the string to integer conversion with strtoul/strtoull,
the errno variable must be set to zero before the execution and
checked after the conversion is performed. This is achieved by
using the wrapper function strtoul_err and strtoull_err.

Signed-off-by: Swen Schillig &lt;swen@linux.ibm.com&gt;
Reviewed-by: Ralph Böhme &lt;slow@samba.org&gt;
Reviewed-by: Jeremy Allison &lt;jra@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Remove some unused code</title>
<updated>2019-02-28T13:53:40+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-02-26T14:23:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c906153cc7af21abe508ddd30c447642327d6a5d'/>
<id>c906153cc7af21abe508ddd30c447642327d6a5d</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;

Autobuild-User(master): Volker Lendecke &lt;vl@samba.org&gt;
Autobuild-Date(master): Thu Feb 28 13:53:41 UTC 2019 on sn-devel-144
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;

Autobuild-User(master): Volker Lendecke &lt;vl@samba.org&gt;
Autobuild-Date(master): Thu Feb 28 13:53:41 UTC 2019 on sn-devel-144
</pre>
</div>
</content>
</entry>
<entry>
<title>lib: Introduce winbind_xid_to_sid</title>
<updated>2019-02-28T12:57:24+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-02-26T13:45:32+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=ef706a3e63b3e25edd27e0f99c3e2d8ff7209cb6'/>
<id>ef706a3e63b3e25edd27e0f99c3e2d8ff7209cb6</id>
<content type='text'>
This does not merge a winbind communication error into
"global_sid_NULL" (S-1-0-0), which by the way non-intuitively does not
go along with is_null_sid(). Instead, this just touches the output sid
when winbind returned success. This success might well be a negative
mapping indicated by S-0-0, which *is* is_null_sid()...

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This does not merge a winbind communication error into
"global_sid_NULL" (S-1-0-0), which by the way non-intuitively does not
go along with is_null_sid(). Instead, this just touches the output sid
when winbind returned success. This success might well be a negative
mapping indicated by S-0-0, which *is* is_null_sid()...

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</div>
</content>
</entry>
<entry>
<title>idmap_cache: Introduce idmap_cache_find_xid2sid</title>
<updated>2019-02-28T12:57:24+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-02-26T13:32:52+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=bb8122dd8c53bb307819a79b7888cc0940a7c13b'/>
<id>bb8122dd8c53bb307819a79b7888cc0940a7c13b</id>
<content type='text'>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</div>
</content>
</entry>
<entry>
<title>idmap_cache: Only touch "sid" on success in find_xid_to_sid</title>
<updated>2019-02-28T12:57:23+00:00</updated>
<author>
<name>Volker Lendecke</name>
<email>vl@samba.org</email>
</author>
<published>2019-02-26T11:46:39+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4faf3e9f6da7515fc263d79f77226d105c2f8524'/>
<id>4faf3e9f6da7515fc263d79f77226d105c2f8524</id>
<content type='text'>
Why? This makes the negative mapping condition (is_null_sid) more
explicit in the code.

The callers in lookup_sid initialized "psid" anyway before, and the ones
in wb_xids2sids now do as well. This is more in line with other APIs we
have: Only touch output parameters if you have something to say.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Why? This makes the negative mapping condition (is_null_sid) more
explicit in the code.

The callers in lookup_sid initialized "psid" anyway before, and the ones
in wb_xids2sids now do as well. This is more in line with other APIs we
have: Only touch output parameters if you have something to say.

Signed-off-by: Volker Lendecke &lt;vl@samba.org&gt;
Reviewed-by: Christof Schmitt &lt;cs@samba.org&gt;
Bug: https://bugzilla.samba.org/show_bug.cgi?id=13813
</pre>
</div>
</content>
</entry>
</feed>
