12 Apr
2006
12 Apr
'06
6:06 p.m.
On Wed, 2006-04-12 at 17:36 +0300, Timo Sirainen wrote:
I think I'm doing it the way you want, but you just misunderstood the explanation. %u means username with domain, %n means the username without domain and %d is only the domain. I updated the comment to contain one more example:
Yeah, sorry about that. I did indeed misunderstand that based on the fact that I can never remember if I want %d or %n :)
Username formatting before it's looked up from databases. You can use
the standard variables here, eg. %Lu would lowercase the username, %n would
drop away the domain if it was given, or "%n-AT-%d" would change the '@' into
"-AT-". This translation is done after auth_username_translation changes.
#auth_username_format =
Great, that clears things up, thanks :) Except that in the latter case, a username _without_ domain like 'johannes' is changed into 'johannes-AT-', no?
johannes