summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* * default.exp: Rewrite to use kdb5_util instead of kdb5_create andEzra Peisach1996-07-272-36/+40
| | | | | | | kdb5_stash. No longer add the kadmin/admin and changepw keys to the database as this is handled automatically. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8852 dc483132-0cff-0310-8789-dd5450dbe970
* * kdb5_create.c (kdb5_create): Ignore (expected) failure inEzra Peisach1996-07-272-1/+10
| | | | | | | open_db_and_mkey when creating database in returning exit status. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8851 dc483132-0cff-0310-8789-dd5450dbe970
* It's not an out-of-space error if malloc(0) returns 0.Sam Hartman1996-07-272-13/+21
| | | | | | | So, when copying key_data, only call malloc if the length is non-zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8850 dc483132-0cff-0310-8789-dd5450dbe970
* Remove old 1988 version of setenv in preference to calling krb5_setenvSam Hartman1996-07-275-172/+10
| | | | | | from lib/krb5/posix. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8849 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Sam Hartman1996-07-271-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8848 dc483132-0cff-0310-8789-dd5450dbe970
* * Define a non-zero FUDGE_FACTOR for GSSAPI; I have it set to 64 now,Sam Hartman1996-07-273-9/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | even though I tend to see 52 bytes of increased data because I'm not sure that the 52 bytes is constant across all implementations ands options. * When allocating outbuf, set bufsize to the size that was actually allocated; it tends not to be nbyte+FUDGE_FACTOR exactly, and you smash the heap if you store a different size than you actually allocate. * If a secure_putbyte fails, set nout to zero so you don't run off the end of the buffer next time around. * Only write out foure bytes of net_len, no matter how big it is. The right answer is to have it be some 32-bit type but I'm not sure if I should use the krb5 type, the GSSAPI type, or what. (Remember, this code has ifdefs for KerberosIV without GSSAPI) * While we're at it, if secure_write fails while writing out a file in the client, notice the error. (a break in an inner loop didn't break out quite far enough) With these changes, I am able to get and put multi-megabyte files even on an Alpha. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8847 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in (OBJS): Remove trailing backslash on a comment; itTom Yu1996-07-262-1/+6
| | | | | | was keeping HDRS from getting set. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8846 dc483132-0cff-0310-8789-dd5450dbe970
* resolved conflictsMarc Horowitz1996-07-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8845 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-261-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8844 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in, an_to_ln.c (do_replacement, aname_do_match): useMarc Horowitz1996-07-261-2/+7
| | | | | | | the compile() function in -lgen on solaris. Check for the relevant stuff at configure-time git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8843 dc483132-0cff-0310-8789-dd5450dbe970
* * an_to_ln.c (do_replacement, aname_do_match): use the compile()Marc Horowitz1996-07-261-15/+7
| | | | | | function in -lgen on solaris git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8842 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in: remove createTom Yu1996-07-262-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8841 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-261-0/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8840 dc483132-0cff-0310-8789-dd5450dbe970
* * aclocal.m4 (LIBS): include -lgen if compile() is present andMarc Horowitz1996-07-261-0/+12
| | | | | | -lkrb5 is used. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8839 dc483132-0cff-0310-8789-dd5450dbe970
* Actually install kadmin.local. (Or rather, don't install kadmin.localTheodore Tso1996-07-262-1/+7
| | | | | | as kadmin, and then reinstall kadmin on top of kadmin. :-) git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8838 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-261-0/+9
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8837 dc483132-0cff-0310-8789-dd5450dbe970
* * kdc.conf: added acl_file to prototypeMarc Horowitz1996-07-261-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8836 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the new kdb5_create, which is subsumed by kdb5_utilTheodore Tso1996-07-2612-1666/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8835 dc483132-0cff-0310-8789-dd5450dbe970
* Remove last traces of the old admin serverTheodore Tso1996-07-261-46/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8834 dc483132-0cff-0310-8789-dd5450dbe970
* Remove v5client, which is the old client for the old kadmin systemTheodore Tso1996-07-2611-3148/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8833 dc483132-0cff-0310-8789-dd5450dbe970
* Remove the old kadmin serverTheodore Tso1996-07-2613-8173/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8832 dc483132-0cff-0310-8789-dd5450dbe970
* Add a blank install target to keep the top-level "make install" happyTheodore Tso1996-07-262-0/+7
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8831 dc483132-0cff-0310-8789-dd5450dbe970
* Add AC_PROG_INSTALL, since it's needed for a "make install"Theodore Tso1996-07-262-0/+6
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8830 dc483132-0cff-0310-8789-dd5450dbe970
* AIX shared libraries treat resolution of imported symbolsSam Hartman1996-07-262-0/+14
| | | | | | | | | | | | different from resolution of external non-imported symbols. Therefore, we really want to link against libdb.a at shared library creation time. Instead of linking on all platforms and making libdb.a a shared library, I have chosen to only link on AIX where it will work and not generate a problem even if the application later linksgainst libdb.a because making libdb.a a shared library would make it harder to distribute util/db2. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8829 dc483132-0cff-0310-8789-dd5450dbe970
* Remove setenv.c and use krb5_setenv instead. This version of setenvSam Hartman1996-07-263-166/+6
| | | | | | | had major prototype problems, was redundant, and was older than all seven of the other versions in the tree. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8828 dc483132-0cff-0310-8789-dd5450dbe970
* restore old version (oops checked in debugging versTom Yu1996-07-261-3/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8827 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in: remove trailing backslash from comment under SRCSTom Yu1996-07-263-1/+10
| | | | | | because it was causing line that set OBJS variable to git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8826 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in, adm_rw.c, kadm5_defs.h, main.c,Marc Horowitz1996-07-258-0/+2943
| | | | | | | | proto_serv.c, srv_net.c: combined pieces of the old v5server and kadm libraries with calls to the new kadm5srv library to produce a daemon which handles the v5b6 "simple" password changing protocol. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8825 dc483132-0cff-0310-8789-dd5450dbe970
* Remove OID's that weren't being used, and rename gss_nt_service_nameTheodore Tso1996-07-252-8/+6
| | | | | | to nt_service_name to prevent name colision. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8824 dc483132-0cff-0310-8789-dd5450dbe970
* admin_internal.h (_KADM5_CHECK_HANDLE): Add parenthesis aroundTheodore Tso1996-07-253-1/+11
| | | | | | | | | assignment used as truth value to reduce gcc -Wall flames. misc_free.c (kadm5_free_name_list, krb5_free_key_data_contents: Add KADM5_OK return value upon success. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8823 dc483132-0cff-0310-8789-dd5450dbe970
* kadmin.c (quit): Return zero so that we return the proper exit status.Theodore Tso1996-07-252-1/+8
| | | | | | (kadmin_getprivs): Declare function as returning void git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8822 dc483132-0cff-0310-8789-dd5450dbe970
* Don't build the create, destroy, and stash directoriesTheodore Tso1996-07-252-1/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8821 dc483132-0cff-0310-8789-dd5450dbe970
* Declare function as returning voidTheodore Tso1996-07-252-1/+5
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8820 dc483132-0cff-0310-8789-dd5450dbe970
* *** empty log message ***Marc Horowitz1996-07-251-0/+4
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8819 dc483132-0cff-0310-8789-dd5450dbe970
* * configure.in (CONFIG_DIRS): added v5passwddMarc Horowitz1996-07-251-1/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8818 dc483132-0cff-0310-8789-dd5450dbe970
* Fix Sanitize script to not delete the configure programTheodore Tso1996-07-251-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8817 dc483132-0cff-0310-8789-dd5450dbe970
* Move setenv.c to clnt directory where it belongsTheodore Tso1996-07-251-0/+0
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8816 dc483132-0cff-0310-8789-dd5450dbe970
* gss.c (parse_name): Add code to parse an optional fourth parameterTheodore Tso1996-07-254-16/+51
| | | | | | | | | | | which is the mechanism OID to actually use. If it is ommited, the default mechanism is used. gss-client.c (client_establish_context): Added parameter oid_name, which allows the user to specify the OID that he/she actually wants to use to as the mechanism. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8815 dc483132-0cff-0310-8789-dd5450dbe970
* util_ordering.c (g_order_check):Theodore Tso1996-07-258-18/+44
| | | | | | | | | | | | | | | | | | | | | util_ordering.c (g_order_init): Changed return code to be an int 32, since we return a com_err error code. Change the type of the sequence number to be an uint32. gssapi.h: Define gss_int32 -- needed for error code returns. Makefile.in (EHDRDIR): Use $(S) instead of /, so that EHDRDIR is valid under windows. Fix how the header file is copied in under Windows. gssapiP_generic.h: Include gssapi_generic.h instead of gssapi.h, so that we get the definitions of the nametype oids. oid_ops.c (generic_gss_release_oid): Re-enable function. util_token.c (g_verify_token_header): Changed return code to be an int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8814 dc483132-0cff-0310-8789-dd5450dbe970
* init_sec_context.c (krb5_gss_init_sec_context): Fixed error checkingTheodore Tso1996-07-255-22/+31
| | | | | | | | | | so that if you pass a bad mechanism type, it *will* get flagged as an error. rel_oid.c (krb5_gss_release_oid): krb5_gss_glue.c(gss_release_oid): Re-enable function git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8813 dc483132-0cff-0310-8789-dd5450dbe970
* * acquire_cred.c (krb5_gss_acquire_cred): Initialize variableEzra Peisach1996-07-252-0/+7
| | | | | | | | | before use if GSS_C_NULL_OID_SET. This was causing random failures in gssftp. I was unlucky enough to hit that random case where one of the random stack values was zero. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8812 dc483132-0cff-0310-8789-dd5450dbe970
* util_token.c (g_verify_token_header): Changed return code to be anTheodore Tso1996-07-253-2/+5
| | | | | | unsigned int 32, since we return a com_err error code. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8811 dc483132-0cff-0310-8789-dd5450dbe970
* ser_sctx.c (kg_oid_externalize): Add proper return codeTheodore Tso1996-07-254-6/+16
| | | | | | | | | accept_sec_context.c (krb5_gss_accept_sec_context): init_sec_context.c (krb5_gss_init_sec_context): Test (gss_flags & XXXX) against 0 so that we pass a int value to g_order_init. Needed since int is 16 bits for Win16 build. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8810 dc483132-0cff-0310-8789-dd5450dbe970
* Remove INTERFACE keyworded; not needed (and causes problems) sinceTheodore Tso1996-07-243-2/+9
| | | | | | we're not exporting this function to the DLL. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8809 dc483132-0cff-0310-8789-dd5450dbe970
* * ovsec_kadmd.c (main): Put the #ifdef SO_REUSEADDR at theTom Yu1996-07-242-2/+7
| | | | | | beginning of the line to avoid cpp breakage. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8808 dc483132-0cff-0310-8789-dd5450dbe970
* Only include <sys/file.h> if building with BSD_DBTheodore Tso1996-07-242-1/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8807 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out server lib into aTom Yu1996-07-2420-0/+5117
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8806 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: break out client lib into aTom Yu1996-07-2411-0/+1537
| | | | | | subdirectory git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8805 dc483132-0cff-0310-8789-dd5450dbe970
* * Makefile.in, configure.in: fix shared lib lossage byTom Yu1996-07-2428-6519/+36
| | | | | | rearrangement of subdirectories git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8804 dc483132-0cff-0310-8789-dd5450dbe970
* Use the error code KRB5_KT_NAME_TOOLONG instead of ENAMETOOLONG, whichTheodore Tso1996-07-242-2/+8
| | | | | | isn't portable. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8803 dc483132-0cff-0310-8789-dd5450dbe970