CVS: tmda/TMDA Auth.py,1.18,1.19 ChangeLog,1.277,1.278

Gre7g Luterman <[email protected]>
Newsgroups gmane.mail.spam.tmda.cvs
Message-ID <[email protected]>
Update of /cvsroot/tmda/tmda/TMDA
In directory sc8-pr-cvs1:/tmp/cvs-serv8331

Modified Files:
	Auth.py ChangeLog 
Log Message:
Fixed a bug in the LDAP code found by Chet McNeill.


Index: Auth.py
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/Auth.py,v
retrieving revision 1.18
retrieving revision 1.19
diff -u -r1.18 -r1.19
--- Auth.py	21 May 2003 04:57:26 -0000	1.18
+++ Auth.py	21 Jun 2003 02:30:17 -0000	1.19
@@ -529,7 +529,7 @@
             try:
                 M = ldap.initialize("ldap://%s:%s" % (self.__authremote['host'],
                                                       self.__authremote['port']))
-                M.simple_bind_s(self.__authremote['dn'] % { user: username }, password)
+                M.simple_bind_s(self.__authremote['dn'] % { 'user': username }, password)
                 M.unbind_s()
                 return 1
             except:

Index: ChangeLog
===================================================================
RCS file: /cvsroot/tmda/tmda/TMDA/ChangeLog,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -r1.277 -r1.278
--- ChangeLog	9 Jun 2003 02:20:51 -0000	1.277
+++ ChangeLog	21 Jun 2003 02:30:17 -0000	1.278
@@ -1,3 +1,7 @@
+2003-06-20  Gre7g Luterman  <[email protected]>
+
+	* Fixed a bug in the LDAP code found by Chet McNeill.
+
 2003-06-08  Jason R. Mastaler  <[email protected]>
 
 	* Util.py (maketext): Now accepts an absolute pathname to a

_______________________________________
tmda-cvs mailing list
http://tmda.net/lists/listinfo/tmda-cvs
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.