Skip to content

Commit

Permalink
Remove remaining references to "password level" in the tree
Browse files Browse the repository at this point in the history
Reviewed-by: Simo Sorce <[email protected]>

Autobuild-User(master): Simo Sorce <[email protected]>
Autobuild-Date(master): Tue Jun 11 16:25:54 CEST 2013 on sn-devel-104
  • Loading branch information
abartlet authored and simo5 committed Jun 11, 2013
1 parent 3f73002 commit c0cbf59
Show file tree
Hide file tree
Showing 10 changed files with 2 additions and 41 deletions.
2 changes: 1 addition & 1 deletion docs-xml/Samba3-HOWTO/TOSHARG-Diagnosis.xml
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,7 @@ If it says <quote><errorname>bad password,</errorname></quote> then the likely c
<listitem>
<para>
You have explicitly disabled encrypted passwords with
<smbconfoption name="encrypt passwords">no</smbconfoption> have a mixed-case password and you haven't enabled the <smbconfoption name="password level"/> option at a high enough level.
<smbconfoption name="encrypt passwords">no</smbconfoption> have a mixed-case password.
</para>
</listitem>

Expand Down
7 changes: 1 addition & 6 deletions docs-xml/Samba3-HOWTO/TOSHARG-ServerType.xml
Original file line number Diff line number Diff line change
Expand Up @@ -494,7 +494,6 @@ when using clear-text authentication:

<?latex \newpage ?>
<smbconfblock>
<smbconfoption name="password level"><replaceable>integer</replaceable></smbconfoption>
<smbconfoption name="username level"><replaceable>integer</replaceable></smbconfoption>
</smbconfblock>

Expand All @@ -509,11 +508,7 @@ is rarely needed.
<indexterm><primary>clear-text</primary></indexterm>
However, passwords on UNIX systems often make use of mixed-case characters. This means that in order for a
user on a Windows 9x/Me client to connect to a Samba server using clear-text authentication, the
<smbconfoption name="password level"/> must be set to the maximum number of uppercase letters that
<emphasis>could</emphasis> appear in a password. Note that if the Server OS uses the traditional DES version
of crypt(), a <smbconfoption name="password level"/> of 8 will result in case-insensitive passwords as seen
from Windows users. This will also result in longer login times because Samba has to compute the permutations
of the password string and try them one by one until a match is located (or all combinations fail).
password must be in lower case.
</para>

<para>
Expand Down
14 changes: 0 additions & 14 deletions docs-xml/using_samba/appc.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1858,20 +1858,6 @@ options.</para>
</refsynopsisdiv>
</refentry>

<refentry id="appc-refentry-134">
<refmeta>
<refmiscinfo class="allowable values">number</refmiscinfo>
<refmiscinfo class="default">0</refmiscinfo>
</refmeta>
<refnamediv>
<refname>[global] password level = number</refname>
</refnamediv>
<refsynopsisdiv>
<para>Specifies the number of uppercase letter permutations used to match passwords. Workaround for clients that change passwords to a single case before sending them to the Samba server. Causes repeated login attempts with passwords in different cases, which can trigger account lockouts.</para>

</refsynopsisdiv>
</refentry>

<refentry id="appc-refentry-135">
<refmeta>
<refmiscinfo class="allowable values">list of NetBIOS names</refmiscinfo>
Expand Down
14 changes: 0 additions & 14 deletions docs-xml/using_samba/ch06.xml
Original file line number Diff line number Diff line change
Expand Up @@ -1578,20 +1578,6 @@ Password changed for user dave</programlisting>

<row>

<entry colname="col1"><para><literal>password level</literal></para></entry>

<entry colname="col2"><para>numeric</para></entry>

<entry colname="col3"><para>Sets the number of capital letter permutations to attempt when matching a client's password.</para></entry>

<entry colname="col4"><para>None</para></entry>

<entry colname="col5"><para>Global</para></entry>

</row>

<row>

<entry colname="col1"><para><literal>null passwords</literal></para></entry>

<entry colname="col2"><para>boolean</para></entry>
Expand Down
1 change: 0 additions & 1 deletion examples/dce-dfs/smb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
guest account = guest
log file = /usr/local/samba/var/log.%m
log level = 8
password level = 8

[homes]
comment = Home Directories
Expand Down
1 change: 0 additions & 1 deletion examples/scripts/shares/python/smbparm.py
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,6 @@
"WINBINDUID" : ("idmap uid", SambaParmString, P_GLOBAL, ""),
"READRAW" : ("read raw", SambaParmBool, P_GLOBAL, "Yes"),
"WINBINDENUMGROUPS" : ("winbind enum groups", SambaParmBool, P_GLOBAL, "Yes"),
"PASSWORDLEVEL" : ("password level", SambaParmString, P_GLOBAL, "0"),
"MAXPRINTJOBS" : ("max print jobs", SambaParmString, P_LOCAL, "1000"),
"PRINTCAP" : ("printcap name", SambaParmString, P_GLOBAL, ""),
"LOADPRINTERS" : ("load printers", SambaParmBool, P_GLOBAL, "Yes"),
Expand Down
1 change: 0 additions & 1 deletion examples/tridge/smb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
log file = /usr/local/samba/var/log.%m
guest account = pcguest
hosts allow = 192.0.2. localhost
password level = 2
auto services = tridge susan
message command = csh -c '/usr/bin/X11/xedit -display :0 %s;rm %s' &
read prediction = yes
Expand Down
1 change: 0 additions & 1 deletion examples/tridge/smb.conf.fjall
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
;log level = 4
;readraw = no
;writeraw = no
;password level = 4
;mangled map = (;1 )
;protocol = lanman1
;user = susan
Expand Down
1 change: 0 additions & 1 deletion packaging/LSB/smb.conf
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,6 @@

# Password Level allows matching of _n_ characters of the password for
# all combinations of upper and lower case.
; password level = 8
; username level = 8

# You may wish to use password encryption. Please read
Expand Down
1 change: 0 additions & 1 deletion python/samba/upgrade.py
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,6 @@ def enable_samba3sam(samdb, ldapurl):
"smb passwd file",
"private dir",
"passwd chat",
"password level",
"lanman auth",
"ntlm auth",
"client NTLMv2 auth",
Expand Down

0 comments on commit c0cbf59

Please sign in to comment.