This bug was not fixed in 1.5 as it was announced. Please, see 
http://sourceforge.net/tracker/index.php?func=detail&aid=2163976&group_id=41452&atid=430593.
Actually it was fixed in 1.18, patch is attached. 
I patched current Debian package (libpam-mount version 1.10-1) using this 
patch. It works.
diff --git a/src/rdconf1.c b/src/rdconf1.c
index e4d93cd..b72b055 100644
--- a/src/rdconf1.c
+++ b/src/rdconf1.c
@@ -570,7 +570,7 @@ static bool user_in_sgrp(const char *user, const char *grp, bool icase)
 	wp = const_cast2(const char *const *, gent->gr_mem);
 	while (wp != NULL && *wp != NULL) {
 		if (strcmp(*wp, user) == 0 ||
-		    (icase && strcasecmp(*wp, user)) == 0)
+		    (icase && strcasecmp(*wp, user) == 0))
 			return true;
 		++wp;
 	}

Reply via email to