~ubuntu-branches/ubuntu/maverick/krb5/maverick

« back to all changes in this revision

Viewing changes to src/lib/krb4/sed-cyg.sh

  • Committer: Bazaar Package Importer
  • Author(s): Sam Hartman
  • Date: 2009-05-07 16:16:34 UTC
  • mfrom: (13.1.7 sid)
  • Revision ID: james.westby@ubuntu.com-20090507161634-xqyk0s9na0le4flj
Tags: 1.7dfsg~beta1-4
When  decrypting the TGS response fails with the subkey, try with the
session key to work around Heimdal bug, Closes: #527353 

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
#!/bin/sh
2
 
# Produce a sed script for converting Kerberos Cygnus V4 filenames to proposed
3
 
# names -- for converting old makefiles and doc.
4
 
# We fix any "oldfoo." into "newfoo." including .c and .o and .h files.
5
 
awk '/^@ / {    if ($6 != "")
6
 
                        if ($6 != $4)
7
 
                                print "s/" $6 "/" $4 "/g"
8
 
                        else ;
9
 
                else if ($2 != $4 && $2 != "-")
10
 
                        print "s/" $2 "/" $4 "/g"
11
 
          }
12
 
     /^@sed / { print $2 }
13
 
    ' <ren.msg | grep -v '(gone)' | sed 's/\.c/\\./g'