FreeBSD, ports and OpenLDAP versions
October 2018
Sun Mon Tue Wed Thu Fri Sat
  1 2 3 4 5 6
7 8 9 10 11 12 13
14 15 16 17 18 19 20
21 22 23 24 25 26 27
28 29 30 31      
About
This site is an effort to share some of the base knowledge I have gathered through all this years working with Linux, FreeBSD, OpenBSD, Python or Zope, among others. So, take a look around and I hope you will find the contents useful.
Recent Entries
Recent Comments
Recent Trackbacks
Categories
OpenBSD (9 items)
BSD (0 items)
FreeBSD (19 items)
Linux (3 items)
Security (3 items)
Python (22 items)
Zope (13 items)
Daily (144 items)
e-shell (9 items)
Hacks (14 items)
PostgreSQL (3 items)
OSX (8 items)
Nintendo DS (0 items)
enlightenment (0 items)
Apache (3 items)
Nintendo Wii (1 items)
Django (24 items)
Music (12 items)
Plone (7 items)
Varnish (0 items)
Lugo (2 items)
Sendmail (0 items)
europython (7 items)
Cherokee (1 items)
self (1 items)
Nature (1 items)
Hiking (0 items)
uwsgi (0 items)
nginx (0 items)
cycling (10 items)
Networking (1 items)
DNS (0 items)
Archives

Syndicate this site (XML)

RSS/RDF 0.91

12 mayo
2008

FreeBSD, ports and OpenLDAP versions

or how to set up the proper openldap version when needed.

This is mostly a reminder for myself, but perhaps any of you would find it helpful.

Today, while trying to set up ldap-based user authentication on FreeBSD (using OpenLDAP as the backend), I found this error while trying to install pam_ldap from ports:

===>  openldap-client-2.3.41 conflicts with installed package(s):
      openldap-client-2.4.8

      They install files into the same place.
      Please remove them first with pkg_delete(1).
*** Error code 1

Stop in /usr/ports/net/openldap23-client.
*** Error code 1

Stop in /usr/ports/security/pam_ldap.

The problem here was that the pam_ldap port has openldap-client as a dependency, and the default version for such dep is OpenLDAP 2.3, while my server already has OpenLDAP 2.4 on it.

What to do now?

Easy, just adding one line to /etc/make.conf solved the problem:

WANT_OPENLDAP_VER=24

Back to the port directory, make install finished smoothly:

===>   Compressing manual pages for pam_ldap-1.8.4
===>   Registering installation for pam_ldap-1.8.4
[PXGOServer] /usr/ports/security/pam_ldap>

Posted by wu at 11:22 | Comments (0) | Trackbacks (0)
<< New server connection | Main | nvidia > ati >>
Comments
There are no comments.
Trackbacks
Please send trackback to:http://blog.e-shell.org/69/tbping
There are no trackbacks.
Post a comment