[sork] [passwd] small patch regarding username with an @

Matthias Blaser mb-list at adfinis.ch
Wed Apr 2 10:39:02 PST 2003


On Tuesday 01 April 2003 22:44, Eric Rostetter wrote:
> Most people only have one @ sign, so the patch doesn't seem to help 99%
> of the user base.  Very few people have more than one @ sign in their
> logins.

Well, I don't think it's very uncommon to use the email address as username 
to login. As far as I understood, the 2 lines of code are for removing the 
realm... ?

When I login with "user" the complete user would be "user at realm", when I 
login with "user at domain", the user would be "user at domain@realm"... in both 
cases, the calculated user id would be "user" which isn't correct.

> Have you tried using the hook instead?

Nope, but I will use this instead of patching... thx.

Cya,
Matthias


More information about the sork mailing list