Refine your search:

1
1

I need to figure out what LDAP values I should be using to make auth work.

asked 14 Jan '10, 21:47

matt's gravatar image

matt ♦♦
3.1k2427
accept rate: 82%

edited 12 Apr '10, 20:13

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843


3 Answers:

If you are comfortable with the command line you can run the command ldifede. The ldifde command is the windows equivalent of ldapsearch and should allow you to get an ldif entry for yourself and a group. With those two entries we should be able to come up with authentication.conf that will allow Splunk to authenticate users.

If you are more comfortable with a GUI The Sysinternals team offers a nice utility called Active Directory Explorer. This gives you tree view of your Active Directory/LDAP structure similar to Windows Explorer.

Both "LDP" and "ADSIEDIT.MSC" are built in utilities that allow you to have a GUI view of Active Directory. Run them from "Start--> Run" in Windows on your AD Server

The values that you will need to map are:

BindDN: This will be the full Distinguised Name of the user that Splunk is going to connect to the AD server as

UserBaseDN: Look at the Distinguished name for the user that you got from ldifde and take everything after cn=foo

GroupBaseDN: Look at the Distinguished name for the group that you got from ldifde and take everything after cn=foo

Real name attribute: Look for the key that is associated with the full name of the user (likely displayName)

Group name attribute: Look for the key that is associated with the full name of the group (likely cn)

Group member attribute: Its usually memberOf or member, depending on whether the memberships are listed in the group entry or the user entry

You may also want to check out this video from the Splunk Ninja

link

answered 14 Jan '10, 22:11

matt's gravatar image

matt ♦♦
3.1k2427
accept rate: 82%

edited 08 Jul '10, 21:41

Michael%20Wilde's gravatar image

Michael Wilde ♦
33528

There are good examples for using ldif and ldapsearch on the splunk documentation. http://www.splunk.com/base/Documentation/latest/Admin/SetupuserauthenticationwithLDAP#Example

link

answered 14 Jan '10, 22:52

benstraw's gravatar image

benstraw
675214
accept rate: 80%

Another great (freeware) LDAP browser is Apache Directory Studio. You can download builds for OSX, Linux and Windows.

link

answered 12 Apr '10, 20:13

the_wolverine's gravatar image

the_wolverine ♦
4.3k5843
accept rate: 50%

Post your answer
toggle preview

Follow this question

Log In to enable email subscriptions

RSS:

Answers

Answers + Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "Title")
  • image?![alt text](/path/img.jpg "Title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Tags:

×311
×78
×78

Asked: 14 Jan '10, 21:47

Seen: 3,022 times

Last updated: 08 Jul '10, 21:41

Copyright © 2005-2012 Splunk, Inc. All rights reserved.