Commit Graph

362 Commits

Author SHA1 Message Date
ru
43f7f3f626 Put libraries in the link order.
Reported by:	lorder(1) (modified to work with libraries)
2004-02-04 10:23:09 +00:00
ru
e99388a305 This module doesn't use libgssapi (and it looks never did). 2004-02-04 09:41:47 +00:00
des
29a404af3f Implement pam_sm_close_session().
PR:		bin/61657
Submitted by:	Joe R. Doupnik <jrd@cc.usu.edu>
2004-01-26 19:28:37 +00:00
ru
06cc79d982 Deal better with the crypto version of the PAM library that goes
on the release media -- only put what is different in the crypto
version compared to the base version.  This reduces PAM entries
in /usr/lib in the "crypto" distribution to:

	libpam.a
	libpam.so@
	libpam.so.2
	pam_krb5.so@
	pam_krb5.so.2
	pam_ksu.so@
	pam_ksu.so.2
	pam_ssh.so@
	pam_ssh.so.2

The libpam.so* is still redundant (it is identical to the "base"
version), but we can't set DISTRIBUTION differently for libpam.a
and libpam.so.

(The removal of libpam.so* from the crypto distribution could be
addressed by the release/scripts/crypto-make.sh script, but then
we'd also need to remove redundant PAM headers, and I'm not sure
this is worth a hassle.)
2004-01-18 14:58:07 +00:00
ru
7f780a73d0 DISTRIBUTION is normally single-valued. 2004-01-18 09:32:52 +00:00
schweikh
ea1ad51bde Remove crossref to pam.conf(5) which never existed. 2004-01-17 09:46:49 +00:00
ru
b2f5735cd9 bsd.dep.mk,v 1.43 allows us to replace a hack with a solution. 2004-01-13 17:38:42 +00:00
des
fb0d1b0631 Fix a strict aliasing issue. Also remove an unnecessary pam_get_item()
call (pam_get_authtok() will return the previous token if try_first_pass
or use_first_pass is specified).  Incidentally fix an ugly bug where the
buffer holding the prompt was freed immediately before use, instead of
after.
2003-12-11 15:51:03 +00:00
des
6d8f0c7c8c More strict aliasing fixes.
Submitted by:	Andreas Hauser <andy-freebsd@splashground.de>
2003-12-11 15:48:09 +00:00
des
269a929b0d Fix strict aliasing breakage in PAM modules (except pam_krb5, which needs
more work than the others).  This should make most modules build with -O2.
2003-12-11 13:55:16 +00:00
sobomax
f30edf9d14 Fix on sparc64.
Reported by:	rwatson/tinderbox
MFC after:	2 weeks
2003-11-12 23:36:17 +00:00
sobomax
15f16450ce Add a new configuration variable - nas_ipaddr, which if set allows to
set NAS-IP-Address attribute in requests generated by the pam_radius
module. This attribute is mandatory for some Radius servers out there.

