CVS: tmda-cgi Authenticate.py,1.14,1.15 ChangeLog,1.40,1.41 Install.py,1.18,1.19 THANKS,1.14,1.15 UPGRADE,1.17,1.18
Gre7g Luterman <[email protected]>
| Newsgroups | gmane.mail.spam.tmda.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/tmda/tmda-cgi
In directory sc8-pr-cvs1:/tmp/cvs-serv5193
Modified Files:
Authenticate.py ChangeLog Install.py THANKS UPGRADE
Log Message:
Added %(RealHome)s as a substitution variable during auto-install.
Captured remote authentication failure.
Index: Authenticate.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Authenticate.py,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- Authenticate.py 13 May 2003 16:12:36 -0000 1.14
+++ Authenticate.py 7 Jun 2003 03:49:42 -0000 1.15
@@ -25,6 +25,7 @@
import crypt
import os
import random
+import socket
import sys
import Template
@@ -97,6 +98,9 @@
RetVal = Authenticate( Form["user"].value, Form["password"].value )
except Errors.AuthError, error:
Except = "\n*** EXCEPTION CAUGHT ***: %s" % error.msg
+ RetVal = 0
+ except socket.error, (error, msg):
+ Except = "\n*** EXCEPTION CAUGHT ***: %s" % msg
RetVal = 0
Template.Template.Dict["ErrMsg"] = "Capturing the debug stream...\n" + \
DebugStringOutput.__repr__() + Except
Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/ChangeLog,v
retrieving revision 1.40
retrieving revision 1.41
diff -u -r1.40 -r1.41
--- ChangeLog 3 Jun 2003 15:36:23 -0000 1.40
+++ ChangeLog 7 Jun 2003 03:49:42 -0000 1.41
@@ -1,3 +1,9 @@
+2003-06-06 Gre7g Luterman <[email protected]>
+
+ * Added %(RealHome)s as a substitution variable during auto-install.
+
+ * Captured remote authentication failure.
+
2003-06-03 Gre7g Luterman <[email protected]>
* Improved domain guessing logic in installer. Added CONFIRM_ADDRESS
Index: Install.py
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/Install.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Install.py 3 Jun 2003 15:36:23 -0000 1.18
+++ Install.py 7 Jun 2003 03:49:42 -0000 1.19
@@ -24,6 +24,7 @@
import binascii
import glob
import os
+import pwd
import re
import sys
import time
@@ -633,6 +634,7 @@
"Domain": Util.gethostname(),
"Home": os.environ["HOME"],
"Parent": "..",
+ "RealHome": pwd.getpwuid(os.geteuid())[5],
"UrlDomain": os.environ["SERVER_NAME"],
"User": os.environ["USER"],
"VPop": PVars[("NoOverride", "VPop")],
Index: THANKS
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/THANKS,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- THANKS 31 May 2003 18:11:10 -0000 1.14
+++ THANKS 7 Jun 2003 03:49:42 -0000 1.15
@@ -22,7 +22,7 @@
setup and the proper way to interface to the
libraries
- * Bernard Johnson -- RPM & RPM guidance
+ * Bernard Johnson -- RPM & RPM guidance, bug finding, feature suggestions
* Rob Leachman -- bug finding
Index: UPGRADE
===================================================================
RCS file: /cvsroot/tmda/tmda-cgi/UPGRADE,v
retrieving revision 1.17
retrieving revision 1.18
diff -u -r1.17 -r1.18
--- UPGRADE 26 May 2003 03:49:21 -0000 1.17
+++ UPGRADE 7 Jun 2003 03:49:42 -0000 1.18
@@ -1,5 +1,12 @@
======================================================================
+If you are upgrading from a release of tmda-cgi < 0.11:
+
+* Added "%(RealHome)s" as one of the substitution variables available
+ during auto-install.
+
+======================================================================
+
If you are upgrading from a release of tmda-cgi < 0.10:
* Requires TMDA release 0.77 or later.
_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs