Updating Courier AuthDaemon fails to install authvchpw support

Started by gelsemap, May 04, 2005, 05:09:20 PM

Previous topic - Next topic

gelsemap

Hi,

I've done the following:
portupgraded the Courier Authdaemon to 0.55. After a restart of the services and authdaemon and imapd I was unable to login.
I got the following error messages in /var/log/maillog

May  5 01:05:04 superman authdaemond: Installing libauthvchkpw
May  5 01:05:04 superman authdaemond: Shared object "libauthvchkpw.so" not found, required by "authdaemond"

So I reread the /usr/ports/UPDATING and found something about that the authlib had been moved to security ports and called base.

So I went into /usr/ports/security/courier-authlib-base and did make install clean. It started to install without the VCHKPW function. Until now I have not been able to get it installed with this functionallity.

I've done the following command:
make deinstall &&
make reinstall -DWITH_VPOPMAIL clean

However it still wont install the VCHKPW functionallity.

Could someone point me to the right direction?

regards

Patrick

LogicX

remove *authlib* ports

run toaster_setup.pl -s vpopmail

then start it from /usr/local/etc/rc.d/courier-*authlib*.sh start
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

gelsemap

I've done the following

make deinstall for both courier-authlib and courier-authlib-base

executed toaster_setup.pl -s vpopmail

This does not install the authlibs

So I ran toaster_setup.pl -s courier which tells me the following:

superman# toaster_setup.pl -s courier
ports_check_age: Ports file is current (enough).
running: make  -DWITH_VPOPMAIL  -DWITHOUT_PAM  install cleanmake: don't know how to make install. Stop
syscmd: make  -DWITH_VPOPMAIL  -DWITHOUT_PAM  install clean
syscmd: result: 512
port_install: courier-authlib      FAILED
FATAL FAILURE: Install of courier-authlib failed. Please fix and try again.
at /usr/local/lib/perl5/site_perl/5.8.6/Mail/Toaster/Setup.pm line 347

When I run make  -DWITH_VPOPMAIL  -DWITHOUT_PAM  install clean in courier-authlib-base it doesnt seem to use the settings I type in.

I'm using a toaster from one month old. 4.06 when it was just out)

Regards

Patrick


LogicX

I meant to say courier Wink good call on choosing that.

I believe this is due to the port change.

from ports/UPDATING:

20050426:
 AFFECTS: users of mail/courier-authlib
 AUTHOR: mailto:oliver@FreeBSD.org" target="_blank">oliver@FreeBSD.org

 mail/courier-authlib has been moved to security/courier-authlib and is
 now only a meta-port. Installing the meta-port installs security/
 courier-authlib-base and no, one or more sub-ports regarding to what
 authentification methods you've choosen. Courier-authlib-base only
 provides you athentification via PAM. All ports depending on courier-
 authlib (at the time of writing, courier-imap, sqwebmail and maildrop)
 giving you the same choice the meta-port provides you.



I'm too tired to sort out in my head how best to fix this -- I'll try again in the morning

**mental note to Matt for 4.07**
--- May this post be indexed by spiders, and archived for all to see as my internet epitaph.
http://fpux.com" target="_blank">http://fpux.com

gelsemap

Found the following port:

/usr/ports/mail/courier-authlib-vchkpw

Installed this one and bang! It was working again.

Ow, btw. I am having hard time connecting to www.tnpi.biz from connections within Holland and England. Lots of time-outs.

Cheers


Patrick

Ness

Yeah, this was my problem too. At first I found out in /usr/local/etc/authlib/authdaemonrc that my authmodulelist parameter was set to authmodulelist="authuserdb authpam"

I changed it to authmodulelist="authvchkpw" as seen on another post and I got to the error message you had up here.

I tried "cd /usr/ports/mail/courier-authlib-vchkpw" and then "make install clean" but I had an error saying there was something missing in ../../security/...

I tried upgrading my ports (toaster_setup -s ports) and then I was able to install my courier-authlib-vchkpw:
"cd /usr/ports/mail/courier-authlib-vchkpw"
"make install clean"

Since I'm new to FreeBSD (came in from linux) I rebooted and that was it ! Everything works like a charm !

Big Thanks to Matt and the boys ! This is a killer package !

++++++++++++++++++++++++++
Perl Rules !
++++++++++++++++++++++++++
++++++++++++++++++++++++++
Perl Rules !
++++++++++++++++++++++++++

Brian