Re: cyrus-imapd22 installation problem

2005-01-29 Thread Serge Kestens
 Hello

 I have been trying to install the cyrus-imapd22 port without but I keep
 receiving the same error.

 /usr/bin/install -c -o root -g wheel -s -m 755 notifyd
 /usr/local/cyrus/bin
 /usr/local/lib/perl5/5.8.2/man/man3/Cyrus::IMAP.3: No such file or
 directory
 *** Error code 1

 I have searched the port check all of the ports dependencies but I do can
 not
 find which port installs Cyrus::IMAP. I believe I have all the
 dependencies
 installed. I have only seen one other person with this problem so I
 believe I
 am doing something wrong. I am not sure  what.


 Aaron

 OpenSP-1.5_5  needs updating (port has 1.5_6)
 apache-2.0.49 needs updating (port has 2.0.52_4)
 aspell-0.50.5 needs updating (port has 0.60.2)
 autoconf-2.13.000227_5  =  up-to-date with port
 autoconf-2.53_1   needs updating (port has 2.53_3)
 autoconf-2.53_3 =  up-to-date with port
 autoconf-2.57_1 ?  error - origin not found
 autoconf-2.59_2 =  up-to-date with port
 automake-1.4.6_1=  up-to-date with port
 automake-1.5_2,1=  up-to-date with port
 automake-1.7.5_1?  error - origin not found
 bison-1.75_2=  up-to-date with port
 cclient-2002d,1   needs updating (port has 2004a,1)
 cups-base-1.1.20.0needs updating (port has 1.1.22.0_2)
 cvsnt-2.0.34  needs updating (port has 2.0.58d_1)
 cvsup-16.1_3  needs updating (port has 16.1h)
 cyrus-sasl-2.1.20_1 =  up-to-date with port
 cyrus-sasl-saslauthd-2.1.20_1  =  up-to-date with port
 db4-4.0.14_1,1  =  up-to-date with port
 db42-4.2.52_3   =  up-to-date with port
 docbook-sk-4.1.2_3  =  up-to-date with port
 docbook-xml-4.2_1   =  up-to-date with port
%


I think it will search the Cyrus::IMAP.3 in the wrong place.
You've installed perl version 5.8.5, not 5.8.2 as you can see in the error
message.
 /usr/local/lib/perl5/5.8.2/man/man3/Cyrus::IMAP.3
Maybe you didn't executed use.perl port after the latest installation of
perl.

Hopefully, i've send you in the right direction.
Serge Kestens

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


nss_ldap errors

2005-01-25 Thread Serge Kestens
Hi,

i'm trying to use pam_ldap and nss_ldap on a freebsd 5.3 box.
This is my first try to use ldap for sshd logins.
When the user exists in the files i can connect without problem.
I created the same user in ldap with a different password and i can login
with both passwords (files and ldap).
If the user exists only in ldap, it doesn't work
I receive the following error in debug.log
Jan 25 22:19:30 vmldap sshd[608]: NSSWITCH(nss_method_lookup): ldap,
group, setgrent, not found
Jan 25 22:19:30 vmldap sshd[608]: NSSWITCH(nss_method_lookup): ldap,
group, getgrent_r, not found
Jan 25 22:19:30 vmldap sshd[608]: NSSWITCH(nss_method_lookup): ldap,
group, endgrent, not found
Jan 25 22:19:30 vmldap sshd[609]: NSSWITCH(nss_method_lookup): ldap,
passwd, endpwent, not found

Can somebody have a look what i'm doing wrong?
If you need extra info don't hesitate to contact me.
Any help will be appreciated.

Thanks in advance,
Serge



uname -a: vmldap.ecss.be 5.3-RELEASE-p2 FreeBSD 5.3-RELEASE-p2 #0: Tue Dec
21 21:45:18 CET 2004
[EMAIL PROTECTED]:/usr/obj/usr/src/sys/ECXKERNEL  i386
##nsswitch.conf
vmldap# cat /etc/nsswitch.conf
passwd: files [NOTFOUND=continue] ldap
group: files [NOTFOUND=continue] ldap
hosts: files dns
networks: files
shells: files

##nss_ldap.conf and ldap.conf
vmldap# cat /usr/local/etc/nss_ldap.conf
host 127.0.0.1
base dc=ecss,dc=be
scope sub
port 389
pam_password md5
ldap_version 3
pam_filter objectclass=posixAccount
pam_login_attribute uid
pam_member_attribute memberUid
nss_base_passwd ou=people,dc=ecss,dc=be?one
nss_base_group ou=groups,dc=ecss,dc=be?one
nss_base_shadow ou=people,dc=ecss,dc=be?one
#debug testing
logdir /var/log
debug 9

vmldap# cat /etc/pam.d/sshd
#
# $FreeBSD: src/etc/pam.d/sshd,v 1.15 2003/04/30 21:57:54 markm Exp $
#
# PAM configuration for the sshd service
#
authsufficient  /usr/local/lib/pam_ldap.so debug
try_first_pass
# auth
auth   requiredpam_nologin.so  no_warn
authsufficient  pam_opie.so no_warn
no_fake_prompts
authrequisite   pam_opieaccess.so   no_warn allow_local
#auth   sufficient  pam_krb5.so no_warn
try_first_pass
#auth   sufficient  pam_ssh.so  no_warn
try_first_pass
authrequiredpam_unix.so no_warn
try_first_pass

# account
#accountrequiredpam_krb5.so
account requiredpam_login_access.so
account sufficient  pam_ldap.so debug
account requiredpam_unix.so

# session
#sessionoptionalpam_ssh.so
session requiredpam_permit.so

# password
#password   sufficient  pam_krb5.so no_warn
try_first_pass
passwordsufficient  pam_ldap.so debug
passwordrequiredpam_unix.so no_warn
try_first_pass



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]