password authentication broken with python2.7
Bug #777999 reported by
Bevan
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
bcfg2 (Ubuntu) |
Fix Released
|
Undecided
|
Stéphane Graber | ||
Natty |
Fix Released
|
Undecided
|
Stéphane Graber |
Bug Description
Binary package hint: bcfg2
The bcfg2 client does not send his authentication data to the server when using python2.7 and authentication via password (BasicAuth) is enabled. So bcfg2 is completely useles when using this kind of configuration.
More information and a patch (which also will be included in the next bcfg2 version) can be found here:
http://
I think it would be a good idea to include this patch in the package.
Ubuntu version: 11.04 (natty)
Package version: 1.1.1-2ubuntu1
Changed in bcfg2 (Ubuntu): | |
status: | New → Incomplete |
status: | Incomplete → Confirmed |
Changed in bcfg2 (Ubuntu): | |
assignee: | nobody → Stéphane Graber (stgraber) |
status: | Confirmed → Triaged |
Changed in bcfg2 (Ubuntu Natty): | |
status: | New → In Progress |
milestone: | none → natty-updates |
assignee: | nobody → Stéphane Graber (stgraber) |
status: | In Progress → Fix Committed |
tags: |
added: verification-done removed: verification-needed |
To post a comment you must log in.
I have the same problem.
here is the patche you need to apply to the code.
i build the package in my ppa for testing here: https:/ /launchpad. net/~mgariepy/ +archive/ ppa/+packages
======= ======= ======= ======= ======= ======= ======= ======= ======= ==== 1.1.orig/ src/lib/ Proxy.py 2011-05-13 16:31:07.067761778 -0400 1.1/src/ lib/Proxy. py 2011-05-13 16:31:26.647790486 -0400
self. timeout = timeout
--- bcfg2-1.
+++ bcfg2-1.
@@ -250,7 +250,7 @@
def make_connection (self, host): host_info( host)[0] host_info( host)[0: 2] on(host, key=self.key, cert=self.cert, ca=self.ca,
scns= self.scns, timeout= self.timeout)
- host = self.get_
+ host, self._extra_headers = self.get_
http = SSLHTTPConnecti
https = httplib.HTTP()