You don't want to return multiple emails like that. Your query should
include what it is looking for so you just get back the result you need.

I am constantly amazed at how some folks just make stuff up, and feel at
liberty to suggest impress it upon others.  This is of course wrong.

With login mismatch you shouldn't be returning all of the aliases a user
is allowed to use,

See above.  You have the wrong lookup key, and the wrong value syntax.


Viktor we are saying the same thing. Just as you said above, value = SASL login names. That is the same thing I said, "you shouldn't be return all of the aliases" because you should be returning the username, aka SASL login names. Yes you pointed out that it can be multiple usernames (SASL Login names) and I wasn't explicit on that as in my example I called returning the SASL username a single result. When I read his email I had to draw some conclusions because information like the query he was using wasn't provided. I guessed if someone was trying to return 120+ results he might have been returning the aliases and not the SASL usernames.

Based on the reply from the OP he seemed to understand what i was saying and he confirmed he is doing those things. He clarified to me that he is indeed wanting to return 120+ SASL login names.

Im sorry my usage of English is difficult for you to comprehend the meaning behind my words. But I thought it was clear when i said the "query should include what it is looking for" meaning use %s and not just select * as I showed with an example query. And you "shouldn't be returning all of the aliases" because you should be returning the usernames (aka SASL login names).


You have the wrong lookup key

Are saying returning the allowed usernames, the allowed SASL login names is wrong? Because you yourself just said "value = *list* of SASL login names" which to me is the exact same thing as "username". And if you didn't cut off the rest of my sentence where I also said "you should be returning the one email/username that the user should be logged into to use the alias" it is clear I'm saying the results from the query should be what the user is logged in as. I said "one" in that sentence because a user can only be logged in to one username and you want that username to be returned even if multiple usernames are returned with it.

Maybe you are just speed reading these replies and not fully grasping what is being said?

Reply via email to