Environment
Apache2
Novell Open Enterprise Server
Suse Linux Enterprise Server
Novell Open Enterprise Server
Suse Linux Enterprise Server
Resolution
- Go to yast and enable following modules under apache modules:ldap, auth_ldap
- Enter following lines to any directory directive that you want
to provide with LDAP authenticated access
AuthType Basic
AuthName "protected"
AuthLDAPAuthoritative On
require valid-user
AuthLDAPURL ldap://137.65.62.18:389/o=novell?uid?sub?
AuthName "protected"
AuthLDAPAuthoritative On
require valid-user
AuthLDAPURL ldap://137.65.62.18:389/o=novell?uid?sub?
This is a basic setup. There are more directives you can use, and more examples listed on apache home page:
http://httpd.apache.org/docs/2.0/mod/mod_auth_ldap.html
full example:
Alias /test1 "/media/nss/VOL1/test1"
AuthType Basic
AuthName "protected"
AuthLDAPAuthoritative On
AuthLDAPURL ldap://137.65.62.18:389/o=novell?uid?sub?
require valid-user
DirectoryIndex index.html
Options all
Order allow,deny
Allow from all
AuthType Basic
AuthName "protected"
AuthLDAPAuthoritative On
AuthLDAPURL ldap://137.65.62.18:389/o=novell?uid?sub?
require valid-user
DirectoryIndex index.html
Options all
Order allow,deny
Allow from all