On Wed, 2006-04-12 at 17:06 +0200, Johannes Berg wrote:
# 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?
Yea, but in that case you probably won't have usernames without domains. And auth_default_realm could help there also to get the domain in there. And if you _really_ want to have both "user-AT-domain" usernames and plain "user" usernames, then you can always patch the sources :)