10Sstevel@tonic-gate /* 20Sstevel@tonic-gate * lib/krb5/ccache/ccdefops.c 30Sstevel@tonic-gate * 40Sstevel@tonic-gate * Copyright 1990 by the Massachusetts Institute of Technology. 50Sstevel@tonic-gate * All Rights Reserved. 60Sstevel@tonic-gate * 70Sstevel@tonic-gate * Export of this software from the United States of America may 80Sstevel@tonic-gate * require a specific license from the United States Government. 90Sstevel@tonic-gate * It is the responsibility of any person or organization contemplating 100Sstevel@tonic-gate * export to obtain such a license before exporting. 11*7934SMark.Phalan@Sun.COM * 120Sstevel@tonic-gate * WITHIN THAT CONSTRAINT, permission to use, copy, modify, and 130Sstevel@tonic-gate * distribute this software and its documentation for any purpose and 140Sstevel@tonic-gate * without fee is hereby granted, provided that the above copyright 150Sstevel@tonic-gate * notice appear in all copies and that both that copyright notice and 160Sstevel@tonic-gate * this permission notice appear in supporting documentation, and that 170Sstevel@tonic-gate * the name of M.I.T. not be used in advertising or publicity pertaining 180Sstevel@tonic-gate * to distribution of the software without specific, written prior 190Sstevel@tonic-gate * permission. Furthermore if you modify this software you must label 200Sstevel@tonic-gate * your software as modified software and not distribute it in such a 210Sstevel@tonic-gate * fashion that it might be confused with the original M.I.T. software. 220Sstevel@tonic-gate * M.I.T. makes no representations about the suitability of 230Sstevel@tonic-gate * this software for any purpose. It is provided "as is" without express 240Sstevel@tonic-gate * or implied warranty. 25*7934SMark.Phalan@Sun.COM * 260Sstevel@tonic-gate * 270Sstevel@tonic-gate * Default credentials cache determination. This is a separate file 280Sstevel@tonic-gate * so that the user can more easily override it. 290Sstevel@tonic-gate */ 300Sstevel@tonic-gate 31*7934SMark.Phalan@Sun.COM #include "k5-int.h" 320Sstevel@tonic-gate 33781Sgtb #if defined(USE_CCAPI) 340Sstevel@tonic-gate 350Sstevel@tonic-gate /* 360Sstevel@tonic-gate * Macs use the shared, memory based credentials cache 370Sstevel@tonic-gate * Windows may also use the ccapi cache, but only if the Krbcc32.dll 38*7934SMark.Phalan@Sun.COM * can be found; otherwise it falls back to using the old 390Sstevel@tonic-gate * file-based ccache. 400Sstevel@tonic-gate */ 410Sstevel@tonic-gate #include "stdcc.h" /* from ccapi subdir */ 420Sstevel@tonic-gate 43781Sgtb const krb5_cc_ops *krb5_cc_dfl_ops = &krb5_cc_stdcc_ops; 440Sstevel@tonic-gate 450Sstevel@tonic-gate #else 460Sstevel@tonic-gate 47*7934SMark.Phalan@Sun.COM #include "fcc.h" 48781Sgtb const krb5_cc_ops *krb5_cc_dfl_ops = &krb5_cc_file_ops; 490Sstevel@tonic-gate 500Sstevel@tonic-gate #endif 51