Ldap Server Interview Questions

Ldap Server Interview Questions And Answers

Here is a list of 25 important LDAP SERVER Interview Question. 


Q 1 : - Is there Graphical editors for LDAP ?
Yes, Following are some GUI based tools for LDAP
- GQ
- Java LDAP Browser/Editor
- Softerra LDAP Browser

Q 2 : - What can i do if my application doesn't speak to LDAP ?
Gateway that translate one directory access protocol into another.

Q3 : - How can i join information contained in different directories ?
Distributed, Multivendor directories glued together by referrals and references.

Q 4: - What is "LDIF" ?
The LDAP Interchange Format (LDIF) is a standard text file format for storing LDAP configuration information and directory contents. LDIF files are often used to import new data into your directory or make changes to existing data.

Q 5: - Name the object class types ?
- Structural Object class
- Auxiliary Object class
- Abstract object classes

Q 6: - What is the name of main configuration file name for LDAP server ?
slapd.conf

Q 7 : - What is LDAP ?
LDAP stands for Lightweight Directory Access Protocol. In plain and simple terms, its a database whereby it has all the details of all of organizations, individuals, and other resources such as files and devices in a network, whether on the Internet or on corporate intranetand whether or not you know the domain name, IP address, or geographic whereabouts. An LDAP directory can be distributed among many servers on a network, then replicated and synchronized regularly. An LDAP server is also known as a Directory System Agent (DSA). Its a not a relational database. Outlook and other email programs uses LDAP to search for a recipient in an organization.

Q 8 : - Whats the relation ship between LDAP and JNDI?
JNDI has classes provided by SUN that will help ur appln interact with and LDAP server. JNDI appln work similarly to JDBC applns once and be free to use 'drivers' from different vendors. SUN provides the "driver" that will help interact with the LDAP server. Sun also provides "drivers" for other naming services (like CORBA).

Q 9 : - Why LDAP is called light weight?
LDAP (Lightweight Directory Access Protocol) is a protocol for communications between LDAP servers and LDAP clients.
LDAP servers store "directories" which are access by LDAP clients.
LDAP is called lightweight because it is a smaller and easier protocol which was derived from the X.500 DAP
(Directory Access Protocol) defined in the OSI network protocol stack.

Q 10 : - what is SLAPD?
SLAPD stands for Stand-Alone LDAP.Clients connect to the server over the LDAP protocol, usually using a network-based connection (though SLAPD provides a UNIX socket listener).

Q 11 : - Which daemons are required for LDAP server?
slapd and slurpd

Q 12 : - Tell me the name of three LDAP Client utilities or Applications
ldapsearch
ldapadd
ldapmodify


Q 13 : - Define Schemas?
Schemas provide definitions of the different object classes and attribute types that OpenLDAP should support. Using these, OpenLDAP can determine what entries it is allowed to store, whether any given entry is valid, and how entries should optimally be stored.

Q 14 : - Explain modulepath directive?
The modulepath directive provides the full path to the directory where the  modules (the compiled libraries) are stored.

Q 15 : - Explain moduleload directive?
The moduleload directive instructs OpenLDAP to load a particular module.

Q 16 : - What is HDB?
HDB is the new generation storage mechanism for OpenLDAP. Like its predecessor, the BDB backend, HDB uses the Oracle BerkeleyDB database for storage, but HDB stores entries hierarchically, a perfect fit for LDAP's tree structure. The old BDB backend is still supported, and you can use it by specifying bdb instead of hdb in the database directive.

Q 17: - Which utility is used to Encrypt the password?
ldappasswd

Q 18 : - How you will verify LDAP configuration file?
Use "slaptest" utility.
slaptest -v -f /etc/ldap/slapd.conf

Q 19 : - Which configuration file is required for LDAP clients?
ldap.conf

Q 20 : - Explain "SIZELIMIT" directive?
This directive indicates the upper limits on the number of records returned.

Q 21 : - Explain "TIMELIMIT" directive?
This directive will give the information about the amount of time the client will wait for the server to respond.

Q 22 : - Tell me the name of logical operators which are used  in ldap filters.
AND (&), OR (|), and NOT (!)

Q 23 : - What Does slapadd Do?
The slapadd utility reads the slapd.conf file, loads the appropriate backend databases, and then reads LDIF data.

Q 24 : - Which web based tool you have used for LDAP?
phpLDAPadmin

IMPORTANT LINUX INTERVIEW QUESTIONS