LDAP configuration with ldapmodify

 
Thread Tools Search this Thread
Operating Systems Linux Red Hat LDAP configuration with ldapmodify
# 1  
Old 11-23-2015
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. I've just installed package of openldap 2.4 and i faced problem during configuration. There are a lot of tutorial in internet that show how to configure ldap but practically all of them uses text editor like vim to set up server's files. When i wanted edit proper file in this method i saw this: do not edit!!! use ldapmodify. A lot of users ignore it and faced problem with crc so i did't even tried it.

My question is: How to use ldapmodify command to configure ldap server?
I got to know how its syntax looks and followed one tutorial (i cannot paste url) but this doesnt work. I tried set olcRootDN then I typed exactly this command what i found there:
ldapmodify -Q -Y EXTERNAL -H ldapi:/// <<EOF but nothing happened. just this sign appeared:
>
How to edit olc directives using ldapmodify?
I hope you can help me Smilie

Im using CentOS 6

Last edited by alan200; 11-23-2015 at 08:42 PM..
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

ERROR: ldapmodify: wrong attributeType at line 6, entry "olcDatabase={0}hdb,cn=config"

please use code tags, thanks Initially olcDatabase={2}config.ldif file was in non-prod and it does not have any entries of database and password as well that is why I was getting error as “ldap_bind: Invalid credentials (49)”¯ , I was comparing with my production olcDatabase={2}config.ldif file ... (1 Reply)
Discussion started by: Bibhusisa
1 Replies

2. 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

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

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... (0 Replies)
Discussion started by: ainstin
0 Replies

5. 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

6. 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

7. 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

8. UNIX for Advanced & Expert Users

ldapmodify + objectclasses

can anyone please guide me for changing objectclass Current objectclass objectClasses: ( 2.5.6.6 NAME 'person' DESC 'RFC2256: a person' SUP top STRUCTURAL MUST ( sn $ cn ) MAY ( userPassword $ telephoneNumber $ seeAlso $ description ) ) Wanted like this objectClasses: ( 2.5.6.6 NAME... (0 Replies)
Discussion started by: jagnikam
0 Replies

9. UNIX for Dummies Questions & Answers

ldapmodify: keystroke to apply changes

Hi, I need to modify some entries in LDAP, but with what keystroke do I exit and apply the changes? Thanks Brissix (0 Replies)
Discussion started by: brissix
0 Replies

10. 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
Login or Register to Ask a Question