LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Other *NIX Forums > *BSD
User Name
Password
*BSD This forum is for the discussion of all BSD variants.
FreeBSD, OpenBSD, NetBSD, etc.

Notices

Reply
 
LinkBack Search this Thread
Old 10-18-2009, 06:50 AM   #1
brianzone
LQ Newbie
 
Registered: Oct 2009
Posts: 1

Rep: Reputation: 0
Installing Openldap Server and Client on FreeBSD


Hi everyone,
I need to install Openldap server and client on two different FreeBSD machines.
I've installed 'something' for both but don;t know whether it is working or not. The ldapsearch command as specified below gives the following output:

ldapsearch -W -H ldap://localhost/ -D cn=Manager,dc=dc=eggs,dc=basket,dc=com -b 'dc=dc=eggs,dc=basket,dc=com' '(objectclass=*)'

Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <dc=dc=eggs,dc=basket,dc=com> with scope subtree
# filter: (objectclass=*)
# requesting: ALL
#

# eggs.basket.com
dn: dc=eggs,dc=basket,dc=com
objectClass: dcObject
objectClass: organization
o: dc=eggs,dc=basket,dc=com
dc: eggs

# Manager, eggs.basket.com
dn: cn=Manager,dc=eggs,dc=basket,dc=com
objectClass: organizationalRole
cn: Manager

# user1,eggs.basket.com
dn: uid=user1,dc=eggs,dc=basket,dc=com
cn: user1
uid: user1
givenName: user
sn: nobody
mail: user@abc.com
objectClass: inetOrgPerson

# search result
search: 2
result: 0 Success

# numResponses: 4
# numEntries: 3

Can anyone help me to install this server and client and make them talk to each other?

Thanks...
 
Old 10-18-2009, 04:01 PM   #2
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 237

Rep: Reputation: 52
That indicates that it's working. ldapsearch is able to get an answer.

I haven't done it on FreeBSD. It's probably similar to other systems, though I'd guess the configuration files are in /usr/local/etc rather than /etc.

I have a little page on LDAP--written for CentOS, you still might (or might not) find it useful.

http://home.roadrunner.com/~computertaijutsu/ldap.html

The FreeBSD.org documentation:

http://www.freebsd.org/doc/en/articl...uth/index.html

Last edited by scottro11; 10-18-2009 at 04:02 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Solaris 10 with DSEE 6.2 as ldap server and RHEL 5.1 as Openldap client al.lmco Linux - Newbie 1 07-04-2008 05:28 AM
FreeBSD NIS Server with SUSE client kssuhesh Linux - Server 1 08-22-2007 04:44 AM
getting a linux client to authenticate against OpenLDAP server mars_fun_size Linux - Software 1 03-15-2007 03:22 AM
Solaris 9 client -->Openldap Red hat 9 server unix-o-matic Linux - Networking 2 05-03-2004 12:20 PM
Solari 9 client --> openldap server unix-o-matic Solaris / OpenSolaris 1 05-03-2004 08:20 AM


All times are GMT -5. The time now is 08:32 AM.

Main Menu
 
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration