>>> Quanah Gibson-Mount <[email protected]> schrieb am 24.02.2022 um 16:41 in Nachricht <5634EEEFC927B18BF1B59D49@[192.168.1.12]>:
> > ‑‑On Thursday, February 24, 2022 8:22 AM +0100 Ulrich Windl > <[email protected]‑regensburg.de> wrote: > >> So my guess is that my query is still wrong: >># ldapsearch ‑Y EXTERNAL ‑H ldapi:/// ‑b 'cn=Subschema' ‑s sub >> '(objectClass=*)' '* +' > > Why did you use ‑s sub? I clearly used ‑s base in my example I provided you. > > Additionally, '* +' is invalid. It should be: > > '*' '+' OK, I thought ("<=" meaning subset relation) that "base <= one <= sub", but it seems "base < one <= sub" instead. And I mixed up the syntax for attributes as well. So I found userPassword, but I had to use a vcombination of ldapsearch and grep like this: ldapsearch -Y EXTERNAL -H ldapi:/// -b 'cn=Subschema' -s base '(attributeTypes=*)' '+' |grep userPassword What I don't understand is that for ldapsearch -Y EXTERNAL -H ldapi:/// -b 'cn=Subschema' -s base '(olcSchemaConfig=*)' 'attributeTypes' I get no results: # search result search: 2 result: 0 Success Is there a filter to get the definition for userPassword specifically? Regards, Ulrich > > ‑‑Quanah
