summaryrefslogtreecommitdiffstats
path: root/kerberos5/lib
Commit message (Collapse)AuthorAgeFilesLines
* MFC r262253: hack to prevent concurrent runs of asn1_compile in the Heimdalpeter2014-02-204-0/+14
| | | | build with high -j concurrency.
* Clean up the Kerberos build by turning libheimipcc and libheimipcs intodes2013-09-103-5/+4
| | | | | | | | private shared libraries, instead of hacked-together archives of PIC objects. This makes it possible to build a static libkrb5 that works. Reviewed by: stas Approved by: re (gjb)
* Fix the getpwnam_r() call in the pname_to_uid() kerberos library function sormacklem2013-05-021-4/+28
| | | | | | | | | that it handles the ERANGE error return case. Without this fix, authentication of users for certain system setups could fail unexpectedly. Reported by: Elias Martenson (lokedhs@gmail.com) Tested by: Elias Martenson (earlier version) MFC after: 2 weeks
* Only try to install one link at each path.brooks2013-01-231-9/+1
| | | | | Don't install verify_krb5_conf.8. It is installed in kerberos5/usr.bin/verify_krb5_conf.
* Centralize the specification of the krb5 build tools.obrien2012-06-016-12/+0
|
* * Remove headers from SRCS that are not generatedobrien2012-05-3014-44/+8
| | | | | | (and are in /usr/src/crypto/heimdal/). * Avoid race conditions with 'make -j<N>'.
* - Add a "real" symbol version map to libasn1. The upstream versionstas2012-04-084-11/+1618
| | | | | | | | | | of the version map just exported all the symbols, which caused a binutils bug being triggered when ld fails to link two objects, one of which exports a versioned version of the symbol, and another -- unversioned. [1] - Also add version map for libkafs5. Submitted by: jchandra@ (based on)
* Assume a big-endian default on MIPS and drop the "eb" suffix from MACHINE_ARCH.jmallett2012-03-291-2/+1
| | | | | | | | | | | | | | | This makes our naming scheme more closely match other systems and the expectations of much third-party software. MIPS builds which are little-endian should require and exhibit no changes. Big-endian TARGET_ARCHes must be changed: From: To: mipseb mips mipsn32eb mipsn32 mips64eb mips64 An entry has been added to UPDATING and some foot-shooting protection (complete with warnings which should become errors in the near future) to the top-level base system Makefile.
* - Apply binutils workaround on mips.mips as well. Though this TARGET_ARCHstas2012-03-241-1/+2
| | | | is deprecated, tinderbox uses it.
* - Update FreeBSD Heimdal distribution to version 1.5.1. This also bringsstas2012-03-2226-634/+1281
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | several new kerberos related libraries and applications to FreeBSD: o kgetcred(1) allows one to manually get a ticket for a particular service. o kf(1) securily forwards ticket to another host through an authenticated and encrypted stream. o kcc(1) is an umbrella program around klist(1), kswitch(1), kgetcred(1) and other user kerberos operations. klist and kswitch are just symlinks to kcc(1) now. o kswitch(1) allows you to easily switch between kerberos credentials if you're running KCM. o hxtool(1) is a certificate management tool to use with PKINIT. o string2key(1) maps a password into key. o kdigest(8) is a userland tool to access the KDC's digest interface. o kimpersonate(8) creates a "fake" ticket for a service. We also now install manpages for some lirbaries that were not installed before, libheimntlm and libhx509. - The new HEIMDAL version no longer supports Kerberos 4. All users are recommended to switch to Kerberos 5. - Weak ciphers are now disabled by default. To enable DES support (used by telnet(8)), use "allow_weak_crypto" option in krb5.conf. - libtelnet, pam_ksu and pam_krb5 are now compiled with error on warnings disabled due to the function they use (krb5_get_err_text(3)) being deprecated. I plan to work on this next. - Heimdal's KDC now require sqlite to operate. We use the bundled version and install it as libheimsqlite. If some other FreeBSD components will require it in the future we can rename it to libbsdsqlite and use for these components as well. - This is not a latest Heimdal version, the new one was released while I was working on the update. I will update it to 1.5.2 soon, as it fixes some important bugs and security issues.
* - Make heimdal buildable with WITH_OPENLDAP defined, again.ume2011-12-051-3/+3
| | | | - Our heimdal uses the deprecated OpenLDAP functions.
* - Add missing interdependencies to kerberos libraries. Some of thestas2011-09-2712-7/+33
| | | | | | | | | kerberos libraries were not linked properly (missing dependencies), which causes 3rd party applications linking to fail when --as-needed ld flag is used. I also added the --no-undefined ld(1) flag to make sure that there're no missing dependencies. MFC after: 3 days
* Link GSS mechanics modules against libgssapi so they will not fail duebland2009-10-122-4/+4
| | | | | | | | unresolved symbol errors when in turn libgssapi was loaded with RTLD_LOCAL flag set (which is the default). Reviewed by: dfr, jhb MFC after: 3 days
* Disconnect closefrom.c as we have it as a system call.delphij2009-06-161-1/+0
|
* Add an implementation of the RPCSEC_GSS authentication protocol for RPC. Thisdfr2008-08-062-0/+60
| | | | | | | | is based on an old implementation from the University of Michigan with lots of changes and fixes by me and the addition of a Solaris-compatible API. Sponsored by: Isilon Systems Reviewed by: alfred
* Add the hx509 error table.dfr2008-05-151-0/+2
|
* Add manpage links to krb5_principal.3.dfr2008-05-111-0/+29
|
* Don't try to make links to manpages that no longer exist. Fixes installworlddfr2008-05-111-6/+0
| | | | Submitted by: phk
* Fix conflicts after heimdal-1.1 import and add build infrastructure. Importdfr2008-05-0719-93/+1722
| | | | all non-style changes made by heimdal to our own libgssapi.
* While checking over the libraries for 7.0-REL Kris found the followingkensmith2007-11-201-1/+1
| | | | | | | | | | | libraries had not had their versions bumped relative to 6.3-REL but had indeed been changed. We need to bump their version so they can be properly added to the compat6x port: libasn1.so.8 libgssapi.so.8 libhdb.so.8 libkadm5clnt.so.8 libkadm5srv.so.8 libkafs5.so.8 libkrb5.so.8 libobjc.so.2 MFC After: 1 day
* Bump library majro version for gethostbyaddr(3).ume2006-05-211-0/+1
|
* NO_MAN is not needed here.ru2006-03-161-1/+0
|
* Add a new extensible GSS-API layer which can support GSS-API plugins,dfr2005-12-291-44/+6
| | | | | | | | | similar the the Solaris implementation. Repackage the krb5 GSS mechanism as a plugin library for the new implementation. This also includes a comprehensive set of manpages for the GSS-API functions with text mostly taken from the RFC. Reviewed by: Love Hörnquist Åstrand <lha@it.su.se>, ru (build system), des (openssh parts)
* Bump the shared library version number of all libraries that have notkensmith2005-07-221-1/+1
| | | | | | | been bumped since RELENG_5. Reviewed by: ru Approved by: re (not needed for commit check but in principle...)
* Update Heimdal 0.6.1 -> 0.6.3.nectar2005-02-241-0/+1
|
* Hookup `arcfour.c' to the build (missed during upgrade to heimdal 0.6.1).nectar2004-04-041-0/+1
|
* style.Makefile(5).ru2004-02-0510-660/+609
| | | | OK'ed by: nectar
* Take signal.c out of sources.ru2004-02-031-1/+0
| | | | Reviewed by: nectar
* Put generated headers into SRCS so that we pick them up even ifru2004-02-032-1/+3
| | | | "make depend" was not run.
* Overhaul of kerberos5/ makefiles. Most significant changes are:ru2004-01-3111-232/+78
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Dropped support for standalone builds, this was only partially supported anyway, and required so much magic in makefiles that made life dangerous (e.g., by using the custom yacc rules). - Got rid of .OBJDIR in makefiles -- makes building of individual files possible again. - Made the .x.c transformations -j safe. - Reprogrammed LDADD to fix static build of some utilities that was broken. - Fixed LDFLAGS and DPADD in the WITH_OPENLDAP case -- positively affects the contents of .depend files. - Removed redundant .h's from SRCS, only kept those that are generated. - libkrb5/ INCS were bogusly installed again with libgssapi/. - Made build-tools real tools with their own makefiles in separate directories. This allows us to properly track their dependencies, etc. - Faster build, 21% less of makefile code! Approved by: nectar Reviewed by: markm Silence on: arch
* Fixed "make clean".ru2004-01-151-0/+2
|
* The header files hdb_asn1.h, hdb_err.h, and kadm5_err.h are generated,nectar2003-10-102-3/+3
| | | | | | and must be installed from ${.OBJDIR}. Pointy hat: nectar
* Install Kerberos- and GSSAPI-related man pages.nectar2003-10-093-5/+240
|
* Install additional headers for Kerberos (libkafs, libkadm5*, andnectar2003-10-093-0/+16
| | | | libhdb).
* Update build infrastructure for Heimdal 0.6.nectar2003-10-094-3/+24
|
* Try a lot harder to get dependancies right. This involves some uglymarkm2003-07-271-10/+30
| | | | | | | | | looking ${.OBJDIR} work that has the up-side of actually working in upgrade and make -jN cases. This needs to be revisited further, and it is conceivable that the ${.OBJDIR} stuff can be simplified, but the sheer number of edge cases and other causes make this Hard(tm). For now, this works.
* Try a lot harder to get dependancies right. This involves some uglymarkm2003-07-271-4/+8
| | | | | | | | | looking ${.OBJDIR} work that has the up-side of actually working in upgrade and make -jN cases. This needs to be revisited further, and it is conceivable that the ${.OBJDIR} stuff can be simplified, but the sheer number of edge cases and other causes make this Hard(tm). For now, this works.
* Big fixup of the makefiles. Sort out the dependancies so that "make"markm2003-07-189-374/+409
| | | | | without "make depend" works, "make -j N" works, and lists of source files are made vertical to reduce future diffs.
* Very big makeover in the way telnet, telnetd and libtelnet are built.markm2003-07-162-35/+1
| | | | | | | | | | | | | | | | | | | | | | | Previously, there were two copies of telnet; a non-crypto version that lived in the usual places, and a crypto version that lived in crypto/telnet/. The latter was built in a broken manner somewhat akin to other "contribified" sources. This meant that there were 4 telnets competing with each other at build time - KerberosIV, Kerberos5, plain-old-secure and base. KerberosIV is no longer in the running, but the other three took it in turns to jump all over each other during a "make buildworld". As the crypto issue has been clarified, and crypto _calls_ are not a problem, crypto/telnet has been repo-copied to contrib/telnet, and with this commit, all telnets are now "contribified". The contrib path was chosen to not destroy history in the repository, and differs from other contrib/ entries in that it may be worked on as "normal" BSD code. There is no dangerous crypto in these sources, only a very weak system less strong than enigma(1). Kerberos5 telnet and Secure telnet are now selected by using the usual macros in /etc/make.conf, and the build process is unsurprising and less treacherous.
* Add (optional, default off) support to kerberos5 for supporting openldap.mr2003-06-181-1/+2
| | | | | | | | | | Tests with openldap20 where successful whereas openldap21 didn't like the way hdb-ldap accessed openldap (doesn't like non-bind access). To activate the support put a USE_OPENLDAP=yes in your make.conf. The OPENLDAPBASE is also optional and points to /usr/local as default. Approved by: markm MFC after: 2 weeks
* Migrate to a new way of dealing with building from old revisions ofimp2003-04-052-14/+2
| | | | | | | | | | | | | | | | | FreeBSD. This method attempts to centralize all the necessary hacks or work arounds in one of two places in the tree (src/Makefile.inc1 and src/tools/build). We build a small compatibility library (libbuild.a) as well as selectively installing necessary include files. We then include this directory when building host binaries. This removes all the past release compatibilty hacks from various places in the tree. We still build on tip of stable and current. I will work with those that want to support more, although I anticipate it will just work. Many thanks to ru@, obrien@ and jhb@ for providing valuable input at various stage of implementation, as well as for working together to positively effect a change for the better.
* Post KerberosIV de-orbit: Clean up Kerberos5. We dont need KerberosIVmarkm2003-03-094-27/+2
| | | | | compatiblity mode anymore. Rename the k5foo utils to kfoo (after repo-copy).
* Unbreak Kerberos 5 authentication in telnet.nectar2003-03-061-0/+1
| | | | | | (Credential forwarding is still broken.) PR: bin/45397
* Take __FreeBSD_version into account when BOOTSTRAPPING.ru2002-11-132-2/+6
|
* Zap now-unused SHLIB_MINORpeter2002-09-281-1/+0
|
* Update build infrastructure after import of Heimdal Kerberos 2002/08/29.nectar2002-08-302-1/+2
|
* Bootstrapping aid for pre-getprogname(3) systems.ru2002-08-132-0/+8
| | | | | | Spotted by: Gareth Hopkins <gareth@za.uu.net> Approved by: nectar MFC after: 3 days
* Make this -j safe.ru2002-05-142-0/+2
|
* MAN[1-9] -> MAN.ru2002-05-131-3/+3
|
* Removed now unused INTERNALSTATICLIB.ru2002-05-133-6/+0
| | | | | INTERNALLIB now implies NOPIC and NOPROFILE. Removed gratuitous NOMAN.
OpenPOWER on IntegriCloud