aboutsummaryrefslogtreecommitdiff
path: root/src/lib/krb5/os/ccdefname.c
AgeCommit message (Collapse)AuthorFilesLines
2002-09-03protoizeKen Raeburn1-5/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14816 dc483132-0cff-0310-8789-dd5450dbe970
2002-06-22 * c_ustime.c: Remove various things missed in 1-2-2-branch MacOSTom Yu1-3/+3
microseconds timer removal. * c_ustime.c: punted the accurate microseconds timing code because it wasn't so accurate after all. [pullup from 1-2-2-branch] * init_os_ctx.c: Add CoreServices.h before k5-int.h so we don't get multiple definitions for FSSpec. Also removed an unused variable in Mac OS X code and added casts for Mac OS X code so FSSpecs are cast to profile file types (code deals properly on the other side) * timeofday.c: Added casts to remove warnings * ccdefname.c, init_os_ctx.c, timeofday.c: Updated Mac OS X headers to new framework layout and updated Mac OS macros * read_pwd.c: Removed #defines for Mac OS X (__MACH__) because we now export krb5_read_password on Mac OS X [pullups from 1-2-2-branch] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@14559 dc483132-0cff-0310-8789-dd5450dbe970
2001-10-06Danilo also says we can get rid of _MSDOS (Win16) tests, and explicit ↵Ken Raeburn1-3/+3
FAR/NEAR specs git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13786 dc483132-0cff-0310-8789-dd5450dbe970
2001-10-04Danilo says we can get rid of the DLLIMP stuff nowKen Raeburn1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@13775 dc483132-0cff-0310-8789-dd5450dbe970
2000-06-30 * t_an_to_ln.c: Include <stdio.h> for prototypesEzra Peisach1-1/+1
* locate_kdc.c (krb5_locate_srv_dns): Remove unused variable. * changepw.c, sendto_kdc.c, sn2princ.c: Add parentheses around assignment used as truth value. * ccdefname.c (get_from_os): Cast return from getuid() to long and indicate use of format in sprintf. gcc -Wall complaints. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12482 dc483132-0cff-0310-8789-dd5450dbe970
2000-06-27pullup from 1.2 branchKen Raeburn1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12442 dc483132-0cff-0310-8789-dd5450dbe970
2000-04-132000-4-13 Alexandra Ellwood <lxs@mit.edu>Alexandra Ellwood1-0/+7
* ccdefname.c: Added support to store a krb5_principal in the os_context along with the default ccache name (if known, this principal is the same as the last time we looked at the ccache. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12167 dc483132-0cff-0310-8789-dd5450dbe970
1999-11-22Replaced Kerberos5GlobalsLib calls with CCAPI v3 calls on MacOSMiro Jurisic1-6/+29
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11907 dc483132-0cff-0310-8789-dd5450dbe970
1999-09-24copyright notice updates from 1.1 branchKen Raeburn1-1/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11853 dc483132-0cff-0310-8789-dd5450dbe970
1999-06-17* ccdefname.c (get_from_registry_indirect, try_dir, get_from_os):Danilo Almeida1-15/+24
Extra robustness to win32 code. * init_os_ctx.c (krb5_get_config_files, krb5_free_config_files): Add function to get config files being used for current context with corresponding free function. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11520 dc483132-0cff-0310-8789-dd5450dbe970
1999-06-16For profile name, enhance win32 heuristics to use environment variableDanilo Almeida1-15/+88
(like Unix) and registry. Also try executable's dir before windows dir if not secure. For ccname, enhance win32 heuristics to use registry properly. Default to API:krb5cc properly, and to use temp dirs before the windows dir. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11516 dc483132-0cff-0310-8789-dd5450dbe970
1999-03-23Fix window's get_from_os() call so that gets the default cache name ifTheodore Tso1-1/+1
the strategy of getting the information from the registry fails (which it normally will, since this is used only for PC-DCE compatibility). git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11301 dc483132-0cff-0310-8789-dd5450dbe970
1999-03-12Check to make sure the context is valid and return an error if itTheodore Tso1-1/+9
isn't. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11273 dc483132-0cff-0310-8789-dd5450dbe970
1999-02-26Fixed missing Mac#includeMiro Jurisic1-0/+4
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11227 dc483132-0cff-0310-8789-dd5450dbe970
1999-02-20 * ccdefname.c (get_from_os): Add missing close-paren; also replaceTom Yu1-2/+3
#elif just in case. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11200 dc483132-0cff-0310-8789-dd5450dbe970
1999-02-20Added get_from_os for MacOSMiro Jurisic1-13/+12
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11192 dc483132-0cff-0310-8789-dd5450dbe970
1999-02-09ccdefname.c (get_from_os): On the Windows platform, automaticallyTheodore Tso1-3/+11
generate the correct default cache name based on what krb5_cc_dfl_ops is set to. realm_dom.c (krb5_get_realm_domain): Add modifiers so that this function can get exported in a Windows DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11154 dc483132-0cff-0310-8789-dd5450dbe970
1999-02-02ccdefname.c: Add a new function krb5_cc_set_default_name(), which isTheodore Tso1-114/+109
used set the default ccname stored in the krb5_context. All of the OS-specific functions to determine the default ccname is moved to this function. The krb5_cc_default_name() function now just reads the default ccname from the os_context, and will call krb5_cc_set_default_name() to set the default ccname if necessary. t_std_conf: Added functions to test krb5_cc_default_name and krb5_cc_set_default_name(). Fixed the call to krb5_locate_kdc to support the new variables added by the Cygnus initial ticket API merge. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@11140 dc483132-0cff-0310-8789-dd5450dbe970
1998-09-26We shouldn't try to use the CCache API on Unix systems. (The maze ofTheodore Tso1-2/+2
#ifdef's was confusing.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10939 dc483132-0cff-0310-8789-dd5450dbe970
1998-09-01ccdefname.c (krb5_cc_default_name): Changed the PC version to use theTheodore Tso1-19/+8
CCache API by default. Removed the old Macintosh code that had been commented out. (If we need to ressurect it, we'll get it from CVS.) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10904 dc483132-0cff-0310-8789-dd5450dbe970
1998-08-21Changed Mac specific stuff to use CCache APIMiro Jurisic1-9/+12
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10861 dc483132-0cff-0310-8789-dd5450dbe970
1998-07-17Replaced preprocessor symbol _MACINTOSH with macintosh, since macintosh is ↵Miro Jurisic1-1/+1
the standard symbol defined by all Mac compiler (oh, sure, it doesn't have _. but at least it's always there) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10653 dc483132-0cff-0310-8789-dd5450dbe970
1998-01-13Changed all PBGetCatInfo to PBGetCatInfoSync for new UH'sMarshall Vale1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10350 dc483132-0cff-0310-8789-dd5450dbe970
1997-09-15 * ccdefname.c (krb5_cc_default_name): Returns a const char *Ezra Peisach1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10198 dc483132-0cff-0310-8789-dd5450dbe970
1997-02-28If RegKRB5CCNAME is set in kerberos.ini, use that value to determine theRichard Basch1-6/+49
registry key that contains the credential cache name to use. This indirection provides a means of interoperating with Gradent's PC-DCE product. [deengert@anl.gov] git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9990 dc483132-0cff-0310-8789-dd5450dbe970
1997-02-06Windows/NT integration (V1_0_WIN32_BRANCH merge)Richard Basch1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9788 dc483132-0cff-0310-8789-dd5450dbe970
1996-06-12net_read.c (krb5_net_read):Theodore Tso1-1/+1
net_write.c (krb5_net_write): In case of an error, on Windows machines, set errno from SOCKET_ERRNO, since the interface assumes the error is passed back the errno global varaible. This really needs to be fixed sometime... read_msg.c: If ECONNABORTED is not defined, try using the Winsock version of the error code (WSAECONNABORTED). read_pwd.c: promptusr.c: lock_file.c: kuserok.c: ktdefname.c (krb5_kt_default_name): init_os_ctx.c (os_init_paths): ccdefname.c: an_to_ln.c (db_an_to_ln): Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8316 dc483132-0cff-0310-8789-dd5450dbe970
1995-09-11Mac Beta 1 submissionKeith Vetter1-1/+68
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@6749 dc483132-0cff-0310-8789-dd5450dbe970
1995-04-14Windows global stuff:Keith Vetter1-1/+1
o removed INTERFACE from non-api functions o add FAR to pointers visible to the world o made the tests for __STDC__ also check for _WINDOWS o creates GSSAPI.DLL & GSSAPI.LIB as per spec. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5354 dc483132-0cff-0310-8789-dd5450dbe970
1995-04-07Changed syntax for windows on the stored ccache file nameKeith Vetter1-7/+5
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5345 dc483132-0cff-0310-8789-dd5450dbe970
1995-03-29* ccdefname.c: On Mac, default cred cache is "STDIO:krb5cc" for now.John Gilmore1-0/+4
FIXME, this needs to find the Preferences folder and use that. FIXME, shouldn't be conditioned on HAVE_MACSOCK_H. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5308 dc483132-0cff-0310-8789-dd5450dbe970
1995-03-29Added functionality for windows to read default file locations fromKeith Vetter1-3/+12
windows ini files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5307 dc483132-0cff-0310-8789-dd5450dbe970
1995-03-07Port of most of the OS directory to the PCKeith Vetter1-1/+6
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5079 dc483132-0cff-0310-8789-dd5450dbe970
1995-02-28Avoid <krb5/...> includesJohn Gilmore1-5/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5014 dc483132-0cff-0310-8789-dd5450dbe970
1995-01-13Removed all references to DECLARG and OLDDECLARG.Chris Provenzano1-1/+2
Added krb5_context to all krb5_routines. Moved init_ctx.c to init_os_ctx.c because a library cannot have more than on file with the same name. See krb5/krb/init_ctx.c git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4811 dc483132-0cff-0310-8789-dd5450dbe970
1994-08-18stamp out rcs keywordsMark Eichin1-6/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4191 dc483132-0cff-0310-8789-dd5450dbe970
1994-06-10Use #define in osconf.h to determine the name of the KRB5_CCNAME environmentTheodore Tso1-1/+2
variable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@3714 dc483132-0cff-0310-8789-dd5450dbe970
1993-09-01Change export warning notice from "is assumed to require an export license"Theodore Tso1-2/+2
to "may require..." git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2638 dc483132-0cff-0310-8789-dd5450dbe970
1991-06-06Update copyright noticeJohn Kohl1-2/+16
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@2156 dc483132-0cff-0310-8789-dd5450dbe970
1991-03-05fix copyrightsJohn Kohl1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1857 dc483132-0cff-0310-8789-dd5450dbe970
1990-05-25fix reference to copyright/distribution provisionsJohn Kohl1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@945 dc483132-0cff-0310-8789-dd5450dbe970
1990-02-12use ext-proto.h rather than stdlib.hJohn Kohl1-1/+1
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@343 dc483132-0cff-0310-8789-dd5450dbe970
1990-02-03Need to specify ticket cache typeBill Sommerfeld1-2/+2
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@237 dc483132-0cff-0310-8789-dd5450dbe970
1990-01-30First versionBill Sommerfeld1-0/+38
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@193 dc483132-0cff-0310-8789-dd5450dbe970