> On 13 Dec 2022, at 10:01 pm, luckydog xf <luckydo...@gmail.com> wrote: > > Hello, Thanks. > Please ignore LDAP here. Whatever attribute names they are, it's just a > sample here. > I read the link ldap_table-5. > > The problem is that there is no way to return one value of an attribute based > on the user's input domain. > Because of configuration item > result_attribute = displayName, initials > It returns both.
Pick any random single-valued attribute, say "cn", ... and set "%U" as the result_format. Just because you search for either attributes as a key you don't have to also return them. The documentation was right there... -- Viktor.