summaryrefslogtreecommitdiffstats
path: root/lib/libpam
Commit message (Collapse)AuthorAgeFilesLines
...
| | * | | | | | | sync from headsjg2013-04-121-3/+3
| | |\ \ \ \ \ \ \
| | * | | | | | | | Updated dependenciessjg2013-03-1125-0/+25
| | | | | | | | | |
| | * | | | | | | | Updated dependenciessjg2013-02-1625-50/+0
| | | | | | | | | |
| | * | | | | | | | Move build of openpam_static_modules.o to its own subdirsjg2013-01-245-48/+113
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to avoid circular dependency b/w libpam and modules. Reviewed by: obrien
| | * | | | | | | | Updated/new Makefile.dependsjg2012-11-0825-0/+118
| | | | | | | | | |
| | | | | | | | | |
| | | \ \ \ \ \ \ \
| | *-. \ \ \ \ \ \ \ Sync from headsjg2012-11-044-13/+15
| | |\ \ \ \ \ \ \ \ \
| | * | | | | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-2225-0/+429
| | | |/ / / / / / / / | | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | | | | | Move ssh into a dedicated packagebapt2015-03-051-0/+1
|/ / / / / / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Flag config files as "to be merged on upgrade"
* | | | | | | | | | Conditionalize building radius support into libpam, ppp, etc viangie2015-02-041-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | MK_RADIUS_SUPPORT MFC after: 1 week Sponsored by: EMC / Isilon Storage Division
* | | | | | | | | | If PAM_RHOST is non-NULL, pass it in the Calling-Station-ID attribute ofdes2015-01-161-12/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the RADIUS access request. MFC after: 1 week
* | | | | | | | | | mdoc: improvements to SEE ALSO.joel2014-12-271-1/+1
| | | | | | | | | |
* | | | | | | | | | Convert to LIBADDbapt2014-11-261-2/+1
| | | | | | | | | |
* | | | | | | | | | Convert libraries to use LIBADDbapt2014-11-2511-25/+12
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | While here reduce a bit overlinking
* | | | | | | | | Hook up OpenPAM's own unit tests to the build.des2014-11-052-0/+23
| | | | | | | | |
* | | | | | | | | Consistently cast tty and user to const char * in printf()-like contexts.des2014-10-011-3/+4
| | | | | | | | |
* | | | | | | | | Hopefully fix build breakage with gcc passing void * instead of char *bz2014-09-291-1/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | to "%s" format string after r272280. PR: 83099 193927 MFC after: 3 days X-MFC with: r272280
* | | | | | | | | Instead of failing when neither PAM_TTY nor PAM_RHOST are available, calldes2014-09-291-2/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | login_access() with "**unknown**" as the second argument. This will allow "ALL" rules to match. Reported by: Tim Daneliuk <tundra@tundraware.com> Tested by: dim@ PR: 83099 193927 MFC after: 3 days
* | | | | | | | | Upgrade to OpenPAM Ourouparia.des2014-09-151-0/+1
|\ \ \ \ \ \ \ \ \
| * | | | | | | | | Vendor import of OpenPAM Ourouparia.des2014-09-159-30/+179
| | | | | | | | | |
| * | | | | | | | | Merge upstream r763: fix is_upper() predicate.des2014-02-261-1/+9
| | | | | | | | | |
| * | | | | | | | | Merge upstream r743: caught_signal should be static.des2013-09-071-1/+1
| | | | | | | | | |
* | | | | | | | | | r271256 fixed one segfault condition but introduced another due to thedes2014-09-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | wrong operator being used in the tty check. Reported by: avg@ MFH: 3 days
* | | | | | | | | | Fail rather than segfault if neither PAM_TTY nor PAM_RHOST is set.des2014-09-081-7/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 83099 MFC after: 3 days
* | | | | | | | | | According to opie code and even direct mention in opie(4) challenge bufferache2014-08-121-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | size must be OPIE_CHALLENGE_MAX + 1, not OPIE_CHALLENGE_MAX Reviewed by: des MFC after: 1 week
* | | | | | | | | | Rework privatelib/internallibbapt2014-08-061-1/+1
| |_|_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Make sure everything linking to a privatelib and/or an internallib does it directly from the OBJDIR rather than DESTDIR. Add src.libnames.mk so bsd.libnames.mk is not polluted by libraries not existsing in final installation Introduce the LD* variable which is what ld(1) is expecting (via LDADD) to link to internal/privatelib Directly link to the .so in case of private library to avoid having to complexify LDFLAGS. Phabric: https://phabric.freebsd.org/D553 Reviewed by: imp, emaste
* | | | | | | | | Remove useless getpwnam() call.des2014-07-261-3/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Submitted by: Arthur Mesh <amesh@juniper.net> MFC after: 1 week
* | | | | | | | | Add support for the "account" facility.des2014-07-192-5/+25
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 115164 MFC after: 1 week
* | | | | | | | | Check if the specified group is the user's primary group beforedes2014-07-191-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | iterating over the (possibly empty) list of members. Otherwise, we get a false negative when the target group has no members listed in /etc/group. This went mostly unnoticed because root is explicitly listed as a member of wheel, so the bug is never triggered in the most common use case, which is su(8). PR: 109416 MFC after: 1 week
* | | | | | | | | mdoc: remove superfluous paragraph macros.joel2014-06-231-1/+0
| | | | | | | | |
* | | | | | | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-234-8/+8
| |_|_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | | | | | Use src.opts.mk in preference to bsd.own.mk except where we need stuffimp2014-05-062-1/+2
| |_|_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | from the latter.
* | | | | | | Spell NO_PROFILE= as MK_PROFILE=no.imp2014-04-252-2/+2
| | | | | | |
* | | | | | | Kill last remaining NO_INSTALLLIB in tree by converting it over toimp2014-04-251-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | MK_INSTALLIB=no.
* | | | | | | multiple: Remove 3rd clause from BSD license where approved by theeadler2014-03-142-10/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | regents and renumber. This patch skips files in contrib/ and crypto/ Acked by: imp Discussed with: emaste
* | | | | | | Catch up with OpenPAM Nummularia.pluknet2013-11-211-1/+1
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This fixes libpam for build32 target to dlopen() pam libraries in /usr/lib32. Reviewed by: des (a while ago) MFC after: 1 week
* | | | | | Make libldns and libssh private.des2013-09-081-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | Approved by: re (blanket)
* | | | | | Update to OpenPAM Nummularia.des2013-09-071-1/+6
|\ \ \ \ \ \ | |/ / / / /
| * | | | | Vendor import of OpenPAM Nummularia..des2013-09-0784-424/+1225
| | | | | |
* | | | | | MFV (r255364): move the code around in preparation for Nummularia.des2013-09-071-1/+1
|\ \ \ \ \ \ | |/ / / / / | | | | | / | |_|_|_|/ |/| | | |
| * | | | Prepare for OpenPAM Nummularia by reorganizing to match its new directorydes2013-09-0776-0/+8843
| / / / | | | | | | | | | | | | structure.
* | | | Make the PAM password strength checking module WARNS=2 safe.will2013-08-271-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | lib/libpam/modules/pam_passwdqc/Makefile: Bump WARNS to 2. contrib/pam_modules/pam_passwdqc/pam_passwdqc.c: Bump _XOPEN_SOURCE and _XOPEN_VERSION from 500 to 600 so that vsnprint() is declared. Use the two new union types (pam_conv_item_t and pam_text_item_t) to resolve strict aliasing violations caused by casts to comply with the pam_get_item() API taking a "const void **" for all item types. Warnings are generated for casts that create "type puns" (pointers of conflicting sized types that are set to access the same memory location) since these pointers may be used in ways that violate C's strict aliasing rules. Casts to a new type must be performed through a union in order to be compliant, and access must be performed through only one of the union's data types during the lifetime of the union instance. Handle strict-aliasing warnings through pointer assignments, which drastically simplifies this change. Correct a CLANG "printf-like function with more arguments than format" error. Submitted by: gibbs Sponsored by: Spectra Logic
* | | | GC unused source file.des2013-08-161-178/+0
| | | |
* | | | Backport upstream r684 (OPENPAM_DEBUG enables debugging macros but doesdes2013-04-141-3/+1
| |_|/ |/| | | | | | | | not turn debugging on by default) and add OPENPAM_DEBUG to CFLAGS.
* | | Fix declaration vs. definition inconsistency. No functional change.jkim2013-04-051-3/+3
| |/ |/|
* | remove duplicate semicolons where possible.eadler2012-10-221-1/+1
| | | | | | | | | | Approved by: cperciva MFC after: 1 week
* | Remove unnecessary #include.des2012-09-281-1/+0
| |
* | Bump date missed in r202756eadler2012-09-141-1/+1
| | | | | | | | | | | | | | PR: docs/171624 Submitted by: bdrewery Approved by: gabor MFC after: 3 days
* | Fix an instance in pam_krb5(8), where the variable 'user' could be useddim2012-08-061-2/+2
| | | | | | | | | | | | | | | | uninitialized. Found by: clang 3.2 Reviewed by: des MFC after: 1 week
* | Fix two instances in pam_krb5(8), where the variable 'princ_name' coulddim2012-08-061-4/+4
| | | | | | | | | | | | | | | | be used uninitialized. Found by: clang 3.2 Reviewed by: des MFC after: 1 week
* | Add an option for pam_krb5 to allow it to authenticate users which don't havedfr2012-08-051-4/+7
|/ | | | | | | | a local account. PR: 76678 Submitted by: daved at tamu.edu MFC after: 2 weeks
OpenPOWER on IntegriCloud