LinuxQuestions.org
Visit Jeremy's Blog.
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
 
Thread Tools
Old 10-18-2009, 07:50 AM   #1
brianzone
LQ Newbie
 
Registered: Oct 2009
Posts: 1
Thanked: 0
Installing Openldap Server and Client on FreeBSD


[Log in to get rid of this advertisement]
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...
windows_vista brianzone is offline     Reply With Quote
Old 10-18-2009, 05:01 PM   #2
scottro11
Member
 
Registered: Jun 2009
Location: NYC
Posts: 171
Thanked: 16
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 05:02 PM..
linux scottro11 is offline     Reply With Quote

Reply

Bookmarks


Thread Tools

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


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 06:28 AM
FreeBSD NIS Server with SUSE client kssuhesh Linux - Server 1 08-22-2007 05:44 AM
getting a linux client to authenticate against OpenLDAP server mars_fun_size Linux - Software 1 03-15-2007 04:22 AM
Solaris 9 client -->Openldap Red hat 9 server unix-o-matic Linux - Networking 2 05-03-2004 01:20 PM
Solari 9 client --> openldap server unix-o-matic Solaris / OpenSolaris 1 05-03-2004 09:20 AM


All times are GMT -5. The time now is 12:48 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
RSS2  LQ Podcast
RSS2  LQ Radio
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: @linuxquestions
Open Source Consulting | Domain Registration