Need OpenLDAP Help

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat Need OpenLDAP Help
# 1  
Old 08-05-2009
Need OpenLDAP Help

Hi, all:
I'm studying for the RHCE and have hit the section on configuring an OpenLDAP client. I'd like to practice this, but I can't get an OpenLDAP server set up. I followed the directions in RedHat's Deployment Guide, and it looks like the server is up and running, but I can't get the directory populated.

I try to do the initial population with the following (as root):

~/entry:

dn: dc=lohman,dc=home
objectClass: dcObject
objectClass: organization
o: Home
dc:lohman

# ldapadd -xf ~/entry
adding new entry "dc=lohman,dc=home"
ldapadd: Invalid DN syntax (34)
additional info: invalid DN

My OpenLDAP server is hp01.lohman.home (using internal dns for my home network).

I also tried installing phpldapadmin, but for whatever reason, I can't log into that. When I installed it, the original ldap.conf that I placed the password into (per RH Deployment Guide instructions) turned up missing, and there appears to be a different ldap.conf file in its place.

Any ideas?
TIA,
RJL

Last edited by rjlohman; 08-05-2009 at 02:40 PM.. Reason: further clarification of problem
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. Red Hat

Openldap 2.4.31 replication

Hi, I have done setup for openldap master and slave. Its working fine and replicating also. But it is working only with plane text password in syncrepl . How we can use encrypted password here also like we are using in rootpw ? Below portion is working. syncrepl rid=101 ... (3 Replies)
Discussion started by: Priy
3 Replies

2. UNIX for Advanced & Expert Users

SSL/TLS with openldap

Hello to all, I'm beguinner in Linux instalations and I'm trying to Communicate from Web Sites that i have running under apache with openLDAP for users authentication using SSL mediation that seems to be connected with LDAPS. Can someone advise me how to do this, I have already installed... (1 Reply)
Discussion started by: CPMarco
1 Replies

3. UNIX for Advanced & Expert Users

OpenLDAP and Solaris10 problems

Hi All, I have configured OpenLDAP sucessfully and set following results indicating that the user is loaded on the LDAP database test5:/ $ cat /etc/passwd | grep admin777 test5:/ $ getent passwd admin777 admin777:x:5011:1000::/:/bin/bash test5:/ $ id admin777 uid=5011(admin777)... (0 Replies)
Discussion started by: esawyja
0 Replies

4. Solaris

Openldap configuration

I m using Intel solaris 10 version . I m trying to install openldap and used several documents and package versions . But every time I got CC PATH error and while I solved the CC issue , I got Barkley DB error . :wall: Is there any perticular site from where I can install and configure... (1 Reply)
Discussion started by: sanjee
1 Replies

5. Solaris

OpenLDAP setup

At work I'm been givin the task to move are backend servers from NIS to LDAP. We have mostly Solaris 10 servers, as well as a few Redhat servers. I am going to use openLDAP as the LDAP server. I'm looking for a good how to guide on setting up the openLDAP server. Most of the docs I have found seem... (0 Replies)
Discussion started by: bitlord
0 Replies

6. UNIX for Advanced & Expert Users

User's deletion in OpenLDAP

Hi, I am using OpenLDAP for authenticating my postfix mail server. Now i have to clean up some resigned users from the LDAP directory. I have the list of common names (CN) with me, how can i delete the LDAP users form with that list. Regards, Hima Kiran (2 Replies)
Discussion started by: ghimakiran
2 Replies

7. AIX

openLDAP with Aix

hello I have a P570 with 3 partitions. These partitions are available, since 1 year. So there are a lot of users, files, etc, on these partition I must now install an openldap with Debian to manage all these users. But several pb: on LDAP, we are 1 iud for user and one home directory, 1 gid... (0 Replies)
Discussion started by: pascalbout
0 Replies

8. UNIX for Advanced & Expert Users

OpenLDAP and Apache

Hello! I'm starting to panic here! I'm trying to authorize Subversion (via apache) users at my company here via LDAP. Sure everything works when just authorizing users with require valid-user But! That is not what I'm looking for, I wish to Authorize by membership in specifik groups... This... (0 Replies)
Discussion started by: Esaia
0 Replies

9. UNIX for Dummies Questions & Answers

Openldap-2.1.17 and redhat 7.1 alpha

BerkeleyDB not available That's what I get when I ./configure openeldap. I did get the Berkeley package and it seemed to install fine. I mean I had no errors. Then I move on to installing Openldap and I always get this message. Someone said to edit ld.so.conf with the BerkeleyDB path and I... (2 Replies)
Discussion started by: benzo
2 Replies
Login or Register to Ask a Question
LDAP_PARSE_SORT-CONTROL(3)				     Library Functions Manual					LDAP_PARSE_SORT-CONTROL(3)

NAME
ldap_parse_sort_control - Decode the information returned from a search operation that used a server-side sort control LIBRARY
OpenLDAP LDAP (libldap, -lldap) SYNOPSIS
#include <ldap.h> int ldap_parse_sort_control(ld, ctrls, returnCode, attribute) LDAP *ld; LDAPControl **ctrls; unsigned long *returnCode; char **attribute; DESCRIPTION
This function is used to parse the results returned in a search operation that uses a server-side sort control. It takes a null terminated array of LDAPControl structures usually obtained by a call to the ldap_parse_result function. A returncode which points to the sort control result code,and an array of LDAPControl structures that list the client controls to use with the search. The function also takes an out parameter attribute and if the sort operation fails, the server may return a string that indicates the first attribute in the sortKey list that caused the failure. If this parameter is NULL, no string is returned. If a string is returned, the mem- ory should be freed by calling the ldap_memfree function. NOTES
SEE ALSO
ldap_result(3), ldap_controls_free(3) ACKNOWLEDGEMENTS
OpenLDAP Software is developed and maintained by The OpenLDAP Project <http://www.openldap.org/>. OpenLDAP Software is derived from Uni- versity of Michigan LDAP 3.3 Release. OpenLDAP 2.4.28 2011/11/24 LDAP_PARSE_SORT-CONTROL(3)