Re: openpam oddity?

2011-12-18 Thread Dag-Erling Smørgrav
Michael Butler writes: > Any ideas why courier-authdaemon is now reporting .. > > authdaemond: in openpam_dynamic(): No error: 0 > authdaemond: in openpam_load_module(): no pam_unix.so found > > I've recompiled libpam and courier from scratch :-( Can you ktrace courier-authdaemon? # env LD_UTRAC

Re: openpam oddity?

2011-12-18 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 12/18/11 15:20, Garrett Cooper wrote: > On Sun, Dec 18, 2011 at 12:14 PM, Michael Butler > wrote: >> -BEGIN PGP SIGNED MESSAGE- >> Hash: SHA1 >> >> Any ideas why courier-authdaemon is now reporting .. >> >> authdaemond: in openpam_dynamic()

Re: openpam oddity?

2011-12-18 Thread Garrett Cooper
On Sun, Dec 18, 2011 at 12:14 PM, Michael Butler wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Any ideas why courier-authdaemon is now reporting .. > > authdaemond: in openpam_dynamic(): No error: 0 > authdaemond: in openpam_load_module(): no pam_unix.so found > > I've recompiled li

openpam oddity?

2011-12-18 Thread Michael Butler
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Any ideas why courier-authdaemon is now reporting .. authdaemond: in openpam_dynamic(): No error: 0 authdaemond: in openpam_load_module(): no pam_unix.so found I've recompiled libpam and courier from scratch :-( imb -BEGIN PGP SIGNATURE-

Re: OpenPAM dynamic module loading not working ?

2003-07-13 Thread Dag-Erling Smorgrav
On Sun, Jul 13, 2003 at 10:11:09AM +0100, Dominic Marks wrote: > Ok, can you explain why it was trying to find the pam_get_pass symbol > which was removed from the module (by a port patch) and not mentioned in > OpenPAM? I assume OpenPAM is looking in the module, catching a stray > ref

Re: OpenPAM dynamic module loading not working ?

2003-07-13 Thread Dominic Marks
enpam_load_module(): no pam_pgsql.so > > > > found > > > > Jul 7 22:10:40 bacon dovecot-auth: PAM: pam_start(example) failed: failed to > > > > load module > > > > > > The module probably lacks dependency information. I'll try to fig

Re: OpenPAM dynamic module loading not working ?

2003-07-13 Thread Dag-Erling Smorgrav
t; > Jul 7 22:10:40 bacon dovecot-auth: PAM: pam_start(example) failed: failed to > > > load module > > > > The module probably lacks dependency information. I'll try to figure > > it out later today. > > I rebuilt OpenPAM with debugging info a

Re: OpenPAM dynamic module loading not working ?

2003-07-10 Thread Dominic Marks
o load > > module > > The module probably lacks dependency information. I'll try to figure > it out later today. I rebuilt OpenPAM with debugging info and looked at what was happening. It turned out that it was not able to resolve pam_get_pass from the module and would then stat

Re: OpenPAM dynamic module loading not working ?

2003-07-09 Thread Dag-Erling Smørgrav
Dominic Marks <[EMAIL PROTECTED]> writes: > Jul 7 22:10:40 bacon dovecot-auth: in openpam_load_module(): no pam_pgsql.so found > Jul 7 22:10:40 bacon dovecot-auth: PAM: pam_start(example) failed: failed to load > module The module probably lacks dependency information. I'll try to figure it o

OpenPAM dynamic module loading not working ?

2003-07-06 Thread Dominic Marks
Hey, I'm trying to setup authentication against a PostgreSQL Database with OpenPAM and pam_pgsql. I have installed the pam_pgsql port and configured a few services (samba, pop3) to authenticate against the DB. Whenever an authentication request is made I get the following errors (regardle

Re: Getting an OpenPAM module to work on 5.0-RELEASE

2003-02-09 Thread Olivier Dony
y > > problem is really to get an OpenPAM module to work, I even tried to simply > > rename the pam_permit one, but have the same problem: openpam_load_module > > won't find/open it now matter what... > > In /usr/src/contrib/openpam/lib/openpam_dynamic.c, change

