Solved

ldap.conf question

Posted on 2014-09-09
1
161 Views
Last Modified: 2014-09-10
I have the following ldap.conf

#
# LDAP Defaults
#

# See ldap.conf(5) for details
# This file should be world readable but not world writable.

BASE    dc=example,dc=com
URI     ldap://127.0.0.1 ldap://127.0.0.1:666

#SIZELIMIT      12
#TIMELIMIT      15
#DEREF          never

TLS_CACERTDIR   /etc/openldap/certs

Open in new window


This is a slightly modified version of what came with the openldap.  on the line

URI     ldap://127.0.0.1 ldap://127.0.0.1:666

Open in new window


I assume the second ldap: entry is normatively the ssl entry.

If so shouldn't it be the following ?

URI     ldap://127.0.0.1 ldaps://127.0.0.1:636

Open in new window


Or am I getting this wrong

Thanks
0
Comment
Question by:Anthony Lucia
1 Comment
 
LVL 3

Accepted Solution

by:
CraigFrost earned 500 total points
ID: 40313900
Not sure what your issue is but:
Port 636 is LDAP over SSL (LDAPS) , port 389 is LDAP.
TLS_CACERTDIR   /etc/openldap/certs will be where your certificate is installed that would be presented to a client if they connect to your server over port 636. The root cert will need to be installed on the client in the trusted root authority store. Certificate details (expiration, DNS name and if trusted) will need to be correct.
Base is the parent OU in the DS tree that LDAP(s) searches will begin from.
Auth credentials may be required also.
0

Featured Post

Complete VMware vSphere® ESX(i) & Hyper-V Backup

Capture your entire system, including the host, with patented disk imaging integrated with VMware VADP / Microsoft VSS and RCT. RTOs is as low as 15 seconds with Acronis Active Restore™. You can enjoy unlimited P2V/V2V migrations from any source (even from a different hypervisor)

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Using 'screen' for session sharing, The Simple Edition Step 1: user starts session with command: screen Step 2: other user (logged in with same user account) connects with command: screen -x Done. Both users are connected to the same CLI sessio…
FreeBSD on EC2 FreeBSD (https://www.freebsd.org) is a robust Unix-like operating system that has been around for many years. FreeBSD is available on Amazon EC2 through Amazon Machine Images (AMIs) provided by FreeBSD developer and security office…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…
Get a first impression of how PRTG looks and learn how it works.   This video is a short introduction to PRTG, as an initial overview or as a quick start for new PRTG users.

896 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now