LDAP configuration

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat LDAP configuration
# 1  
Old 08-30-2014
Linux LDAP configuration

I have installed openldap-servers package in server machine
i have edited vi /etc/openldap/ldap.conf
i have added following line
BASE dc=abcd,dc=com
URI ldap://ldap.abcd.com ldap://ldap-master.abcd.com:666
i have restarted the ldap service
then client pc i have installed openldap-clients package
i have edited vi /etc/openldap.ldap.conf
i have added the following line below the word TLS_CACERTDIR /etc/openldap/certs

URI ldap://ldap.abcd.com
BASE dc=abcd,dc=com
then i have edited /etc/nsswitch.conf
i have added the following line

passwd: files ldap
shadow: files ldap
group: files ldap

after saved i did logout
i coule not able to login with ldap server user name in client pc
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Solaris

LDAP Client not connecting to LDAP server

I have very limited knowledge on LDAP configuration and have been trying fix one issue, but unsuccessful. The server, I am working on, is Solaris-10 zone. sudoers is configured on LDAP (its not on local server). I have access to login directly on server with root, but somehow sudo is not working... (9 Replies)
Discussion started by: solaris_1977
9 Replies

2. Red Hat

LDAP configuration with ldapmodify

Hello everybody At the beginning i would like to apologize for my english and im not sure if this thread is in the right place so if it isn't please move it to other one. Ok let's start. I have to admit that i am totally beginner with ldap but i really would like to learn how to configure it.... (0 Replies)
Discussion started by: alan200
0 Replies

3. Solaris

LDAP server and client configuration in Solaris 10

How do i install ldap server and client in solaris server how to configure ldap server and client please help me (1 Reply)
Discussion started by: ainstin
1 Replies

4. Red Hat

Ldap Configuration

Hi guys i am new in Ldap and want to configure open ldap for my small network.i searched on internet but couldn't find the proper steps.please help me.i also want to know that bind is necessary for name resolution or i can use resolve.conf.Please suggest Thank You Vaibhav T (0 Replies)
Discussion started by: Vaibhav.T
0 Replies

5. Solaris

Need ldap id

Need to find the ldap id's of all the users in my organizations... is there any command??? (4 Replies)
Discussion started by: Syed Imran
4 Replies

6. UNIX for Advanced & Expert Users

something like LDAP Administrator 2011.1 "LDAP-SQL" but for the CLI

Hi I am searching a tool like "LDAP Administrator 2011.1"/ "LDAP-SQL" but for the CLI. Wish to use LDAP-SQL in scripts (non Windows GUI environment) http://ldapadministrator.com/resources/english/2011.1/images/sqlquery_large.png Softerra LDAP Administrator 2011.1 - What's New OS is... (2 Replies)
Discussion started by: slashdotweenie
2 Replies

7. Solaris

LDAP

Hello Guurz, Simple doubt, Should LDAP master server must be configured as a LADP client as well? (2 Replies)
Discussion started by: bullz26
2 Replies

8. Solaris

help with LDAP

Hi, i'm trying to import LDAP database to a new system and i need help with that. I've got a LDAP schema and a ldif file with all data, so how should i proceed with creating new schema and how to import data. tnx in advance :) (5 Replies)
Discussion started by: n00b
5 Replies

9. UNIX for Dummies Questions & Answers

LDAP help

Folks; I need to install/configure LDAP on Solaris 10 Help please (0 Replies)
Discussion started by: Katkota
0 Replies

10. UNIX for Advanced & Expert Users

ldap

I have just installed openldap on solaris 8 machine and would like to configure ldap to store users username and password, so that users can get authenticate by ldap. How do I configure ldap to store username and password. Any suggestion would be appreciated Thanks in Advance (1 Reply)
Discussion started by: hassan2
1 Replies
Login or Register to Ask a Question
URI::ldap(3)						User Contributed Perl Documentation					      URI::ldap(3)

NAME
URI::ldap - LDAP Uniform Resource Locators SYNOPSIS
use URI; $uri = URI->new("ldap:$uri_string"); $dn = $uri->dn; $filter = $uri->filter; @attr = $uri->attributes; $scope = $uri->scope; %extn = $uri->extensions; $uri = URI->new("ldap:"); # start empty $uri->host("ldap.itd.umich.edu"); $uri->dn("o=University of Michigan,c=US"); $uri->attributes(qw(postalAddress)); $uri->scope('sub'); $uri->filter('(cn=Babs Jensen)'); print $uri->as_string," "; DESCRIPTION
"URI::ldap" provides an interface to parse an LDAP URI into its constituent parts and also to build a URI as described in RFC 2255. METHODS
"URI::ldap" supports all the generic and server methods defined by URI, plus the following. Each of the following methods can be used to set or get the value in the URI. The values are passed in unescaped form. None of these return undefined values, but elements without a default can be empty. If arguments are given, then a new value is set for the given part of the URI. $uri->dn( [$new_dn] ) Sets or gets the Distinguished Name part of the URI. The DN identifies the base object of the LDAP search. $uri->attributes( [@new_attrs] ) Sets or gets the list of attribute names which are returned by the search. $uri->scope( [$new_scope] ) Sets or gets the scope to be used by the search. The value can be one of "base", "one" or "sub". If none is given in the URI then the return value defaults to "base". $uri->_scope( [$new_scope] ) Same as scope(), but does not default to anything. $uri->filter( [$new_filter] ) Sets or gets the filter to be used by the search. If none is given in the URI then the return value defaults to "(objectClass=*)". $uri->_filter( [$new_filter] ) Same as filter(), but does not default to anything. $uri->extensions( [$etype => $evalue,...] ) Sets or gets the extensions used for the search. The list passed should be in the form etype1 => evalue1, etype2 => evalue2,... This is also the form of list that is returned. SEE ALSO
<http://tools.ietf.org/html/rfc2255> AUTHOR
Graham Barr <gbarr@pobox.com> Slightly modified by Gisle Aas to fit into the URI distribution. COPYRIGHT
Copyright (c) 1998 Graham Barr. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself. perl v5.12.5 2011-08-14 URI::ldap(3)