507_32char_grnames.dpatch updated for upstream version 4.1.2.

This commit is contained in:
nekral-guest
2008-09-13 17:24:05 +00:00
parent 7c0c287396
commit c0dda226c3
2 changed files with 6 additions and 4 deletions
+1
View File
@@ -12,6 +12,7 @@ shadow (1:4.1.2-1) experimental; urgency=low
+ debian/patches/302_vim_selinux_support
+ debian/patches/008_login_log_failure_in_FTMP
+ debian/patches/429_login_FAILLOG_ENAB
+ debian/patches/507_32char_grnames.dpatch
* debian/patches/506_relaxed_usernames: Use an extra paragraph for the note
on username with a '/'.
* debian/patches/504_undef_USE_PAM.dpatch:
+5 -4
View File
@@ -36,7 +36,7 @@ Index: shadow-4.1.0/libmisc/chkname.c
--- shadow-4.1.0.orig/libmisc/chkname.c
+++ shadow-4.1.0/libmisc/chkname.c
@@ -70,10 +70,10 @@
int check_group_name (const char *name)
bool is_valid_group_name (const char *name)
{
/*
- * Arbitrary limit for group names - max 16
@@ -44,9 +44,10 @@ Index: shadow-4.1.0/libmisc/chkname.c
+ * Arbitrary limit for group names - max 32
+ * same as linux UT_NAMESIZE
*/
- if (strlen (name) > 16)
+ if (strlen (name) > 32)
return 0;
- if (strlen (name) > 16) {
+ if (strlen (name) > 32) {
return false;
}
return good_name (name);
Index: shadow-4.1.1/man/groupadd.8.xml