diff options
author | Guido Guenther <agx@sigxcpu.org> | 2007-04-27 21:55:19 +0200 |
---|---|---|
committer | Guido Guenther <agx@bogon.sigxcpu.org> | 2007-04-27 21:55:19 +0200 |
commit | bd02f5e6d2b0599b5768b0b7205621f517070d49 (patch) | |
tree | 4342f2c63f628416a22768ece254e49535f85d03 /README |
Import version 0.1upstream/0.1upstream
Diffstat (limited to 'README')
-rw-r--r-- | README | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -0,0 +1,14 @@ +The purpose of this module is to enforce a certain naming policy (based on +perl regular expression syntax) on usernames (i.e. all lowercase). This is +necessary since e.g. pam_ladp treats usernames as case insensitive. In fact it +relies on the ldap server to compare the username to the uid attribute and the +cosine schema is case insensitive at this point. + +e.g. you can use the following to enforce lowercase usernames consisting only +of letters: + +auth required pam_naming.so debug regex=^[a-z]+$ + +This will allow a user foo to log in but not when typed as FOO or FoO. + + -- Guido Guenther <agx@sigxcpu.org> Tue, 6 Dec 2005 18:27:31 +0100 |