/brz/remove-bazaar

To get this branch, use:
bzr branch http://gegoxaren.bato24.eu/bzr/brz/remove-bazaar

« back to all changes in this revision

Viewing changes to bzrlib/transport/ftp/_gssapi.py

  • Committer: Andrew Bennetts
  • Date: 2008-10-27 06:14:45 UTC
  • mfrom: (3793 +trunk)
  • mto: This revision was merged to the branch mainline in revision 3795.
  • Revision ID: andrew.bennetts@canonical.com-20081027061445-eqt9lz6uw1mbvq4g
Merge from bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
44
44
    """Extended version of ftplib.FTP that can authenticate using GSSAPI."""
45
45
 
46
46
    def mic_putcmd(self, line):
47
 
        rc = kerberos.authGSSClientWrap(self.vc, 
48
 
            base64.b64encode(line), kerberos.authGSSClientUserName(self.vc))
 
47
        rc = kerberos.authGSSClientWrap(self.vc, base64.b64encode(line))
49
48
        wrapped = kerberos.authGSSClientResponse(self.vc)
50
49
        ftplib.FTP.putcmd(self, "MIC " + wrapped)
51
50