Bug#266432: [Logcheck-devel] Bug#266432: logcheck: missing ignore pattern for pam_winbind
Jonas Smedegaard
dr at jones.dk
Fri Aug 27 17:08:51 UTC 2004
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 27-08-2004 18:15, maks attems wrote:
| my regex concerning the username didn't work for this f***ing username
| with a dot '.'.
[cut]
| ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ pam_winbind\[[0-9]+\]: user
'[._[:alnum:]-]+' granted acces$
| ^\w{3} [ :0-9]{11} [._[:alnum:]-]+ pam_winbind\[[0-9]+\]: request
failed: No such user, PAM error was [0-9]+, NT error was [_[:alpha:]]+$
Why not simply use [^[:space:]]+ to match username?
Or you can even support usernames with spaces: '[^']+'
~ - Jonas
- --
* Jonas Smedegaard - idealist og Internet-arkitekt
* Tlf.: +45 40843136 Website: http://dr.jones.dk/
~ - Enden er nær: http://www.shibumi.org/eoti.htm
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org
iD8DBQFBL2qin7DbMsAkQLgRAjisAJ4uUojAevFP6f7MDgN3UKIvn4+c9QCaA6G4
NIdspWbp1X/61xv8MvfqIfs=
=bZog
-----END PGP SIGNATURE-----
More information about the Logcheck-devel
mailing list