Snapshot release 20030305-1237
Charles Cazabon <[email protected]> 5 Mar 2003 18:38:15 -0000
| Newsgroups | gmane.mail.bikini.devel |
|---|---|
| Message-ID | <[email protected]> |
Snapshot 20030305-1237 released and uploaded. From the CHANGELOG:
2003-03-05
Argh, fix AUTH PLAIN token generation in client and README.
Diff follows.
diff -urN --exclude=bikini.html --exclude=bikini.txt --exclude=CHANGELOG bikini-20030305-1234/README bikini-20030305-1237/README
--- bikini-20030305-1234/README Wed Mar 5 12:34:24 2003
+++ bikini-20030305-1237/README Wed Mar 5 12:37:52 2003
@@ -115,7 +115,7 @@
BikINI. To easily generate the necessary base64 token for using AUTH PLAIN
or AUTH LOGIN, do the following:
- python2.2 -c 'print "username\0password\0".encode ("base64")[:-1]'
+ python2.2 -c 'print "username\0\0password".encode ("base64")'
Running the example client software
diff -urN --exclude=bikini.html --exclude=bikini.txt --exclude=CHANGELOG bikini-20030305-1234/bikini/client.py bikini-20030305-1237/bikini/client.py
--- bikini-20030305-1234/bikini/client.py Wed Mar 5 12:34:24 2003
+++ bikini-20030305-1237/bikini/client.py Wed Mar 5 12:37:52 2003
@@ -125,7 +125,7 @@
me = '%s pid %i euid %i' % (os.path.split(sys.argv[0])[1], os.getpid(), os.geteuid())
log (INFO, '%s: starting BikINI client session.\n' % me)
try:
- authtoken = ('%s\0%s\0' % (user, password)).encode ('base64')[:-1]
+ authtoken = ('%s\0\0%s' % (user, password)).encode ('base64')[:-1]
command ('AUTH', ['PLAIN', authtoken])
log (INFO, 'auth response: "%s"\n' % response ())
command ('LISTDIRS')