LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices


Reply
  Search this Thread
Old 03-02-2011, 11:03 PM   #1
shuple
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Rep: Reputation: 0
[openldap] slapd.conf - index setting for sudoUser


Hello Group,

I have an openldap 2.4.23 server managing linux login passwords and sudoers. I am seeing the following sudoers related message on /var/log/syslog:

/var/log/syslog:

Code:
Mar  3 12:48:50 test.example.com slapd[16813]: <= bdb_substring_candidates: (sudoUser) not indexed
I have slapd.conf and ldap.conf configured as follows:

slapd.conf:

Code:
index   objectClass                     eq
index   cn                              eq,pres,sub
index   uidNumber,gidNumber,memberUid   eq,pres
index   uniqueMember                    eq,pres
index   uid                             pres,sub,eq
index   sudoUser                        eq
index   default                         sub
ldap.conf:

Code:
sudoers_base    ou=SUDOers,dc=example,dc=com
sudo is querying the openldap server and functioning correctly. I am trying to get sudoUser indexed. I stopped openldap daemon, ran slapindex and started openldap daemon but the warning message still persists. All other attributes are indexed correctly.

Has anyone come across the same problem?

Regards,
Shuple
 
Old 03-03-2011, 11:40 PM   #2
shuple
LQ Newbie
 
Registered: Feb 2011
Posts: 13

Original Poster
Rep: Reputation: 0
I was able to fix the problem by updating

Code:
# from
index   sudoUser                        eq
# to
index   sudoUser                        eq,sub
Shuple
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
OpenLDAP error... can't find slapd.conf that Linux guy Linux - Server 7 10-17-2011 08:46 AM
ldap cannot carry slapd.conf changes or did not use /etc/openldap/slapd.conf joel_saul Linux - Server 6 08-21-2010 05:53 AM
OpenLDAP slapd.conf corrupted RobTrmr Linux - Software 1 10-14-2009 05:40 AM
OpenLDAP (no slapd.conf) britchaz Linux - Networking 1 05-05-2009 04:29 PM
openldap replication master/slave slapd.conf paul_mat Linux - Networking 1 11-30-2005 02:54 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Server

All times are GMT -5. The time now is 06:31 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration