[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Substring Indexes on userPassword Attribute
- To: openldap-technical@openldap.org
- Subject: Substring Indexes on userPassword Attribute
- From: Tim Gustafson <tjg@ucsc.edu>
- Date: Fri, 31 May 2013 10:13:12 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ucsc.edu; s=ucsc-google; h=mime-version:date:message-id:subject:from:to:content-type; bh=4IHzvKr7+2NdX6gaaBHWG8f4SByWeIWpaYnfT0jsrqY=; b=msek4nuL+q0kIWDbhV59lUBLT2mbuIolWQ/GsXQVblsZOVzUu0MX9B6EuTou2cbDEY IxNK6TNzoN2oAIJY1VzG5n8bNbWO71l7dn7w6XRW8egbOy5GfbfdtXU8WP1hP49eg0s7 WJhdY3zF997p5P+nHjVlxQhAkbtX+1cjjbEKY=
Hi,
I have a need to find out how many of my users are using different
password hashing methods, so I went and tried to do this search:
ldapsearch -D uid=tjg,ou=People,dc=com -W -b ou=People,dc=com
'userPassword={SHA}*'
But that didn't return anything. So I figured maybe I needed to
create a substr index on that attribute. When I did that, slapindex
returned:
slapd.conf: line 82: substr index of attribute "userPassword" disallowed
Why is that? How can I do a search that would tell me which of my
users is using an SHA-hashed password?
--
Tim Gustafson
tjg@ucsc.edu
831-459-5354
Baskin Engineering, Room 313A