All Apps and Add-ons

Is TA-LDAP currently in development? Can't specify attrs needed in result

jtlatuvm
Engager

Using version 4.0.
I've been able to get basic queries using ldap_filter to work after some edits to myLDAP2.py (the code was overwriting what the user specified in the ldap command)

Now I'm trying to request specific attrs, such as:

| ldap server=ldap.example.com ldap_filter="(uid=username)" attrs="cn"

I get no results. Then looking in myLDAP2.py, around lines 305-318, following the comment:

# check what attributes will be returned, default all

The "default all" case is implemented, but the:

else: # no, we only`enter code here` get certain attributes back

...case isn't implemented at all, it just prints a debug line.

I could probably implement this, but before I spend a lot of time doing so, it would be nice to know:

  • is there a more recent dev version where this is implemented
  • is there a git repo or the like where development for this project is tracked?

Thanks for your time,
Jim

0 Karma
1 Solution

MuS
Legend

Hi jtlatuvm,

Creator of the TA here.

I thought I added it to GitHub already but did not 😞 I have plans to make it Splunk 8, Python 3 compatible in the next few months anyway, but I think I just put it on GitHub first so you can fork/clone it as you like.

Looking forward seeing my silly mistakes I made being corrected :lol:

cheers, MuS

View solution in original post

MuS
Legend

Hi jtlatuvm,

Creator of the TA here.

I thought I added it to GitHub already but did not 😞 I have plans to make it Splunk 8, Python 3 compatible in the next few months anyway, but I think I just put it on GitHub first so you can fork/clone it as you like.

Looking forward seeing my silly mistakes I made being corrected :lol:

cheers, MuS

MuS
Legend
0 Karma

jtlatuvm
Engager

Thanks for setting that up! Once I get some decent (hopefully small) patches I will send you a PR. (github @jtlawson)

Get Updates on the Splunk Community!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Built-in Service Level Objectives Management to Bridge the Gap Between Service & ...

Wednesday, May 29, 2024  |  11AM PST / 2PM ESTRegister now and join us to learn more about how you can ...

Get Your Exclusive Splunk Certified Cybersecurity Defense Engineer Certification at ...

We’re excited to announce a new Splunk certification exam being released at .conf24! If you’re headed to Vegas ...