Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Anonymous access?
#1
Select All
mujzeptu


2008-10-15 14:39:12 PDT
Does OpenDocMan have anonymous access? Id like to be able to have people not have to login and have anon access and be able to view, modify, etc certain files for all anon users.

mujzeptu


2008-10-15 14:39:54 PDT
Also, can you have it utilize LDAP authentication for logins?

jonathanwminer


2008-10-16 05:54:46 PDT
You have two options for LDAP authentication:

1) Configure LDAP authentication within ODM. This should be possible with the modular authentication framework. But, I don't have the resources in place to test LDAP at the moment.

2) Configure your web server to require LDAP authentication, and then configure ODM to use the web server's authentication framework.

Good Luck
mujzeptu


2008-10-21 09:43:51 PDT
Ok great thanks.


Any idea on getting anonymous access though?
psychomekk


2008-10-27 05:27:53 PDT
I created a guest account and then modified the welcome page to show users the username and password.
mujzeptu


2008-11-06 14:57:37 PST
Ok great, thanks for the help everyone.

Any idea on directions or a how-to for making apache and ODM use LDAP auth? Im pretty sure I can get the apache end going but dont know what it requires to, "Configure your web server to require LDAP authentication, and then configure ODM to use the web server's authentication framework. "

jonathanwminer


2008-11-07 05:30:39 PST
Check the Apache website for docs... they're all there. Basically, you're going to do something like this:

ScriptAlias /opendocman "/real/path/to/opendocman"

<Directory "/real/path/to/opendocman">
Options ExecCGI
AllowOverride None
Order allow,deny
Allow from all
AuthName "YOUR_DOMAIN"
AuthType Basic
AuthBasicAuthoritative off
AuthBasicProvider ldap
AuthzLDAPAuthoritative off
AuthLDAPURL "ldap://YOUR.SERVER.NAME:389/LDAP_QUERY"
AuthLDAPBindDN <!-- e --><a href="mailto:[email protected]">[email protected]</a><!-- e -->
AuthLDAPBindPassword PASSWORD
Require valid-user
</Directory>

The LDAPBind entries are required if you need a username and password to query LDAP. The trickiest part is the LDAPURL, but your LDAP Admin should be able to help you out.

Once that works, ODM will use the REMOTE_USER variable. Make sure that you have whatever patches are required for the authentication stuff


Forum Jump:


Users browsing this thread: 1 Guest(s)