nss-pam-ldapd commit: r1419 - in nss-pam-ldapd: man nslcd
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
nss-pam-ldapd commit: r1419 - in nss-pam-ldapd: man nslcd
- From: Commits of the nss-pam-ldapd project <nss-pam-ldapd-commits [at] lists.arthurdejong.org>
- To: nss-pam-ldapd-commits [at] lists.arthurdejong.org
- Reply-to: nss-pam-ldapd-users [at] lists.arthurdejong.org
- Subject: nss-pam-ldapd commit: r1419 - in nss-pam-ldapd: man nslcd
- Date: Thu, 31 Mar 2011 21:16:15 +0200 (CEST)
Author: arthur
Date: Thu Mar 31 21:16:13 2011
New Revision: 1419
URL: http://arthurdejong.org/viewvc/nss-pam-ldapd?view=rev&revision=1419
Log:
allow usernames of only two characters
Modified:
nss-pam-ldapd/man/nslcd.conf.5.xml
nss-pam-ldapd/nslcd/cfg.c
Modified: nss-pam-ldapd/man/nslcd.conf.5.xml
==============================================================================
--- nss-pam-ldapd/man/nslcd.conf.5.xml Sat Mar 26 21:52:14 2011 (r1418)
+++ nss-pam-ldapd/man/nslcd.conf.5.xml Thu Mar 31 21:16:13 2011 (r1419)
@@ -685,7 +685,7 @@
characters and the 'i' flag may be appended at the end to indicate
that the match should be case-insensetive.
The default value is
- <literal>/^[a-z0-9._@$][a-z0-9._@$ \\~-]+[a-z0-9._@$~-]$/i</literal>
+ <literal>/^[a-z0-9._@$][a-z0-9._@$ \\~-]*[a-z0-9._@$~-]$/i</literal>
</para>
</listitem>
</varlistentry>
Modified: nss-pam-ldapd/nslcd/cfg.c
==============================================================================
--- nss-pam-ldapd/nslcd/cfg.c Sat Mar 26 21:52:14 2011 (r1418)
+++ nss-pam-ldapd/nslcd/cfg.c Thu Mar 31 21:16:13 2011 (r1419)
@@ -127,7 +127,7 @@
cfg->ldc_pam_authz_search=NULL;
cfg->ldc_nss_min_uid=0;
parse_validnames_statement(__FILE__,__LINE__,"",
- "/^[a-z0-9._@$][a-z0-9._@$ \\~-]+[a-z0-9._@$~-]$/i",cfg);
+ "/^[a-z0-9._@$][a-z0-9._@$ \\~-]*[a-z0-9._@$~-]$/i",cfg);
}
/* simple strdup wrapper */
--
To unsubscribe send an email to
nss-pam-ldapd-commits-unsubscribe@lists.arthurdejong.org or see
http://lists.arthurdejong.org/nss-pam-ldapd-commits
- nss-pam-ldapd commit: r1419 - in nss-pam-ldapd: man nslcd,
Commits of the nss-pam-ldapd project