All Apps and Add-ons

How to search fields of Company and Department in organization with ldapsearch command.

akanno
Communicator

Hi,all

I want to get fields of Company and Department of Active Directory with ldapsearch command.

I tried following search command.

| ldapsearch search="(&(objectclass=user)(!(objectClass=computer)))"

I got some fields (e.g mail,telephoneNumber,sAMAccountName), but I didn't get fields of Company and Department.
Can I get fields of Company and Department with ldapsearch command?

thank you for your help.

alt text

0 Karma

jcoates_splunk
Splunk Employee
Splunk Employee
0 Karma

akanno
Communicator

jcoates ♦,Thank you for your reply.

It seem I can't get fields of Company and Department but I can get some fields.
I want to get fields of Company and Department.

0 Karma
Get Updates on the Splunk Community!

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...

.conf24 | Personalize your .conf experience with Learning Paths!

Personalize your .conf24 Experience Learning paths allow you to level up your skill sets and dive deeper ...

Threat Hunting Unlocked: How to Uplevel Your Threat Hunting With the PEAK Framework ...

WATCH NOWAs AI starts tackling low level alerts, it's more critical than ever to uplevel your threat hunting ...