Re: Getting an OpenPAM module to work on 5.0-RELEASE [SOLVED]

2003-02-09 Thread Olivier Dony
On Mon, Feb 10, 2003 at 12:34:32AM +0100, Dag-Erling Smorgrav wrote: > Olivier <[EMAIL PROTECTED]> writes: > > I'm trying to write a MySQL authentication PAM module to be used with > > Cyrus-imapd2 and salsauthd, since pam-mysql is broken wrt OpenPAM. > > Wouldn&#x

Re: Getting an OpenPAM module to work on 5.0-RELEASE

2003-02-09 Thread Dag-Erling Smorgrav
Olivier Dony <[EMAIL PROTECTED]> writes: > Actually I had patched pam_mysql (on FreeBSD 4.x when pam_mysql was still > working, to be able to use blowfish correctly with FreeBSD's crypt(), but my > problem is really to get an OpenPAM module to work, I even tried to simply >

Re: Getting an OpenPAM module to work on 5.0-RELEASE

2003-02-09 Thread Olivier Dony
On Sun, Feb 09, 2003 at 08:03:54PM +0300, Sergey Mokryshev wrote: > On Sun, 9 Feb 2003, Olivier wrote: > > > Hi, > > > > I'm trying to write a MySQL authentication PAM module to be used with > > Cyrus-imapd2 and salsauthd, since pam-mysql is broken wrt OpenPAM.

Re: Getting an OpenPAM module to work on 5.0-RELEASE

2003-02-09 Thread Dag-Erling Smorgrav
Olivier <[EMAIL PROTECTED]> writes: > I'm trying to write a MySQL authentication PAM module to be used with > Cyrus-imapd2 and salsauthd, since pam-mysql is broken wrt OpenPAM. Wouldn't it be easier to fix the existing pam_mysql? DES -- Dag-Erling Smorgrav - [EMAIL PROT

Getting an OpenPAM module to work on 5.0-RELEASE

2003-02-09 Thread Olivier
Hi, I'm trying to write a MySQL authentication PAM module to be used with Cyrus-imapd2 and salsauthd, since pam-mysql is broken wrt OpenPAM. I started from the base modules source and added mysql code in it. The problem is to get the compiled shared library to work. The authentication a

Re: openpam error from sshd

2003-01-29 Thread Dag-Erling Smorgrav
"Jacques A. Vidrine" <[EMAIL PROTECTED]> writes: > I believe I fixed this in revision 1.13 of pam_krb5.c. I'd be much > obliged if you double-checked. Looks fine to me. Thanks! DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe free

Re: openpam error from sshd

2003-01-29 Thread Jacques A. Vidrine
ause it isn't really important. > Error 24 is PAM_NO_MODULE_DATA, which isn't an allowed return value > for pam_setcred() according to the XSSO, but nobody really cares > because anything else than PAM_SUCCESS is an error, so the bug doesn't > have any adverse effect other th

Re: openpam error from sshd

2003-01-27 Thread Dag-Erling Smorgrav
() according to the XSSO, but nobody really cares because anything else than PAM_SUCCESS is an error, so the bug doesn't have any adverse effect other than making OpenPAM bitch so I remember to fix it :) Workaround until I fix the module: in src/lib/libpam/libpam/Makefile, add CFLAGS

openpam error from sshd

2003-01-24 Thread Kris Kennaway
I've just updated bento to 5.0, and sshd is now giving the following error every few seconds: bento sshd[55737]: in _openpam_check_error_code(): pam_sm_setcred(): unexpected return value 24 Peter says he's seen this elsewhere on the cluster. What's going on? Kris msg50888/pgp0.pgp Des

Re: Ports broken by OpenPAM

2002-04-01 Thread Dag-Erling Smorgrav
Joe Marcus Clarke <[EMAIL PROTECTED]> writes: > I think I found why pam_ldap wouldn't work with OpenPAM on -CURRENT. > Attached is my proposed patch to OpenPAM. With this applied, pam_ldap > works like a champ. But of course! Thank you very much, that was a stupid braino.

Re: Ports broken by OpenPAM

2002-03-31 Thread Joe Marcus Clarke
On Mon, 2002-03-25 at 10:00, Dag-Erling Smorgrav wrote: > Joe Clarke <[EMAIL PROTECTED]> writes: > > Really? I never received it. Please send it again. Thanks. > > Here's an updated (but untested) version. > I think I found why pam_ldap wouldn't work with

Re: Ports broken by OpenPAM

2002-03-26 Thread Joe Clarke
On 25 Mar 2002, Dag-Erling Smorgrav wrote: > Joe Clarke <[EMAIL PROTECTED]> writes: > > Really? I never received it. Please send it again. Thanks. > > Here's an updated (but untested) version. The patch applies cleanly, and pam_ldap builds. Howvever, every service I try to authenticate wit

Re: Ports broken by OpenPAM

2002-03-25 Thread Joe Marcus Clarke
On Mon, 2002-03-25 at 10:00, Dag-Erling Smorgrav wrote: > Joe Clarke <[EMAIL PROTECTED]> writes: > > Really? I never received it. Please send it again. Thanks. > > Here's an updated (but untested) version. Thanks. As soon as I finish get my -current machine built, I'll test these out. Joe

Re: Ports broken by OpenPAM

2002-03-25 Thread Dag-Erling Smorgrav
Joe Clarke <[EMAIL PROTECTED]> writes: > Really? I never received it. Please send it again. Thanks. Here's an updated (but untested) version. DES -- Dag-Erling Smorgrav - [EMAIL PROTECTED] --- pam_ldap.c.orig Mon Mar 25 15:54:28 2002 +++ pam_ldap.c Mon Mar 25 15:54:29 2002 @@ -126,12 +126

Re: Ports broken by OpenPAM

2002-03-25 Thread Joe Clarke
On 25 Mar 2002, Dag-Erling Smorgrav wrote: > Kris Kennaway <[EMAIL PROTECTED]> writes: > > bftpd-1.0.22.log > > pam-pgsql-0.5.2_2.log > > Not tested. > > > pam_ldap-1.4.0.log > > Not my problem; I sent the maintainer a patch ages ago. Really? I never received it. Please send it again. Thank

Re: Ports broken by OpenPAM

2002-03-25 Thread Dag-Erling Smorgrav
Kris Kennaway <[EMAIL PROTECTED]> writes: > bftpd-1.0.22.log > pam-pgsql-0.5.2_2.log Not tested. > pam_ldap-1.4.0.log Not my problem; I sent the maintainer a patch ages ago. > pam_mysql-0.4.7.log Not tested. > pam_ssh-1.5.log This port should die, pam_ssh(8) is in the base system and the po

Ports broken by OpenPAM

2002-03-24 Thread Kris Kennaway
..include the following: bftpd-1.0.22.log pam-pgsql-0.5.2_2.log pam_ldap-1.4.0.log pam_mysql-0.4.7.log pam_ssh-1.5.log samba-3.0a15.log vlock-1.3.log Logs available on bento: http://bento.freebsd.org/errorlogs/5-latest/ Kris msg36531/pgp0.pgp Description: PGP signature

OpenPAM

2002-02-22 Thread Dag-Erling Smorgrav
OpenPAM Cantaloupe is now available at http://sourceforge.net/project/showfiles.php?group_id=45677> along with an integration patch for FreeBSD-CURRENT. Since the two previous releases have solicited absolutely no feedback other than to point out a broken link on the project's web

OpenPAM Caliopsis + integration patches

2002-02-12 Thread Dag-Erling Smorgrav
OpenPAM Caliopsis and accompanying FreeBSD integration patches are now available from http://openpam.sourceforge.net/>. A fully patched tree is also available from the p4 depot, under //depot/user/des/pam/. Please see the release notes and change log for information about known and resol