<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba/netcmd/user, branch talloc-2.4.4</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>samba-tool: add user keytrust command</title>
<updated>2025-08-20T04:34:37+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2025-08-06T02:01:14+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=2681fe5df87db07b080e12fa7aeaaea0a0518546'/>
<id>2681fe5df87db07b080e12fa7aeaaea0a0518546</id>
<content type='text'>
This allows manipulation of key credential links for users.

See `man -l bin/default/docs-xml/manpages/samba-tool.8` for
documentation.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This allows manipulation of key credential links for users.

See `man -l bin/default/docs-xml/manpages/samba-tool.8` for
documentation.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user disable: add new --remove-supplemental-groups option</title>
<updated>2025-01-23T19:51:05+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2024-11-20T16:54:17+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=21a88df032c6e481b547fad2c48d14243a514035'/>
<id>21a88df032c6e481b547fad2c48d14243a514035</id>
<content type='text'>
Removes all supplemental groups from a user, what is commonly
wanted when a user is disabled.

Pair-programmed-with: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;

Autobuild-User(master): Björn Baumbach &lt;bb@sernet.de&gt;
Autobuild-Date(master): Thu Jan 23 19:51:05 UTC 2025 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Removes all supplemental groups from a user, what is commonly
wanted when a user is disabled.

Pair-programmed-with: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;

Autobuild-User(master): Björn Baumbach &lt;bb@sernet.de&gt;
Autobuild-Date(master): Thu Jan 23 19:51:05 UTC 2025 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user disable: make sure that filter matches only one user</title>
<updated>2025-01-23T18:53:37+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2024-11-20T16:24:10+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f924724e462577d2fb6a5077a5ef7b5254cdec53'/>
<id>f924724e462577d2fb6a5077a5ef7b5254cdec53</id>
<content type='text'>
toggle_userAccountFlags() can only handle one user.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
toggle_userAccountFlags() can only handle one user.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user disable: rename filter variable to search_filter</title>
<updated>2025-01-23T18:53:37+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2024-11-20T16:10:12+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=b19445a8f00cbb64e81e604b818b905f6ae17011'/>
<id>b19445a8f00cbb64e81e604b818b905f6ae17011</id>
<content type='text'>
filter() is a Python built-in function to filter iterables.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
filter() is a Python built-in function to filter iterables.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user disable: set proper --filter option description</title>
<updated>2025-01-23T18:53:37+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2024-11-20T16:03:24+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=462d0d667c09012f7c81d1b94f739ef8ebe5fd03'/>
<id>462d0d667c09012f7c81d1b94f739ef8ebe5fd03</id>
<content type='text'>
Seems to be copied from samba-tool user setpassword command.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Seems to be copied from samba-tool user setpassword command.

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Jule Anger &lt;janger@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: hashlib.sha1 is always present</title>
<updated>2024-12-20T07:04:31+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2024-12-11T02:56:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4af4dd8135e8edbe2a16cfdfc7ded8c145c82e98'/>
<id>4af4dd8135e8edbe2a16cfdfc7ded8c145c82e98</id>
<content type='text'>
We maybe thought we were checking that sha1 was in hashlib, but we were
only checking that hashlib is in the Python library (`hashlib.sha1()`
would not raise ImportError).

The documentation says hashlib always contains sha1 -- if that
changes, it is better we know by failing noisily with the import error
at the top of the file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15756

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We maybe thought we were checking that sha1 was in hashlib, but we were
only checking that hashlib is in the Python library (`hashlib.sha1()`
would not raise ImportError).

The documentation says hashlib always contains sha1 -- if that
changes, it is better we know by failing noisily with the import error
at the top of the file.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15756

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: use _glue.crypt, not crypt.crypt</title>
<updated>2024-12-20T07:04:31+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2024-12-11T02:54:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=405187d2ef4920a9a284649c9c3287f5844d5180'/>
<id>405187d2ef4920a9a284649c9c3287f5844d5180</id>
<content type='text'>
Because we know we have _glue.crypt, and we know it raises exceptions
rather than returning None, we can simplify the checks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15756

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Because we know we have _glue.crypt, and we know it raises exceptions
rather than returning None, we can simplify the checks.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15756

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>netcmd: More explicit warning when python-gpg is missing</title>
<updated>2024-10-31T00:23:09+00:00</updated>
<author>
<name>Andréas Leroux</name>
<email>aleroux@tranquil.it</email>
</author>
<published>2024-10-30T14:34:35+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4f3005f851ae62ea5beb3914b4f4dac455767681'/>
<id>4f3005f851ae62ea5beb3914b4f4dac455767681</id>
<content type='text'>
Signed-off-by: Andréas Leroux &lt;aleroux@tranquil.it&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Jennifer Sutton &lt;jennifersutton@catalyst.net.nz&gt;

Autobuild-User(master): Douglas Bagnall &lt;dbagnall@samba.org&gt;
Autobuild-Date(master): Thu Oct 31 00:23:09 UTC 2024 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andréas Leroux &lt;aleroux@tranquil.it&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Jennifer Sutton &lt;jennifersutton@catalyst.net.nz&gt;

Autobuild-User(master): Douglas Bagnall &lt;dbagnall@samba.org&gt;
Autobuild-Date(master): Thu Oct 31 00:23:09 UTC 2024 on atb-devel-224
</pre>
</div>
</content>
</entry>
<entry>
<title>netcmd: user: Fix typo in samba-tool error message</title>
<updated>2024-09-10T00:14:40+00:00</updated>
<author>
<name>Lyanis Souidi</name>
<email>lyanis.souidi@u-pec.fr</email>
</author>
<published>2024-09-09T14:34:19+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=8d0b8178dd143a02c47c514e2959efb9f54ca936'/>
<id>8d0b8178dd143a02c47c514e2959efb9f54ca936</id>
<content type='text'>
Fix typo in "samba-tool user add" error message when adding a user with
NIS features : the argument for the uid number is --uid-number and not
--uidNumber.

RN: Fix typo in samba-tool error message.

Signed-off-by: Lyanis Souidi &lt;lyanis.souidi@u-pec.fr&gt;
Reviewed-by: Jennifer Sutton &lt;josutton@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix typo in "samba-tool user add" error message when adding a user with
NIS features : the argument for the uid number is --uid-number and not
--uidNumber.

RN: Fix typo in samba-tool error message.

Signed-off-by: Lyanis Souidi &lt;lyanis.souidi@u-pec.fr&gt;
Reviewed-by: Jennifer Sutton &lt;josutton@catalyst.net.nz&gt;
Reviewed-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user readpasswords: avoid `assert` for validation</title>
<updated>2024-06-11T05:32:28+00:00</updated>
<author>
<name>Douglas Bagnall</name>
<email>douglas.bagnall@catalyst.net.nz</email>
</author>
<published>2024-02-02T02:01:21+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=db342d86a9ccd15f764cb8e0a91774e1f8fd7858'/>
<id>db342d86a9ccd15f764cb8e0a91774e1f8fd7858</id>
<content type='text'>
`assert` can be optimised away if python is run with `-O`.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Jo Sutton &lt;josutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Tue Jun 11 05:32:28 UTC 2024 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
`assert` can be optimised away if python is run with `-O`.

Signed-off-by: Douglas Bagnall &lt;douglas.bagnall@catalyst.net.nz&gt;
Reviewed-by: Jo Sutton &lt;josutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;

Autobuild-User(master): Andrew Bartlett &lt;abartlet@samba.org&gt;
Autobuild-Date(master): Tue Jun 11 05:32:28 UTC 2024 on atb-devel-224
</pre>
</div>
</content>
</entry>
</feed>
