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!

Splunk App for Anomaly Detection End of Life Announcment

Q: What is happening to the Splunk App for Anomaly Detection?A: Splunk is officially announcing the ...

Aligning Observability Costs with Business Value: Practical Strategies

 Join us for an engaging Tech Talk on Aligning Observability Costs with Business Value: Practical ...

Mastering Data Pipelines: Unlocking Value with Splunk

 In today's AI-driven world, organizations must balance the challenges of managing the explosion of data with ...