summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJens Vagelpohl <jens@netz.ooo>2001-03-27 03:27:48 +0000
committerJens Vagelpohl <jens@netz.ooo>2001-03-27 03:27:48 +0000
commit61562524a34d964462bfddfb14a6795b050e6d16 (patch)
tree9a46842eaef76b67fd6856b33545b96a01a0a64c
parent5402d761e379dac53d87b4f055d1d23a637e714d (diff)
downloadLDAPRoleTwiddler-61562524a34d964462bfddfb14a6795b050e6d16.zip
LDAPRoleTwiddler-61562524a34d964462bfddfb14a6795b050e6d16.tar.gz
More help for the helpless
-rw-r--r--LDAPLoginAdapter.py3
-rw-r--r--README.txt2
-rw-r--r--help/LDAPLoginAdapter_Contents.stx39
3 files changed, 42 insertions, 2 deletions
diff --git a/LDAPLoginAdapter.py b/LDAPLoginAdapter.py
index c2b7cbd..81859dc 100644
--- a/LDAPLoginAdapter.py
+++ b/LDAPLoginAdapter.py
@@ -53,7 +53,8 @@ class LDAPLoginAdapter(BasicUserFolder, ObjectManager, Implicit, Base):
'help' : ('LDAPLoginAdapter', 'LDAPLoginAdapter_Caches.stx') },
{'label' : 'Search', 'action' : 'manage_finduser',
'help' : ('LDAPLoginAdapter', 'LDAPLoginAdapter_Search.stx') },
- {'label' : 'Contents', 'action' : 'manage_contents'},
+ {'label' : 'Contents', 'action' : 'manage_contents',
+ 'help' : ('LDAPLoginAdapter', 'LDAPLoginAdapter_Contents.stx')},
{'label' : 'Log', 'action' : 'manage_showlog',
'help' : ('LDAPLoginAdapter', 'LDAPLoginAdapter_Log.stx') },
)
diff --git a/README.txt b/README.txt
index 446bfd1..41bd4f8 100644
--- a/README.txt
+++ b/README.txt
@@ -39,7 +39,7 @@ README for the Zope LDAPLoginAdapter Product
In order to authenticate you can force the usage of the
default login page by going to:
- http://<my.site.com>/acl_users/default_loginpage
+ http://my.site.com/acl_users/default_loginpage
Type in your name and password and hit the button. You
will stay on the same page, even if the authentication
diff --git a/help/LDAPLoginAdapter_Contents.stx b/help/LDAPLoginAdapter_Contents.stx
new file mode 100644
index 0000000..279d3c8
--- /dev/null
+++ b/help/LDAPLoginAdapter_Contents.stx
@@ -0,0 +1,39 @@
+LDAPLoginAdapter - Contents: Place to store custom login pages
+
+ Description
+
+ This is where you instantiate a custom login page. Simply
+ select DTML Method from the Add list and fill in the contents.
+
+ **Warning**
+
+ It is *very easy* to lock yourself out of your own site if you
+ do the following:
+
+ o Enable cookie-based authentication
+
+ o Instantiate a login page that does not do the right thing
+
+
+ Check out the code in the LDAPLoginAdapter install directory
+ under dtml/login.dtml for what a login page has to do. You
+ want to make sure that you have a *form* which posts at
+ least 2 input fields named *__ac__name* (user name) and
+ *__ac_password* (password) back.
+
+
+ **Help, I locked myself out of my own site!**
+
+ This can happen if you create a custom login page within
+ the LDAPLoginAdapter which does not do the right thing and
+ the authentication method is set to use cookies.
+
+ In order to authenticate you can force the usage of the
+ default login page by going to:
+
+ http://my.site.com/acl_users/default_loginpage
+
+ Type in your name and password and hit the button. You
+ will stay on the same page, even if the authentication
+ succeeded, you can then type the desired address into your
+ browser's navigation bar.