Novell Home

MOD_NDS for Apache on NetWare

Novell Cool Solutions: Tip

Digg This - Slashdot This

Posted: 18 Jun 2002
 

MOD_NDS is an Apache module that was derived from an implementation for Linux that is based on the NCPFS API. The module was originally developed by Philip R. Wilson and is publicly available under the GNU General Public License. The NetWare implementation of MOD_NDS simply replaces the calls to NCPFS with direct calls to the NetWare DSAPI. By doing so, MOD_NDS is also able to force Apache to respect the file rights that are manipulated through Novell NDS eDirectory and enforced by the file system. This level of file access could not be achieved by the Linux version of MOD_NDS.

MOD_NDS does not require SSL, but it is recommended -- otherwise the username/password will be passed in clear text.

Here is one way to configure the Apache server's HTTPD.CONF file to use MOD_NDS:

<Directory "<path to directory>">
  Options Indexes Includes FollowSymLinks
  AllowOverride None
  AuthType Basic
  AuthName "Secure_Site"
  AuthNDSTree TREE_NAME
  AuthNDSContext .organization [.context.organization]
  AuthNDSRequireSSL [on|off]
  require valid-user
  order allow,deny
  allow from all
</Directory>

If you put it in a VirtualHost which is running on :443 it will use SSL, if you just put it in your main configuration, it will use :80.

To learn more about securing Apache on NetWare, read the February 2001 AppNotes that covers the module in detail.


Novell Cool Solutions (corporate web communities) are produced by WebWise Solutions. www.webwiseone.com

© 2014 Novell