Dear Wiki user,

You have subscribed to a wiki page or wiki category on "Httpd Wiki" for change 
notification.

The following page has been changed by noodl:
http://wiki.apache.org/httpd/UseLDAPToPasswordProtectAFolder

The comment on the change is:
s/require/Require/ (pet hate) and remove excess newlines

------------------------------------------------------------------------------
  ||OpenLDAP|| ||http://www.openldap.org/software/download/|| ||OpenLDAP is 
going to be our LDAP Server.||
  ||Apache HTTP Server|| ||http://httpd.apache.org/download.cgi|| ||Apache HTTP 
Server...||
  ||PHPLDAPAdmin|| ||http://phpldapadmin.sourceforge.net/|| ||PHPLDAPAdmin is a 
web based LDAP editing tool||
- 
- 
- 
- 
- 
- 
- 
- 
- 
  
  
  Ok, for the purpose of this document, we will show you how to add the 
required statements, to a !VirtualHost.
@@ -51, +42 @@

  AuthLDAPBindDN          cn=apacheldap,dc=mydomain,dc=com
  AuthLDAPBindPassword    letmein
  AuthLDAPURL ldap://localhost/dc=mydomain,dc=com?cn?sub
- require valid-user
+ Require valid-user
  
  # -- LDAP Auth Ends Here -- #
        
@@ -77, +68 @@

  ||AuthLDAPBindDN|| ||Bind to the LDAP server for all operations using a 
specific user ID.  In this case we will use 
''cn=apacheldap,dc=mydomain,dc=com'' (this is the account we mentioned earlier 
in the document).||
  ||AuthLDAP!BindPassword|| ||Bind to the LDAP server for all operations using 
a specific password.  In this case '' 'letmein' ''||
  ||AuthLDAPURL !ldap://localhost/dc=mydomain,dc=com?cn?sub|| ||This line tells 
Apache which server, and path to use to authenticate against.  In this example, 
Apache will check the local LDAP server, in tree ''dc=mydomain,dc=com'', and it 
will then search for cn fields, recursively.  If we use 
''cn=apacheldap,dc=mydomain,dc=com'' as an example, you will notice that the cn 
for the apacheldap account in ''apacheldap''.  This means when prompted by your 
browser for a username, you should ebter your canonical name.  You can set this 
to sn, gn, etc and then you will be required to login as your first name, or 
surname.||
- ||require valid-user|| ||This line instrcucts Apache to ensure the username 
entered in the browser matches that of one in the LDAP tree.||
+ ||Require valid-user|| ||This line instrcucts Apache to ensure the username 
entered in the browser matches that of one in the LDAP tree.||
- 
  
  
  === Steps ===

Reply via email to