~ubuntu-branches/debian/experimental/nfs-utils/experimental

« back to all changes in this revision

Viewing changes to utils/gssd/context_mit.c

  • Committer: Bazaar Package Importer
  • Author(s): Anibal Monsalve Salazar
  • Date: 2006-07-08 14:26:40 UTC
  • mfrom: (1.2.4 upstream)
  • Revision ID: james.westby@ubuntu.com-20060708142640-r171kjj2a13gy2kz
Tags: 1:1.0.9-1
* Updated co-mantainer mail address.
* New upstream release.
  - Added 'mount.nfs' utility which can be used as a mount helper
    to mount nfs filesystems. It does not yet support 'user' mounts.
  - Makefile/autoconf tidyups
  - No compiles with no warnings
  - deleted debian/* at request of debian maintainer
  - deleted assorted other unused files
  - mountd can be run multi-threaded for configurations with many hundreds
    of clients (mountd -t 20).  Default is single-threaded
  - Support for selection NFS version to be exported, and protocol to
    use.  This requires kernel patches that should be in linux 2.6.19.
  - Use 65534 rather than -2 for default anon.  This makes no difference in many
    cases, but is important in some.
  - New utility 'rpcdebug' for controlled kernel 'debug' options for nfs and nfsd.
  - nfsstat reports NFSv4 operation statistics that should be available in
    linux 2.6.18.
  - assorted other fixes

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
   uint64_t seq_recv;           /* gssint_uint64 */
87
87
   void *seqstate;
88
88
   krb5_auth_context auth_context;
89
 
   gss_buffer_desc *mech_used;  /* gss_OID_desc */
 
89
   gss_OID_desc *mech_used;     /* gss_OID_desc */
90
90
    /* Protocol spec revision
91
91
       0 => RFC 1964 with 3DES and RC4 enhancements
92
92
       1 => draft-ietf-krb-wg-gssapi-cfx-01
123
123
        int established;
124
124
        int big_endian;
125
125
        krb5_auth_context auth_context;
126
 
        gss_buffer_desc *mech_used;
 
126
        gss_OID_desc *mech_used;
127
127
        int nctypes;
128
128
        krb5_cksumtype *ctypes;
129
129
} krb5_gss_ctx_id_rec, *krb5_gss_ctx_id_t;
343
343
        if (WRITE_BYTES(&p, end, kctx->endtime)) goto out_err;
344
344
        word_seq_send = kctx->seq_send;
345
345
        if (WRITE_BYTES(&p, end, word_seq_send)) goto out_err;
346
 
        if (write_buffer(&p, end, kctx->mech_used)) goto out_err;
 
346
        if (write_oid(&p, end, kctx->mech_used)) goto out_err;
347
347
 
348
348
        printerr(2, "serialize_krb5_ctx: serializing keys with "
349
349
                 "enctype %d and length %d\n",