<feed xmlns='http://www.w3.org/2005/Atom'>
<title>samba.git/python/samba/netcmd/shell.py, branch talloc-2.4.2</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>netcmd: add shell command</title>
<updated>2023-12-15T03:51:55+00:00</updated>
<author>
<name>Rob van der Linde</name>
<email>rob@catalyst.net.nz</email>
</author>
<published>2023-11-02T07:28:34+00:00</published>
<link rel='alternate' type='text/html' href='https://git.exis.tech/samba.git/commit/?id=83e36d97c956c2dba1caef45e0205cb5b1b164f3'/>
<id>83e36d97c956c2dba1caef45e0205cb5b1b164f3</id>
<content type='text'>
A simple samba-tool shell, can be quite useful to play around with the ldb database and models.

All models get imported and the samdb connection variable made available.

Example usage:

    bin/samba-tool shell -H &lt;host&gt; --workgroup &lt;workgroup&gt; --realm &lt;realm&gt;

&gt;&gt;&gt; silos = AuthenticationSilo.query(ldb)
&gt;&gt;&gt; for silo in silos:
...     print(silo)
...

Signed-off-by: Rob van der Linde &lt;rob@catalyst.net.nz&gt;
Reviewed-by: Joseph Sutton &lt;josephsutton@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): Fri Dec 15 03:51:55 UTC 2023 on atb-devel-224
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
A simple samba-tool shell, can be quite useful to play around with the ldb database and models.

All models get imported and the samdb connection variable made available.

Example usage:

    bin/samba-tool shell -H &lt;host&gt; --workgroup &lt;workgroup&gt; --realm &lt;realm&gt;

&gt;&gt;&gt; silos = AuthenticationSilo.query(ldb)
&gt;&gt;&gt; for silo in silos:
...     print(silo)
...

Signed-off-by: Rob van der Linde &lt;rob@catalyst.net.nz&gt;
Reviewed-by: Joseph Sutton &lt;josephsutton@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): Fri Dec 15 03:51:55 UTC 2023 on atb-devel-224
</pre>
</div>
</content>
</entry>
</feed>
