summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
...
* Treat unreadable terminal as user cancelled so regression tests workAlexandra Ellwood2008-10-171-3/+12
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20883 dc483132-0cff-0310-8789-dd5450dbe970
* Make sure identity is set when using kim prompterAlexandra Ellwood2008-10-171-0/+1
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20882 dc483132-0cff-0310-8789-dd5450dbe970
* Use a context to store error table infoAlexandra Ellwood2008-10-171-8/+18
| | | | | | | | | | Just sticking an einfo on the stack doesn't work because it's not initialized. Also the detailed error message doesn't end up propogated back to KIM. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20881 dc483132-0cff-0310-8789-dd5450dbe970
* When change password is called from the Select Identity dialog, it appears ↵Justin Anderson2008-10-163-14/+64
| | | | | | | | as a sheet on that dialog instead of popping up as a separate window ticket:6145 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20880 dc483132-0cff-0310-8789-dd5450dbe970
* Fix tests/misc/Makefile.in to use KRB5_BASE_LIBS instead of KRB5_LIB,Greg Hudson2008-10-161-2/+2
| | | | | | | making it consistent with other programs we build. KRB5_LIB by itself may not find dependent libraries if they haven't been installed yet. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20879 dc483132-0cff-0310-8789-dd5450dbe970
* Make it possible to make identities use default ticket optionsJustin Anderson2008-10-1610-293/+755
| | | | | | | | | | - Made KerberosAgent compatible with KIM's way of passing about NULL to mean "Use default options" - Added "Use default ticket options" checkbox to both ticket options dialogs. - Hid ticket options of select identity dialog by default, visible via the "Show Options" "Hide Options" toggle. ticket:6147 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20878 dc483132-0cff-0310-8789-dd5450dbe970
* remove unused variable in kim_ui_cli_ask_change_passwordAlexandra Ellwood2008-10-151-2/+0
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20877 dc483132-0cff-0310-8789-dd5450dbe970
* Untabify. Normalize whitespace. Reindent. Fix some of the mostTom Yu2008-10-1566-8076/+8163
| | | | | | | egregious formatting quirks. Add emacs mode settings to flag untabified source files. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20876 dc483132-0cff-0310-8789-dd5450dbe970
* use KIM_BUILTIN_UI instead of LEAN_CLIENT for builtin UIAlexandra Ellwood2008-10-155-27/+26
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20875 dc483132-0cff-0310-8789-dd5450dbe970
* Move GUI/CLI detection from KerberosIPC into KIMAlexandra Ellwood2008-10-151-8/+39
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20874 dc483132-0cff-0310-8789-dd5450dbe970
* Merge KerberosIPC into k5_mig supportAlexandra Ellwood2008-10-155-117/+482
| | | | | | | | | Now that there are no servers using only kipc_* calls, merge them into the k5_mig_* calls. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20873 dc483132-0cff-0310-8789-dd5450dbe970
* handle stash file names with missing keytab type spec and colon in pathKen Raeburn2008-10-152-1/+8
| | | | | | | | | | | | | | | | | | | | Currently the keytab name resolution code will pass off any name with no colon to the default keytab type handler, which is the FILE handler. It will also check for Windows file names consisting of one letter followed by a colon, and treat them as FILE specs also. If a UNIX pathname contains a colon, however, and no type was explicitly specified, the leading part of the pathname gets treated as a type name and fails to match anything. It should instead treat type-less names starting with "/" as FILE specs also. Tweak the test suite to use such a name. Report and patch from Apple. rdar://problem/6179239 ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20872 dc483132-0cff-0310-8789-dd5450dbe970
* Now that we have support for conditionally exporting symbols from the supportKen Raeburn2008-10-154-75/+124
| | | | | | library, use that for the [v]asprintf replacement functions when needed. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20871 dc483132-0cff-0310-8789-dd5450dbe970
* makedependKen Raeburn2008-10-151-3/+3
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20870 dc483132-0cff-0310-8789-dd5450dbe970
* Pre-populate new clients with default client identity if that is set, as ↵Justin Anderson2008-10-141-0/+22
| | | | | | | | found by kim_preferences_get_client_identity() ticket:6183 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20869 dc483132-0cff-0310-8789-dd5450dbe970
* Don't wipe out previously entered information with each new call from clientsJustin Anderson2008-10-141-6/+9
| | | | | | ticket: 6143 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20868 dc483132-0cff-0310-8789-dd5450dbe970
* kim test suite reports error messages incorrectlyAlexandra Ellwood2008-10-141-1/+1
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20867 dc483132-0cff-0310-8789-dd5450dbe970
* Free error message returned by krb5_get_error_messageAlexandra Ellwood2008-10-141-0/+2
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20866 dc483132-0cff-0310-8789-dd5450dbe970
* kim_os_string_create_localized leaks CFStringRefAlexandra Ellwood2008-10-101-0/+2
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20865 dc483132-0cff-0310-8789-dd5450dbe970
* Test KIM pluginAlexandra Ellwood2008-10-101-0/+472
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20864 dc483132-0cff-0310-8789-dd5450dbe970
* always zero out authentication stringsAlexandra Ellwood2008-10-101-3/+6
| | | | | | | | | strings returned by the UI are usually passwords or pins and should not get dripped all over memory. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20863 dc483132-0cff-0310-8789-dd5450dbe970
* kim_ui_plugin_fini sends pointer to context instead of contextAlexandra Ellwood2008-10-101-1/+1
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20862 dc483132-0cff-0310-8789-dd5450dbe970
* allow kim ui plugins to have any nameAlexandra Ellwood2008-10-101-2/+1
| | | | | | | | | | Note that there can still only be one, it will just use the first one it finds. Just want to have different names for them so that we can distinguish between different plugins. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20861 dc483132-0cff-0310-8789-dd5450dbe970
* change password should always reprompt on errorAlexandra Ellwood2008-10-101-12/+8
| | | | | | | | | | Since it collects the password ahead of time, the prompt count won't get incremented. Checking whether it called auth_prompt is useless. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20860 dc483132-0cff-0310-8789-dd5450dbe970
* Missing keys in KerberosAgent Info.plistAlexandra Ellwood2008-10-091-0/+4
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20856 dc483132-0cff-0310-8789-dd5450dbe970
* prefs should not create empty dictionary for KIM_OPTIONS_DEFAULTAlexandra Ellwood2008-10-091-6/+7
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20855 dc483132-0cff-0310-8789-dd5450dbe970
* preferences should handle KIM_OPTIONS_DEFAULTAlexandra Ellwood2008-10-095-11/+9
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20854 dc483132-0cff-0310-8789-dd5450dbe970
* kim_options_create sometimes returns KIM_OPTIONS_DEFAULTAlexandra Ellwood2008-10-091-1/+12
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20853 dc483132-0cff-0310-8789-dd5450dbe970
* KL APIs which take a NULL principal return klParameterErrAlexandra Ellwood2008-10-094-85/+105
| | | | | | | | | Fixed by making kim_ccache_create_from_client_identity take KIM_IDENTITY_ANY (at which point it returns the system default ccache). ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20850 dc483132-0cff-0310-8789-dd5450dbe970
* Crash in kim_credential_create_from_keytabAlexandra Ellwood2008-10-091-1/+1
| | | | | | | | Was dereferencing NULL freeing creds. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20849 dc483132-0cff-0310-8789-dd5450dbe970
* kim_options_copy should allow in_options to be KIM_OPTIONS_DEFAULTAlexandra Ellwood2008-10-091-1/+0
| | | | | | | | (Don't error on NULL in_options) ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20848 dc483132-0cff-0310-8789-dd5450dbe970
* KerberosAgent should log lessJustin Anderson2008-10-081-1/+0
| | | | | | | | Remove auto-quit log message, "No active clients. Terminating." ticket:new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20847 dc483132-0cff-0310-8789-dd5450dbe970
* Removed unused header file include.Alexandra Ellwood2008-10-081-1/+0
| | | | | | | | (Not necessary for fix, just a cleanup) ticket: 6146 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20846 dc483132-0cff-0310-8789-dd5450dbe970
* Ignore user interaction while busy. Done by toggling ignoresMouseEvents on ↵Justin Anderson2008-10-082-9/+28
| | | | | | | | auth dialogs ticket:6144 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20845 dc483132-0cff-0310-8789-dd5450dbe970
* KLL should use __attribute ((deprecated))Alexandra Ellwood2008-10-082-36/+39
| | | | | | | | | | | | | | | | Switched from a macro to GCC deprecated attributes. Also removed the deprecated struct used by KLSetApplicationOptions and KLGetApplicationOptions because they weren't touching it. Replaced pointer-to-struct arguments with void *. KLGetApplicationOptions now also returns an error since it did not modify its input. Not sure why it wasn't before since no one should be calling it on Mac OS X. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20844 dc483132-0cff-0310-8789-dd5450dbe970
* KerberosAgent should handle zoom button betterJustin Anderson2008-10-083-25/+32
| | | | | | | | | The Select Identity dialog should resize to fit the available identities in its table when the zoom button is clicked. ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20840 dc483132-0cff-0310-8789-dd5450dbe970
* KerberosAgent fails to handle multiple clients because it attempts to ↵Justin Anderson2008-10-071-0/+2
| | | | | | | | | message freed memory ticket: new status: open git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20839 dc483132-0cff-0310-8789-dd5450dbe970
* KIM should remember options and identity if prefs indicateAlexandra Ellwood2008-10-072-4/+47
| | | | | | | | Added code to remember ticket options if settings indicate it. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20838 dc483132-0cff-0310-8789-dd5450dbe970
* KLL shim layer does not correctly handle optionsAlexandra Ellwood2008-10-071-40/+40
| | | | | | | | | | KLGetDefaultLoginOption and KLSetDefaultLoginOption were incorrectly casting parameters and were not parsing the option argument correctly. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20837 dc483132-0cff-0310-8789-dd5450dbe970
* If the caller is a bundle, look up keys in its plist file to get the nameAlexandra Ellwood2008-10-071-5/+8
| | | | | | ticket: 6146 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20836 dc483132-0cff-0310-8789-dd5450dbe970
* KLLastChangedTime should return current time, not 0Alexandra Ellwood2008-10-071-5/+54
| | | | | | | | | | | | cc_context_get_change_time returns 0 the first time it is called if the CCacheServer is not running. KLLastChangedTime always returned the current time on the first call. So use globals and a mutex to make sure that KLLastChangedTime both monotonically increases and also returns the current time on the first call. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20835 dc483132-0cff-0310-8789-dd5450dbe970
* Include header to get error table for KLLAlexandra Ellwood2008-10-061-0/+3
| | | | | | ticket: 6154 git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20834 dc483132-0cff-0310-8789-dd5450dbe970
* Hinge building KLL shim off KIM_TO_KLL_SHIM, not LEAN_CLIENTAlexandra Ellwood2008-10-063-4/+10
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20833 dc483132-0cff-0310-8789-dd5450dbe970
* Substitute LDAP in makefiles with "yes" or "no" depending on configuration.Ken Raeburn2008-10-0612-11/+194
| | | | | | | | | Split ASN.1 encode and decode tests so that they can be run independently and/or in parallel. Add ASN.1 tests for LDAP key-data sequence type, run only if LDAP enabled. Use krb5int_access to get at the encoder and decoder. git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20832 dc483132-0cff-0310-8789-dd5450dbe970
* Add KLL error tableAlexandra Ellwood2008-10-061-0/+88
| | | | | | ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20831 dc483132-0cff-0310-8789-dd5450dbe970
* Don't touch keychain if home directory access is disabledAlexandra Ellwood2008-10-061-14/+23
| | | | | | | | Keychain is stored in the user's home directory. ticket: new git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20830 dc483132-0cff-0310-8789-dd5450dbe970
* Change LDAP key-sequence encoder to use a single data structureKen Raeburn2008-10-063-23/+43
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20829 dc483132-0cff-0310-8789-dd5450dbe970
* Fix a few missing-decl, signed/unsigned warningsKen Raeburn2008-10-067-6/+16
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20828 dc483132-0cff-0310-8789-dd5450dbe970
* See if we need a prototype for isblankKen Raeburn2008-10-061-0/+1
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20827 dc483132-0cff-0310-8789-dd5450dbe970
* In KRB5_NEED_PROTO, #undef the name before testingKen Raeburn2008-10-061-1/+2
| | | | git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@20826 dc483132-0cff-0310-8789-dd5450dbe970