Re: Using username@example.com and plain username
As expected, your correspondence has been worse than helpful. I have thoroughly read the documentation, example configuration files, and the Wiki. Why not prove to us all that any one of these resources contains the exact example that I am enquiring about. I'd love to be wrong, but I just don't see it in any of these resources. Is it a realm? Is it a variable substitution? This is what an online community is supposed to provide--help. And, Mr. DeKok, a correction is in order: you did *not* provide a working example, in spite of the fact that you claim that you did. I could look it up in your book but, oh, wait, that's right, there is no published book yet. Thanks for nothing. Kriston
On Wed, Sep 19, 2012 at 9:52 AM, Kriston <me@kriston.net> wrote:
This is what an online community is supposed to provide--help.
... at their own time, without receiving anything in return. So it might help if you're asking nicely. And of course you need to apply some logic to adapt it to your setup, because the provided help/examples/snippet might not EXACTLY match your setup. If you want something that just works, and EXACTLY fits your needs, it might help to get someone experienced to do it for you.
And, Mr. DeKok, a correction is in order: you did *not* provide a working example, in spite of the fact that you claim that you did.
I believe he did. In dialup.conf: " #sql_user_name = "%{%{Stripped-User-Name}:-%{%{User-Name}:-DEFAULT}}" and in unlang man page: " Conditional Syntax Conditional syntax similar to that used in Unix shells may also be used. %{%{Foo}:-bar} " Note the "%" in front? In your post: sql_user_name = "{%{Stripped-User-Name}:-%{User-Name}}@{%{Realm}:-example.com}" It's not EXACTLY the same, but close enough. If it's not a typo, then I believe you're missing two "%": One in front, one also after "@". -- Fajar
Kriston wrote:
As expected, your correspondence has been worse than helpful.
So you're actually dumber for having read my post?
I have thoroughly read the documentation, example configuration files, and the Wiki.
OK... it helps to understand them, too.
Why not prove to us all that any one of these resources contains the exact example that I am enquiring about.
I did. The "sql_user_name" example that you edited contains an example of what you want to do. Reading "man unlang" shows examples *just like* the default "sql_user_name".
This is what an online community is supposed to provide--help.
We did. Documentation, examples, configurations, mailing list posts, etc.
And, Mr. DeKok, a correction is in order: you did *not* provide a working example, in spite of the fact that you claim that you did.
This really shows the problem. I not only provided you one, I told you which one I provided. But you missed that.
I could look it up in your book but, oh, wait, that's right, there is no published book yet.
Wow, zinger! When logic fails, insults are a handy counter. Alan DeKok.
participants (3)
-
Alan DeKok -
Fajar A. Nugraha -
Kriston