From the course: Advanced Pen Testing Techniques for Active Directory
Unlock the full course today
Join today to access over 24,900 courses taught by industry experts.
Interact with LDAP at the command line - Active Directory Tutorial
From the course: Advanced Pen Testing Techniques for Active Directory
Interact with LDAP at the command line
- [Instructor] Let's see how we interact with a simple LDAP service. I've set up an OpenLDAP server on my Ubuntu system at IP address 10.0.2.23 and populated it with a small number of demonstration entries. We won't spend much time on OpenLDAP, but if you do want to do more, you can find all you need to know in Grant MC Williams, Linux OpenLDAP course here on LinkedIn Learning. We can enumerate LDAP directory information at the Carly terminal using Nmaps, LDAP search script, and for an OpenLDAP server, we'd expect to be able to gain anonymous access. In other words, we don't need to authenticate with credentials. We do this with Nmap minus p389 10.0.2.23 minus minus script equals LDAP search. This connects to the server, confirms port 389 is open and enumerate the whole database using anonymous access. Nmap has returned the directory objects starting with the organizational root record for cybex.nz, the directory…
Contents
-
-
-
Understand Active Directory's role in security4m 36s
-
(Locked)
The LDAP protocol1m 45s
-
(Locked)
Interact with LDAP at the command line3m 38s
-
(Locked)
The LDAPAdmin tool1m 35s
-
(Locked)
What is Active Directory?5m 45s
-
(Locked)
Interact with Active Directory at the command line2m 4s
-
(Locked)
Access LDAP services with a GUI client6m 24s
-
(Locked)
Add users and computers to a domain4m 28s
-
(Locked)
Active Directory security audit1m 40s
-
-
-
-