Print this page
6817447 libgss and various mechs are hiding both the real minor_status and the error token
6405422 Solaris acceptors fail in AD-KDC environments when using non-"host" services (e.g. "cifs")
6824434 Unable to accept context establishment initiated by Windows 2000 clients
6787343 kclient's site lookups fail in certain network environments
6692646 kclient should output errors to stderr
6525327 kinit failed when arcfour-hmac-md5-exp was used for the principal's key
6745582 SUNWkdcu missing package dependencies after kclientv2 integration

Split Close
Expand all
Collapse all
          --- old/usr/src/lib/libgss/g_accept_sec_context.c
          +++ new/usr/src/lib/libgss/g_accept_sec_context.c
   1    1  /*
   2    2   * CDDL HEADER START
   3    3   *
   4    4   * The contents of this file are subject to the terms of the
   5      - * Common Development and Distribution License, Version 1.0 only
   6      - * (the "License").  You may not use this file except in compliance
   7      - * with the License.
        5 + * Common Development and Distribution License (the "License").
        6 + * You may not use this file except in compliance with the License.
   8    7   *
   9    8   * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
  10    9   * or http://www.opensolaris.org/os/licensing.
  11   10   * See the License for the specific language governing permissions
  12   11   * and limitations under the License.
  13   12   *
  14   13   * When distributing Covered Code, include this CDDL HEADER in each
  15   14   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
  16   15   * If applicable, add the following below this CDDL HEADER, with the
  17   16   * fields enclosed by brackets "[]" replaced with your own identifying
  18   17   * information: Portions Copyright [yyyy] [name of copyright owner]
  19   18   *
  20   19   * CDDL HEADER END
  21   20   */
       21 +
  22   22  /*
  23      - * Copyright 2005 Sun Microsystems, Inc.  All rights reserved.
       23 + * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
  24   24   * Use is subject to license terms.
  25   25   */
  26   26  
  27      -#pragma ident   "%Z%%M% %I%     %E% SMI"
  28      -
  29   27  /*
  30   28   *  glue routine for gss_accept_sec_context
  31   29   */
  32   30  
  33   31  #include <mechglueP.h>
  34   32  #ifdef HAVE_STDLIB_H
  35   33  #include <stdlib.h>
  36   34  #endif
  37   35  #include <string.h>
  38   36  #include <errno.h>
↓ open down ↓ 283 lines elided ↑ open up ↑
 322  320          if (union_ctx_id) {
 323  321                  if (union_ctx_id->mech_type) {
 324  322                          if (union_ctx_id->mech_type->elements)
 325  323                                  free(union_ctx_id->mech_type->elements);
 326  324                          free(union_ctx_id->mech_type);
 327  325                  }
 328  326                  free(union_ctx_id);
 329  327                  *context_handle = GSS_C_NO_CONTEXT;
 330  328          }
 331  329  
 332      -        if (output_token->length)
 333      -                (void) gss_release_buffer(&t_minstat, output_token);
 334      -
 335  330          if (src_name)
 336  331                  *src_name = GSS_C_NO_NAME;
 337  332  
 338  333          if (tmp_src_name != GSS_C_NO_NAME)
 339  334                  (void) gss_release_buffer(&t_minstat,
 340  335                          (gss_buffer_t)tmp_src_name);
 341  336  
 342  337          return (status);
 343  338  }
    
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX