diff --git a/ldap-server/CHANGELOG b/ldap-server/CHANGELOG
new file mode 100644
index 000000000..2b45913c7
--- /dev/null
+++ b/ldap-server/CHANGELOG
@@ -0,0 +1,2 @@
+---- Changes since 1.380 ----
+First version of this module, for configuring the OpenLDAP server and managing its database.
diff --git a/ldap-server/help/acl.html b/ldap-server/help/acl.html
new file mode 100644
index 000000000..2dae41cfd
--- /dev/null
+++ b/ldap-server/help/acl.html
@@ -0,0 +1,20 @@
+
+
+By default, an LDAP server allows any client that can connect to read all
+objects and attributes in the database. However, only the administrative user
+can perform updates. This may not be ideal for networks that have users with
+different levels of trust though, so OpenLDAP allows you to grant varying
+access levels to different users on different parts of the database.
+
+This page lists all access controls rules currently defined, if any. To create a
+new one, click the Add a new access control rule link. To remove several
+rules at once, check the boxes next to them and hit the Delete Selected
+Rules button. To change the ordering of rules, use the up and down arrows
+on the right-hand side of the table.
+
+As with most other LDAP server configuration changes, access control rules will
+not take effect until the Apply Configuration button is clicked on the
+module's main page.
+
+
+
diff --git a/ldap-server/help/intro.html b/ldap-server/help/intro.html
new file mode 100644
index 000000000..58dfa7f89
--- /dev/null
+++ b/ldap-server/help/intro.html
@@ -0,0 +1,22 @@
+
+
+This module allows you to configure the OpenLDAP directory server, and manage
+objects in its database. Assuming that you have the LDAP server installed on
+the same system as Webmin, the main page will show icons for editing the
+server configuration and managing the database. If the module is configured to
+talk to a remote LDAP server, it will instead only show icons for accessing
+the database.
+
+You can control whether it uses a local or remote server by clicking on the
+Module Config link. Only when managing a local server will pages
+be available to edit configuration files and stop, start and restart the
+OpenLDAP server process.
+
+If you are looking for a way to manage Unix users and groups in your LDAP
+database, try the LDAP Users and Groups module under the Webmin
+System category instead. To configure a system to fetch users and groups
+from a local or remote LDAP server, use the LDAP Client module, also
+under the System category.
+
+
+
diff --git a/ldap-server/help/schema.html b/ldap-server/help/schema.html
new file mode 100644
index 000000000..d9aea1b78
--- /dev/null
+++ b/ldap-server/help/schema.html
@@ -0,0 +1,25 @@
+
+
+The LDAP schema determines which object classes and attributes can be stored in
+your LDAP database. This page allows you to select which schema types are
+supported by your server, using the checkbox next to each schema file name.
+Once you have made changes, click Save to update the OpenLDAP
+configuration file, then Apply Configuration on the main page to
+activate them.
+
+Be careful de-selecting existing schema files though, as this may break your
+LDAP server if objects already exist in the database using the attributes
+defined in those files. The core schema which contains the most basic
+LDAP classes cannot be de-selected.
+
+The ordering of schemas is important, as later schemas can only refer to
+attributes defined previously. You can re-order the list using the up and down
+arrows on this page, but again this should be done with care for existing
+schemas in order to avoid breaking the LDAP database.
+
+To see what classes and attributes a schema defines, click on it's View
+link. If you are familiar with the schema format and want to edit a file,
+click Edit instead.
+
+
+
diff --git a/ldap-server/help/slapd.html b/ldap-server/help/slapd.html
new file mode 100644
index 000000000..5af2bda1e
--- /dev/null
+++ b/ldap-server/help/slapd.html
@@ -0,0 +1,36 @@
+OpenLDAP Server Configuration
+
+This page allows you to configure global settings for your OpenLDAP server,
+such as the root DN for the database, administration login, cache sizes
+and SSL certificates. The most commonly changed fields are :
+
+
+Root DN for LDAP database
+This field is for entering the DN (distinguished name) under which all
+ objects in your LDAP database must be stored. Typically it should be changed
+ to something matching your company or organization's name, like
+ dc=yourcompany,dc=com . But you are free to enter anything as long
+ as it is correctly formatted.
+
+
Administration login DN
+This is effectively the root user for your LDAP database. It should
+ be a DN under your root set in the above field, like
+ cn=Manager,dc=yourcompany,dc=com .
+
+
Administration password
+This field shows the current password (possibly encrypted), and an option
+ to enter a new one. If you change the password, the module will use it
+ automatically when connecting to the database to make changes.
+
+
+
+Any changes made on this page will not take effect until the Apply
+Configuration button is clicked on the module's main page.
+
+If you want your LDAP server to accept TLS encrypted connections, you must first
+generate an SSL certificate and public key. This can be mostly automated by
+clicking the Generate SSL Certificate button at the bottom of the page.
+
+
+
+
diff --git a/ldap-server/module.info b/ldap-server/module.info
index f8af0fa13..fe4cec82a 100644
--- a/ldap-server/module.info
+++ b/ldap-server/module.info
@@ -1,3 +1,4 @@
desc=LDAP Server
longdesc=Manage the OpenLDAP server and objects in its database
category=servers
+perldepends=Net::LDAP