Reviewed by:	des
MFC after:	2 weeks
2003-11-12 17:47:23 +00:00
kensmith
9d5a2dcec9 - fix to UID test description, non-zero -> zero
PR:		docs/57799
Reviewed by:	des
Approved by:	blackend (mentor)
2003-10-17 17:03:38 +00:00
des
c5c27920e0 Ignore ECHILD from waitpid(2) (our child may have been reaped by the
calling process's SIGCHLD handler)

PR:		bin/45669
2003-09-19 11:33:03 +00:00
des
d9e4868988 Revert previous commit after fixing libpam. 2003-07-21 19:56:28 +00:00
des
d866092825 Add a __DECONST() to unbreak the build. 2003-07-15 14:36:36 +00:00
mbr
8433e5f106 Fix the master yppasswd routines, so they really work
for root on ypmaster. yppasswd_local() did use YPPASSWDPROG
instead of MASTER_YPPASSWDPROG, and the domain was not set,
resulting in a coredump during xdr-encode.

Reviewed by:	des
2003-06-15 10:37:22 +00:00
des
562e3b93b5 Add openpam_readline(3). 2003-06-01 12:54:51 +00:00
des
889789a5d1 Retire pam_wheel(8) (which has been disconnected for quite a while) and
pam_ftp(8).
2003-06-01 11:50:35 +00:00
des
b2d5d44746 Don't build pam_std_option(). 2003-05-31 23:38:16 +00:00
des
905a279616 Update copyright dates. 2003-05-31 17:19:03 +00:00
des
7e21db8a8f Remove pam_std_option() and related functions. Add #defines for common
options.
2003-05-31 16:56:35 +00:00
des
51da166e78 Remove all instances of pam_std_option() 2003-05-31 16:55:07 +00:00
des
101f7e0a79 Introduce pam_guest(8) which will replace pam_ftp(8). 2003-05-31 16:52:58 +00:00
ru
bc1f5bcccb mdoc(7) fixes.
Approved by:	re (blanket)
2003-05-24 19:53:08 +00:00
des
f57ad275c4 Retire the useless NOSECURE knob.
Approved by:	re (scottl)
2003-05-19 15:52:01 +00:00
des
730b24d3d7 OpenPAM is WANRS6-clean. 2003-05-05 21:15:35 +00:00
markm
e230a8af54 Turn MAKE_KERBEROS5 into NO_KERBEROS by negating the logic. Some extra
cleanups were necessary in release/Makefile, and the tinderbox code
was syntax checked, not run checked.
2003-05-05 07:58:44 +00:00
markm
3308821a3a Trasmute moer "krb5" distibutions into "crypto". 2003-05-01 21:21:15 +00:00
des
6b5ca0072a Use C99-style varadic macros instead of the non-standard gcc syntax. 2003-05-01 15:08:55 +00:00
des
069c9d5f03 Mark libpam as c99- and WARNS5-clean. 2003-05-01 14:55:06 +00:00
des
50df257242 Make sure rhostip is always initialized.
PR:		bin/51508
Submitted by:	Peter Grimshaw <peter@tesseract.demon.co.uk>
2003-04-30 00:49:42 +00:00
des
b253e15b62 Treat an empty PAM_RHOST the same as a NULL one.
PR:		bin/51508
2003-04-30 00:44:05 +00:00
des
fac4873cf5 Set $HOME to the correct directory (within the chroot tree). 2003-04-30 00:40:24 +00:00
des
289ef16e34 Remove a bogus null password check which assumed that a user with an empty
password must necessarily have an empty pwd->pw_passwd.  Also add a check
that prevents users from setting a blank password unless the nullok option
was specified.  Root is still allowed to give anyone a blank password.
2003-04-24 12:26:25 +00:00
des
5ccf55030b Connect the pam_chroot(8) module to the build. 2003-04-08 16:52:34 +00:00
des
a5c6a33206 Add a cwd option which specifies where to chdir(2) after the chroot(2).
When using the /home/./foo scheme, this defaults to the rhs (/foo);
otherwise it defaults to /.
2003-04-08 16:52:18 +00:00
des
8b7628da74 Experimental pam_chroot module (not connected to the build) 2003-03-30 22:58:23 +00:00
des
d7b699e18a This module is not WARNS-clean, due to brokenness in OpenSSL headers. 2003-03-10 09:19:08 +00:00
des
4cb97c69e6 Somewhat better wording. 2003-03-10 09:15:26 +00:00
des
33cdd74c06 Silence warning caused by OPIE brokenness. 2003-03-10 09:15:08 +00:00
obrien
00d846d131 style.Makefile(5) police
(I've tried to keep to the spirit of the original formatting)

Reviewed by:	des
2003-03-09 20:06:38 +00:00
markm
9ceb07495e KerberosIV de-orbit burn continues. Remove the KerberosIV PAM module. 2003-03-08 10:33:20 +00:00
markm
a846468bf7 Comment-only assistance to lint to kill warnings. 2003-03-08 10:30:49 +00:00
ru
abbfe51b9f mdoc(7) police: Nits. 2003-03-03 11:45:18 +00:00
ru
99f921af66 mdoc(7) police: markup laundry. 2003-02-23 01:47:49 +00:00
des
b0243d2212 Add an "allow_local" option which forces historical behaviour. 2003-02-16 13:01:03 +00:00
des
170d136282 Assume "localhost" if no remote host was specified. This is safe from a
POLA point of view since the stock /etc/opieaccess now allows localhost.
2003-02-15 23:26:49 +00:00
des
680d0e6b62 Use pam_get_user(3) instead of pam_get_item(3) where appropriate. 2003-02-10 18:59:20 +00:00
des
4cd269bfb4 Complete rewrite of pam_ssh(8). The previous version was becoming hard
to maintain, and had security issues which would have required a major
rewrite to address anyway.

This implementation currently starts a separate agent for each session
instead of connecting each new session to the agent started by the first
one.  While this would be a Good Thing (and the old pam_ssh(8) tried to
do it), it's hard to get right.  I'll revisit this issue when I've had a
chance to test some modifications to ssh-agent(1).
2003-02-09 21:20:44 +00:00