Sie sind auf Seite 1von 3

3/30/2017 LDAPInterviewQuestions~RedHatPanacia

REDHAT PANACIA
THIS BLOG IS RELATED TO LINUX AND VERY USEFUL FOR THOSE WHO ARE IN THIS FIELD OR WANT TO COME IN THE VAST FIELD OF LINUX. IN THIS BLOG I HAVE PROVIDED MY OWN
STUDY MATERIAL WITH PRACTICAL AND INTERVIEW QUESTIONS, WHICH WILL HELP US ALL FOR FURTHER GROWTH IN CAREER.

HOME LINUX BASICS SERVERS RHEL7 CHANGES INTERVIEW QUESTIONS ABOUT US CONTACT

LDAP Interview Questions Search


Q. What is LDAP? Searchthissite...
Ans: LDAP stands for 'Lightweight Access Protocol'. Its a database which can be access over internet or intranet,
whether you know domain or IP or not. LDAP database can access by many servers over a network. LDAP is also a
database of Users, Groups, Services and Resources, which provides a centralized authentication service.

Q. What is port number for LDAP?


Ans: LDAP 389 and LDAPS 636

Q. Why LDAP is called light weight?


Ans: because it is a smaller and easier protocol which was derived from the X.500 DAP (Directory Access Protocol)
de ned in the OSI network protocol stack.

Q. What is SLAPD?
Ans: SLAPD stands for Stand-Alone LDAP, developed for long running projects.

Q. What is LDIF?
Ans: The LDAP Interchange Format (LDIF) is a standard text le format for storing LDAP con guration information and
directory contents.

Q. What is SSL and TLS?


Ans: SSL (Secure Sockets Layer) certi cates are an integral part of website security. When you visit a website with SSL
the sites SSL certi cate enables you to encrypt the data you send, such as credit card information, names or addresses
so it cant be accessed by hackers.

Q. What is the name of main con guration le name for LDAP server?
Ans: slapd.conf

Q. Which con guration le is required for LDAP clients?


Ans: ldap.conf

Q. List three LDAP Client utilities or Applications?


Ans: (1) ldapsearch, (2) ldapadd and (3) ldapmodify
Followers
Q. How to encrypt the password? Followers(10)Next
Ans: ldappasswd

Q. How will you verify LDAP con guration le?


Ans: slaptest -u

Follow
Q. List any Graphical editors for LDAP?
Ans: (1) GQ, (2) Java LDAP Browser/Editor and (3) Softerra LDAP Browser Contributors
Divakar Rastogi
Q. Logical operators for LDAP lter?
Divakar Rastogi
Ans: AND (&), OR (|), and NOT (!)

Q. How to con gure ldap protocol? Popular Posts


Ans: Follow:
1. Install openldap-servers package LDAP Server and Client

2. Modify olcDatabasev bdb.ldif le and olcDatabasev monitor.ldif le Con guration

3. Create Database Cache and update Database LDAP stands for 'Lightweight Access
Protocol'. Its a database which can

http://redhatpanacia.blogspot.com/p/ldapinterviewquestions.html 1/3
3/30/2017 LDAPInterviewQuestions~RedHatPanacia
4. Create certi cate for TLS and provide ownership of ldap group to your certi cate be access over internet or intranet, whether you
5. Restart slapd service know dom...

Monitor Apache Web Server load


Q. How can we create a TLS Certi cate?
using mod_status
Ans: Use command;
mod_status: Provides information of
# openssl req -new -x509 -nodes -out /etc/pki/tls/certs/example.pem -keyout /etc/pki/tls/certs/examplekey.pem -days
server activity and performance.
365
Apaches mod_status shows current information of
openssl: crytographic toolkit for SSL & TLS n/w protocols
web server. mod_stat...
req: activates the parts of openssl that deals with certi cate requests
-new: generate new request Secure WebServer
-x509: certi cate display and signing utility Password-Protected Directory With
-nodes: stores private key without protecting it with a passphrase .htaccess: In our previous Chapter
-out *.pem: stores certi cate request in a le *.pem WebServer we learnt how to create
-keyout *key.pem: stores private key in a le *key.pem a webserver and how to access mu...
days: certi cate activation days
Basic Linux (Red Hat) Commands

Q. What is default TLS Certi cate location? Basic Linux (Red Hat) Commands: For Listing we
ANS: For Debian/Ubuntu: use "ls" command: ls : To list les and directories ll
/etc/ssl/certs/ : To list les and...

Linux Boot Process


For RHEL/Fedora/CentOS:
Linux Boot Process: As we press the power button
/etc/pki/tls/certs/
after some time Linux login prompt appears. So,
what happens behind this?The following a...
Q. How can we migrate users in LDAP?
Ans: Following:
1. Make changes according to your domain in /usr/share/migrationtools/migrate_common.ph Categories
2. # ./migrate_base.pl > /root/base.ldif
FreeNAS
3. # getent passwd | tail -n 5 > /root/users <<For 5 users>>
NAS
4. # getent shadow | tail -n 5 > /root/passwords <<For 5 users>>
NAS Storage
5. # getent group | tail -n 5 > /root/groups <<For 5 groups>>
Network Attached Storage
6. # ./migrate_passwd.pl /root/users
Network Stowage
7. # ./migrate_passwd.pl /root/users > /root/users.ldif
Storage
8. # ./migrate_group.pl /root/groups
9. # ./migrate_group.pl /root/users > /root/groups.ldif
10. Update these les to LDAP server Blog Archive
I. # ldapadd -x -W -D cn=Manager,dc=example,dc=com -f /root/base.ldif
June (1)
II. # ldapadd -x -W -D cn=Manager,dc=example,dc=com -f /root/users.ldif
May (4)
III. # ldapadd -x -W -D cn=Manager,dc=example,dc=com -f /root/groups.ldif
11. Verify: April (1)
# ldapsearch -x -b dc=example,dc=com October (3)
September (3)
Q. How to access LDAP from client side? August (7)
Ans: # system-con g-authentication OR # authcon g -gtk
Find Us On Facebook
Q. How can we access home directory to ldap client from ldap server? Powered by Blogger.
Ans: First, go to LDAP server and share home directory via NFS server. After this perform auto-mounting via LDAP
client. Video Of Day

0 comments:

Post a Comment

http://redhatpanacia.blogspot.com/p/ldapinterviewquestions.html 2/3
3/30/2017 LDAPInterviewQuestions~RedHatPanacia

Enteryourcomment...

Commentas: Selectprofile...

Publish
Preview

Home

Subscribe to: Posts (Atom)

Pages

Home
Contact Us

Copyright 2017 RedHat Panacia | Powered by Blogger


Design by SimpleWpThemes | Blogger Theme by NewBloggerThemes.com

http://redhatpanacia.blogspot.com/p/ldapinterviewquestions.html 3/3

Das könnte Ihnen auch gefallen