- Strip unnecessary trailing spaces

Approved by:	doceng (implicit)
This commit is contained in:
Gabor Kovesdan 2012-08-21 19:16:02 +00:00
parent b2153405c5
commit 2e51ec7022
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/projects/sgml2xml/; revision=39416
1363 changed files with 63242 additions and 63242 deletions

View file

@ -1,4 +1,4 @@
#
#
# $FreeBSD$
#
# Article: LDAP Authentication

View file

@ -52,7 +52,7 @@
explanation of <filename role="package">net/nss_ldap</filename>
and <filename role="package">security/pam_ldap</filename> for use with
client machines services for use with the LDAP server.</para>
<para>When finished, the reader should be able to configure and
deploy a &os; server that can host an LDAP directory, and to
configure and deploy a &os; server which can authenticate against
@ -397,7 +397,7 @@ cn: tuser</programlisting>
<para><filename role="package">security/pam_ldap</filename> is
configured via <filename>/usr/local/etc/ldap.conf</filename>.</para>
<note>
<para>This is a <emphasis>different file</emphasis> than the
<application>OpenLDAP</application> library functions'
@ -616,7 +616,7 @@ ldappasswd -D uid="$USER",ou=people,dc=example,dc=org \
<example id="chpw-ruby">
<title>Ruby script for changing passwords</title>
<programlisting><![CDATA[require 'ldap'
require 'base64'
require 'digest'
@ -632,7 +632,7 @@ def get_password
raise if pwd1 != pwd2
pwd1.check # check password strength
salt = rand.to_s.gsub(/0\./, '')
pass = pwd1.to_s
hash = "{SSHA}"+Base64.encode64(Digest::SHA1.digest("#{pass}#{salt}")+salt).chomp!