Configuring OpenLDAP and FreeBSD 6.2R

Lisandro Grullon lisandrogrullon07 at hotmail.com
Wed Aug 22 06:25:24 PDT 2007


Hi all,
I have been trying to get openLDAP up and running before I decide to integrated into a number of aplications. 
 
The port currently install are:
openldap-sasl-client-2.4.3.a        openldap-server-2.4.3.a            
db4-4.0.14_1,1
 
 
After restarting the service and looking at the logs, I am getting some warnings, can someone elaborate what they mean with the following.
 
Aug 22 09:16:00 sce2 slapd[32190]: @(#) $OpenLDAP: slapd 2.4.3alpha (Oct 18 2006 03:27:53) $    root at freebsd.org:/work/a/ports/net/openldap24-server/work/openldap-2.4.3alpha/servers/slapdAug 22 09:16:00 sce2 slapd[32190]: NSSWITCH(nss_method_lookup): ldap, passwd, endpwent, not foundAug 22 09:16:00 sce2 slapd[32190]: NSSWITCH(nss_method_lookup): ldap, group, setgrent, not foundAug 22 09:16:00 sce2 slapd[32190]: NSSWITCH(nss_method_lookup): ldap, group, getgrent_r, not foundAug 22 09:16:00 sce2 slapd[32190]: NSSWITCH(nss_method_lookup): ldap, group, endgrent, not foundAug 22 09:16:00 sce2 slapd[32190]: NSSWITCH(nss_method_lookup): ldap, group, endgrent, not foundAug 22 09:16:00 sce2 slapd[32191]: slapd starting
 
I have added the following entries to my rc.conf.
 
# Configuration for OpenLDAPslapd_enable="YES"slapd_flags='-h "ldapi://%2fvar%2frun%2fopenldap%2fldapi/ ldap://0.0.0.0/"'slapd_sockets="/var/run/openldap/ldapi"
I have also change my nsswitch settings to reflect the following.
 
group: files ldap compatgroup_compat: nishosts: files dnsnetworks: filespasswd: files ldap compatpasswd_compat: nisshells: files
 
Thank you in advance for your input.
 
FreeBSD sce2.mydomain.com 6.2-RELEASE FreeBSD 6.2-RELEASE #0: Fri Jan 12 08:43:30 UTC 2007     root at portnoy.cse.buffalo.edu:/usr/obj/usr/src/sys/SMP  amd64
_________________________________________________________________
Find a local pizza place, movie theater, and more….then map the best route!
http://maps.live.com/default.aspx?v=2&ss=yp.bars~yp.pizza~yp.movie%20theater&cp=42.358996~-71.056691&style=r&lvl=13&tilt=-90&dir=0&alt=-1000&scene=950607&encType=1&FORM=MGAC01


More information about the freebsd-questions mailing list