summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* net_read.c (krb5_net_read):Theodore Tso1996-06-1212-13/+48
| | | | | | | | | | | | | | | | | | | | | 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
* sendauth.c (krb5_sendauth): If ECCONABORTED is not defined, try usingTheodore Tso1996-06-123-1/+14
| | | | | | | | | the Winsock equivalent (WSAECONNABORTED). parse.c (krb5_parse_name): Change use of _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8315 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-122-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8314 dc483132-0cff-0310-8789-dd5450dbe970
* scc_read.c:Theodore Tso1996-06-123-5/+11
| | | | | | | scc_gennew.c (krb5_scc_generate_new): Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8313 dc483132-0cff-0310-8789-dd5450dbe970
* fcc-proto.h: Change use of PROTOTYPE to KRB5_PROTOTYPE.Theodore Tso1996-06-125-65/+81
| | | | | | | | | | | | | Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP. fcc-getnam.c: Change use of INTERFACE to KRB5_CALLCONV and KRB5_DLLIMP, since fcc_getname returns a char * and the old INTERFACE method bombs out when the return type contains an indirection. fcc_read.c: fcc_ops.c: Change _WINDOWS to _MSDOS, and add check for _WIN32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8312 dc483132-0cff-0310-8789-dd5450dbe970
* Remove unnecessary include config/windows.in. wconfig takes care ofTheodore Tso1996-06-122-1/+5
| | | | | | this automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8311 dc483132-0cff-0310-8789-dd5450dbe970
* Change use of _WINDOWS to _MSDOS, and add check for _WIN32Theodore Tso1996-06-124-4/+11
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8310 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in: Remove include of config/windows.in; that's doneTheodore Tso1996-06-124-11/+17
| | | | | | | | | automatically by wconfig. g_acquire_cred.c, g_oid_ops.c: Change to use new convention of KRB5_CALLCONV and KRB5_DLLIMP instead of INTERFACE git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8309 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-126-4/+17
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8308 dc483132-0cff-0310-8789-dd5450dbe970
* Change INTERFACE to be KRB5_CALLCONV, which is where the callingTheodore Tso1996-06-122-57/+109
| | | | | | | | | | | | | | convention is defined. Add KRB5_DLLIMP which is where the DLL import/export should be put for Win32. (Win16 is just different.) The correct way to declare a function which will be used in a DLL is now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long) Change function delcarations to use the new convention. Actually, it doesn't hurt to use the old convention as long as func_return_t doesn't contain a '*'. But in the long run we should be exterminating all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8307 dc483132-0cff-0310-8789-dd5450dbe970
* adm_proto.h: Change usage of INTERFACE to use KRB5_CALLCONV and KRB5_DLLIMPTheodore Tso1996-06-125-11/+29
| | | | | | | | | | | | | | winsock.h: Rename to kwinsock.h. Recent versions of Microsoft compilers include winsock.h, and the one we have collides with NT errno definitions. Using the one provided by the compiler is preferable. If you are using an old version of MSVC that doesn't include winsock.h, then rename kwinsock.h to winsock.h kdb_dbm.h: Don't include kdb_dbm.h for Win-32. kdb.h: Don't include most of kdb.h for Win-32. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8306 dc483132-0cff-0310-8789-dd5450dbe970
* For Win-32: always #include windows.hTheodore Tso1996-06-123-73/+119
| | | | | | | | | | | | | | | Change INTERFACE to be KRB5_CALLCONV, which is where the calling convention is defined. Add KRB5_DLLIMP which is where the DLL import/export should be put for Win32. (Win16 is just different.) The correct way to declare a function which will be used in a DLL is now: KRB5_DLLIMP func_return_t KRB5_CALLCONV func(long) Change function delcarations to use the new convention. Actually, it doesn't hurt to use the old convention as long as func_return_t doesn't contain a '*'. But in the long run we should be exterminating all uses of INTERFACE in favor of KRB5_CALLCONV and KRB5_DLLIMP. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8305 dc483132-0cff-0310-8789-dd5450dbe970
* windows.in (CCOPTS): Windows-32 CCOPTSTheodore Tso1996-06-123-4/+19
| | | | | | win-post.in: Use a Windows-32 specific LIB command line syntax git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8304 dc483132-0cff-0310-8789-dd5450dbe970
* Build the makefiles for windows/cns, windows/gss, and windows/wintelTheodore Tso1996-06-122-2/+19
| | | | | | | | | | Add definition of BUILDTOP when building for DOS, since it's needed for $(RM) to work. When creating ./Makefile under Unix, run things through sed to strip out ##DOS from the beginning of lines. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8303 dc483132-0cff-0310-8789-dd5450dbe970
* specializations. Remove /nologo option for Win32 RFLAGS,Theodore Tso1996-06-124-3/+22
| | | | | | | | | | since RC apparently doesn't support it. changelo: Renamed to ChangeLog, to make life easier. makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8302 dc483132-0cff-0310-8789-dd5450dbe970
* gss-clie.c: Renamed to gss-client.c, for VFAT/NTFS filesystemsTheodore Tso1996-06-123-1/+12
| | | | | | | | | | makefile: Renamed to Makefile.in, so that we can do WIN16/WIN32 specializations. Remove /nologo option for Win32 RFLAGS, since RC apparently doesn't support it. changelo: Renamed to ChangeLog, to make life easier. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8301 dc483132-0cff-0310-8789-dd5450dbe970
* c_ustime.c: Fix WIN32 to be _WIN32Theodore Tso1996-06-123-2/+9
| | | | | | c_localaddr.c: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8300 dc483132-0cff-0310-8789-dd5450dbe970
* Add #ifdef _WIN32 in places where we had #ifdef _MSDOSTheodore Tso1996-06-128-6/+21
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8299 dc483132-0cff-0310-8789-dd5450dbe970
* Makefile.in (lib-windows): Add production rule for sapkrb5.dll. Don'tTheodore Tso1996-06-123-2/+86
| | | | | | | | | | include config/windows.in, since that's included by wconfig. win_glue.c: Add a quick hack for krb5-SAP so that we call the version server --- this is conditionalized on SAP_VERSERV, which is only defined when we build sapkrb5.dll. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8298 dc483132-0cff-0310-8789-dd5450dbe970
* Revamp program to make it more extensible. Now will uncomment linesTheodore Tso1996-06-122-21/+59
| | | | | | | | | that begin "##DOS##" as well as "##WIN16##" or "##WIN32##", depending on whether we are compiling on a Windows 16 or Windows 32 environment. Also, we now perform this transformation on the windows.in and win-post.in files as well. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8297 dc483132-0cff-0310-8789-dd5450dbe970
* Remove inclusion of malloc.h..Ezra Peisach1996-06-122-1/+4
| | | | | | | If it was really needed, it would have been included in several files, not just this one. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8296 dc483132-0cff-0310-8789-dd5450dbe970
* Missed two filesEzra Peisach1996-06-121-42/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8295 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kdb4 from the sources treeEzra Peisach1996-06-129-1631/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8294 dc483132-0cff-0310-8789-dd5450dbe970
* kdb4 is now longer there..Ezra Peisach1996-06-121-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8293 dc483132-0cff-0310-8789-dd5450dbe970
* *aclocal.m4: Remove WITH_KDB4 and USE_KDB4_LIBRARY supportEzra Peisach1996-06-122-35/+6
| | | | | | | kdb4 is no longer needed in the source tree. It has not been needed in about 10 months, but this is the cleanup... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8292 dc483132-0cff-0310-8789-dd5450dbe970
* * keytab.c (krb5_ktkdb_close): Free memory allocated byEzra Peisach1996-06-112-1/+17
| | | | | | krb5_ktkdb_resolve. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8291 dc483132-0cff-0310-8789-dd5450dbe970
* Remove kdb4 library building. Nothing in the source tree now needs itEzra Peisach1996-06-113-4/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8290 dc483132-0cff-0310-8789-dd5450dbe970
* more cvsignore hackeryTom Yu1996-06-101-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8289 dc483132-0cff-0310-8789-dd5450dbe970
* cvsignore hackeryTom Yu1996-06-1096-95/+54
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8288 dc483132-0cff-0310-8789-dd5450dbe970
* Fix typo for VFAT/NTFS compilationTheodore Tso1996-06-101-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8284 dc483132-0cff-0310-8789-dd5450dbe970
* * main.c (finish_realm): Do not invoke krb5_finish_key ifEzra Peisach1996-06-102-1/+7
| | | | | | encryption block is not set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8283 dc483132-0cff-0310-8789-dd5450dbe970
* * util.c (strstr): Replace crusty OS specific ifdef with configureEzra Peisach1996-06-103-2/+10
| | | | | | | | | generated one. * configure.in: Change AC_HAVE_FUNCS to AC_CHECK_FUNCS (newer naming convention). Check for strstr. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8282 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: Remove kdb4 library usageEzra Peisach1996-06-083-13/+7
| | | | | | | | | | | * dumpv4.c (handle_one_key): Remove the temporary --with-kdb4 support. The kdb4 library was only used for decrypting the master key. Last July, the kdb4 code was conditionalized and the relevant lines were put into this source tree.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8281 dc483132-0cff-0310-8789-dd5450dbe970
* s^big^little^ in explanationEzra Peisach1996-06-081-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8280 dc483132-0cff-0310-8789-dd5450dbe970
* Dynamic test of byteorder when htonl was removed failed for half of theEzra Peisach1996-06-082-0/+6
| | | | | | machines.... Always assumed little endian.... git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8279 dc483132-0cff-0310-8789-dd5450dbe970
* Use full directory name "error_tables" when building under Windows soTheodore Tso1996-06-072-4/+10
| | | | | | that the build will work correctly under VFAT and NTFS filesystems. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8278 dc483132-0cff-0310-8789-dd5450dbe970
* Use full directory name "error_tables" when building under Windows soTheodore Tso1996-06-072-4/+12
| | | | | | | that the build will work correctly under VFAT and NTFS filesystems. Build the "makefile" file so that it includes config/win-post.in. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8277 dc483132-0cff-0310-8789-dd5450dbe970
* Beginnings of Win-32 supportTheodore Tso1996-06-073-30/+80
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8276 dc483132-0cff-0310-8789-dd5450dbe970
* Changed `mutual' element of struct _krb5_gss_ctx_id_rec into more generalKevin Mitchell1996-06-076-12/+21
| | | | | | | `gss_flags' and updated functions that process it; now get delegation flag set properly :) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8275 dc483132-0cff-0310-8789-dd5450dbe970
* Don't pass $(LIBCMD) on the command line. It's set in the windows.inTheodore Tso1996-06-0616-31/+68
| | | | | | prologue for all Makefiles anyway. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8271 dc483132-0cff-0310-8789-dd5450dbe970
* Add the option /PAGESIZE:128 to the library command, since the krb5Theodore Tso1996-06-062-1/+6
| | | | | | library has gotten so big. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8260 dc483132-0cff-0310-8789-dd5450dbe970
* Don't use htonl(); it doesn't exist under Windows. Instead do theTheodore Tso1996-06-062-5/+14
| | | | | | test by casting a pointer to an integer to a char *. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8259 dc483132-0cff-0310-8789-dd5450dbe970
* Remove extraneous '*' from definitionTheodore Tso1996-06-063-2/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8251 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize filesTheodore Tso1996-06-061-0/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8250 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize fileTheodore Tso1996-06-064-1/+70
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8249 dc483132-0cff-0310-8789-dd5450dbe970
* Updated .Sanitize fileTheodore Tso1996-06-063-9/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8248 dc483132-0cff-0310-8789-dd5450dbe970
* Update patchlevel for Beta 6 releaseTheodore Tso1996-06-062-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8247 dc483132-0cff-0310-8789-dd5450dbe970
* Update .Sanitize files to reflect current file statusTheodore Tso1996-06-0620-16/+33
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8246 dc483132-0cff-0310-8789-dd5450dbe970
* When reading in the test value from a file, don't free freeTheodore Tso1996-06-062-2/+8
| | | | | | inbuf.value until after the last place where we use it. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8245 dc483132-0cff-0310-8789-dd5450dbe970
* Remove last traces of the krb425 libraryTheodore Tso1996-06-062-62/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8244 dc483132-0cff-0310-8789-dd5450dbe970