<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://fungur.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=Python%2FSamba</id>
	<title>Python/Samba - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://fungur.eu/wiki/index.php?action=history&amp;feed=atom&amp;title=Python%2FSamba"/>
	<link rel="alternate" type="text/html" href="https://fungur.eu/wiki/index.php?title=Python/Samba&amp;action=history"/>
	<updated>2026-04-18T10:31:42Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in Shea Wiki</subtitle>
	<generator>MediaWiki 1.43.1</generator>
	<entry>
		<id>https://fungur.eu/wiki/index.php?title=Python/Samba&amp;diff=125&amp;oldid=prev</id>
		<title>Suelmann: 1 Version importiert</title>
		<link rel="alternate" type="text/html" href="https://fungur.eu/wiki/index.php?title=Python/Samba&amp;diff=125&amp;oldid=prev"/>
		<updated>2021-12-20T12:27:41Z</updated>

		<summary type="html">&lt;p&gt;1 Version importiert&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 20. Dezember 2021, 14:27 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-notice&quot; lang=&quot;de&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(kein Unterschied)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;</summary>
		<author><name>Suelmann</name></author>
	</entry>
	<entry>
		<id>https://fungur.eu/wiki/index.php?title=Python/Samba&amp;diff=124&amp;oldid=prev</id>
		<title>Suelmann am 1. Januar 1970 um 00:00 Uhr</title>
		<link rel="alternate" type="text/html" href="https://fungur.eu/wiki/index.php?title=Python/Samba&amp;diff=124&amp;oldid=prev"/>
		<updated>1970-01-01T00:00:00Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;__NOTOC__&lt;br /&gt;
= Encoding sambaNTPassword With Python =&lt;br /&gt;
&lt;br /&gt;
Samba&amp;#039;s sambaNTPassword attribute, which mimics the corresponding NT / Active Directory attribute, has a value that must be a hex encoded MD4 hash of the user&amp;#039;s password with a UTF-16 encoding. Fortunately generating such a string is a Python one-liner.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;&amp;lt;nowiki&amp;gt;&lt;br /&gt;
import hashlib&lt;br /&gt;
&lt;br /&gt;
password = &amp;#039;fred123&amp;#039;&lt;br /&gt;
nt_password = hashlib.new(&amp;#039;md4&amp;#039;, password.encode(&amp;#039;utf-16le&amp;#039;)).digest().encode(&amp;#039;hex&amp;#039;).upper()&lt;br /&gt;
&amp;lt;/nowiki&amp;gt;&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Note that Samba wants all the alpha characters in the string as upper-case. The result will always be 32 characters long. &lt;br /&gt;
&lt;br /&gt;
----&lt;br /&gt;
[[KategorieWissen]]&lt;br /&gt;
&lt;/div&gt;</summary>
		<author><name>Suelmann</name></author>
	</entry>
</feed>