summaryrefslogtreecommitdiff
path: root/imapd/imapd.group2.patch
diff options
context:
space:
mode:
Diffstat (limited to 'imapd/imapd.group2.patch')
-rw-r--r--imapd/imapd.group2.patch20
1 files changed, 0 insertions, 20 deletions
diff --git a/imapd/imapd.group2.patch b/imapd/imapd.group2.patch
deleted file mode 100644
index 088ae36..0000000
--- a/imapd/imapd.group2.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- ../cyrus-imapd-2.2.6.kolab-orig/lib/auth_unix.c 2004-10-09 00:07:45.000000000 +0200
-+++ lib/auth_unix.c 2004-10-09 00:29:58.000000000 +0200
-@@ -274,7 +274,7 @@ static struct group* fgetgrnam(const cha
- if (!groupfile) groupfile = fopen("/etc/group", "r");
- if (groupfile) {
- while ((grp = fgetgrent(groupfile))) {
-- if (strcmp(grp->gr_name, name) == 0) {
-+ if (strcasecmp(grp->gr_name, name) == 0) {
- fclose(groupfile);
- return grp;
- }
-@@ -386,7 +386,7 @@ struct auth_state *auth_newstate(const c
- if (groupfile) {
- while ((grp = fgetgrent(groupfile))) {
- for (mem = grp->gr_mem; *mem; mem++) {
-- if (!strcmp(*mem, identifier)) break;
-+ if (!strcasecmp(*mem, identifier)) break;
- }
-
- if (*mem || (pwd && pwd->pw_gid == grp->gr_gid)) {