<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba/netcmd/user.py, branch talloc-2.3.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>python: Remove redundant assignments</title>
<updated>2022-05-10T05:19:34+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-05-05T09:32:13+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=455c083ec375a58a648021543ac51faca02bc0b6'/>
<id>455c083ec375a58a648021543ac51faca02bc0b6</id>
<content type='text'>
Signed-off-by: Joseph Sutton &lt;josephsutton@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>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andreas Schneider &lt;asn@samba.org&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: Consistently return a tuple</title>
<updated>2022-05-05T00:27:33+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-04-10T23:50:53+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=f85f6f89f128882d96ba0613dc7647f00100e8d3'/>
<id>f85f6f89f128882d96ba0613dc7647f00100e8d3</id>
<content type='text'>
We would get an error when get_userPassword_hash() returned None, as
get_virtual_crypt_value() would try to unpack the result as a 2-element
tuple.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We would get an error when get_userPassword_hash() returned None, as
get_virtual_crypt_value() would try to unpack the result as a 2-element
tuple.

Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: Remove unused imports</title>
<updated>2022-05-05T00:27:33+00:00</updated>
<author>
<name>Joseph Sutton</name>
<email>josephsutton@catalyst.net.nz</email>
</author>
<published>2022-04-10T23:50:25+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c3b2dae027eeb980227160ab7ded7fe108b0ea14'/>
<id>c3b2dae027eeb980227160ab7ded7fe108b0ea14</id>
<content type='text'>
Signed-off-by: Joseph Sutton &lt;josephsutton@catalyst.net.nz&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: Joseph Sutton &lt;josephsutton@catalyst.net.nz&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: add ';format=[GeneralizedTime,UnixTime,TimeSpec]' support in "samba-tool user show"</title>
<updated>2021-03-01T03:50:35+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2021-01-19T10:47:02+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=c6a570004d9b31e154dfbc1a08d1aa983d22173e'/>
<id>c6a570004d9b31e154dfbc1a08d1aa983d22173e</id>
<content type='text'>
This is useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This is useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: add ';format=[GeneralizedTime,UnixTime,TimeSpec]' support</title>
<updated>2021-03-01T03:50:35+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2021-01-19T10:47:20+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=4d0491324a60f1fbd3f739e607c68fe460802db4'/>
<id>4d0491324a60f1fbd3f739e607c68fe460802db4</id>
<content type='text'>
These are useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
These are useful to convert various time values to other formats.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: use an implicit_attrs list instead of add_ATTR variables</title>
<updated>2021-03-01T03:50:35+00:00</updated>
<author>
<name>Stefan Metzmacher</name>
<email>metze@samba.org</email>
</author>
<published>2021-01-18T14:51:37+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=98ee82d4fc89bdea316b02fc066e26f9fa6f1f97'/>
<id>98ee82d4fc89bdea316b02fc066e26f9fa6f1f97</id>
<content type='text'>
We'll extent GetPasswordCommand.get_password_attributes() to handle
more virtual formats in future. It'll be much easier to
to maintain a list of attributes we need to filter out again.

sAMAccountName and userPrincipalName are always implicitly
requested in order to keep the existing code sane.

supplementalCredentials and unicodePwd are requested by default
when generating virtual password attributes.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We'll extent GetPasswordCommand.get_password_attributes() to handle
more virtual formats in future. It'll be much easier to
to maintain a list of attributes we need to filter out again.

sAMAccountName and userPrincipalName are always implicitly
requested in order to keep the existing code sane.

supplementalCredentials and unicodePwd are requested by default
when generating virtual password attributes.

Pair-Programmed-With: Björn Baumbach &lt;bb@sernet.de&gt;

Signed-off-by: Stefan Metzmacher &lt;metze@samba.org&gt;
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: use remote domain information</title>
<updated>2021-03-01T03:50:35+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2021-01-19T09:53:48+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=fdc44a14e470df785a39bbf15691b443284a7c4d'/>
<id>fdc44a14e470df785a39bbf15691b443284a7c4d</id>
<content type='text'>
Required, when running get_account_attributes() against a remote samdb.

avoid:
ERROR(&lt;class 'AttributeError'&gt;): uncaught exception - 'NoneType' object has no attribute 'get'
  File "bin/python/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/user.py", line 2769, in run
    obj = self.get_account_attributes(samdb, username,
  File "bin/python/samba/netcmd/user.py", line 1250, in get_account_attributes
    realm = self.lp.get("realm")

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Required, when running get_account_attributes() against a remote samdb.

avoid:
ERROR(&lt;class 'AttributeError'&gt;): uncaught exception - 'NoneType' object has no attribute 'get'
  File "bin/python/samba/netcmd/__init__.py", line 186, in _run
    return self.run(*args, **kwargs)
  File "bin/python/samba/netcmd/user.py", line 2769, in run
    obj = self.get_account_attributes(samdb, username,
  File "bin/python/samba/netcmd/user.py", line 1250, in get_account_attributes
    realm = self.lp.get("realm")

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool user: fix some typos</title>
<updated>2021-03-01T03:50:35+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2021-01-19T17:04:38+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=26f63e648ae102a0b305b2db45ffd89b60af4ff7'/>
<id>26f63e648ae102a0b305b2db45ffd89b60af4ff7</id>
<content type='text'>
Signed-off-by: Björn Baumbach &lt;bb@sernet.de&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: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samba-tool: Optionally hide disabled/expired accounts in "user list"</title>
<updated>2021-01-15T15:24:37+00:00</updated>
<author>
<name>Björn Baumbach</name>
<email>bb@sernet.de</email>
</author>
<published>2020-12-23T12:00:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=7dad13cc86fa603d1ae9c2b00c26686a5f652dc2'/>
<id>7dad13cc86fa603d1ae9c2b00c26686a5f652dc2</id>
<content type='text'>
  --hide-expired        Do not list expired user accounts
  --hide-disabled       Do not list disabled user accounts

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
  --hide-expired        Do not list expired user accounts
  --hide-disabled       Do not list disabled user accounts

Signed-off-by: Björn Baumbach &lt;bb@sernet.de&gt;
Reviewed-by: Volker Lendecke &lt;vl@samba.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>samdb: Add samdb.domain_netbios_name()</title>
<updated>2020-11-11T01:15:39+00:00</updated>
<author>
<name>Andrew Bartlett</name>
<email>abartlet@samba.org</email>
</author>
<published>2020-11-10T00:46:28+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=d79218dbba3d0f26d6a0e22b3c91b0731bf641dd'/>
<id>d79218dbba3d0f26d6a0e22b3c91b0731bf641dd</id>
<content type='text'>
Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Signed-off-by: Andrew Bartlett &lt;abartlet@samba.org&gt;
Reviewed-by: Gary Lockyer &lt;gary@catalyst.net.nz&gt;
</pre>
</div>
</content>
</entry>
</feed>
