From 795692773039685b213df7aa708f50688a1f0830 Mon Sep 17 00:00:00 2001 From: Matvey Aksenov Date: Sat, 11 Apr 2015 16:59:41 +0000 Subject: [PATCH] Minor --- site/index.html | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/site/index.html b/site/index.html index 577bd20..1352029 100644 --- a/site/index.html +++ b/site/index.html @@ -112,7 +112,7 @@ $ cabal install ldap-haskell/ldap-haskell.cabal

Before all that, though, here's the obligatory module header describing the language extensions and imports used later, - so you can follow along: + so that you can follow along:

{-# LANGUAGE OverloadedStrings #-}
@@ -123,7 +123,7 @@ $ cabal install ldap-haskell/ldap-haskell.cabal

LDAP Authentication

- The typical LDAP authentication routine has three steps. + The typical LDAP authentication routine has three steps:

  1. Try and bind with the manager's DN and password. Manager here means any account that is able to look up information in the Directory. @@ -133,7 +133,7 @@ $ cabal install ldap-haskell/ldap-haskell.cabal

    - We will encapsulate the first two steps in a separate function as it is a + We will encapsulate the first two steps in a separate function as it's a fairly self-contained operation:

    @@ -151,8 +151,8 @@ findUser l (managerDn, managerPassword) userName =

    - The third step uses the Dn; we will pass it through since - it will be useful to changePassword. + The third step uses the Dn we've got from findUser; we will + pass it through since it will be useful to changePassword.

    @@ -165,10 +165,6 @@ login l (managerDn, managerPassword) (userName, userPassword) = return userDn
    -

    - In the real code you will, obviously, use something better than error. -

    -

    Changing user's password