[prev in list] [next in list] [prev in thread] [next in thread]
List: sssd-devel
Subject: [SSSD] [PATCH] ldap: use case insensitive check
From: Arjun Sreedharan <arjun024 () gmail ! com>
Date: 2014-12-15 7:57:31
Message-ID: 1418629531-3229-1-git-send-email-arjun024 () gmail ! com
[Download RAW message or body]
Signed-off-by: Arjun Sreedharan <arjun024@gmail.com>
---
src/providers/ldap/ldap_id_cleanup.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/providers/ldap/ldap_id_cleanup.c b/src/providers/ldap/ldap_id_cleanup.c
index f78d4b4..88e487b 100644
--- a/src/providers/ldap/ldap_id_cleanup.c
+++ b/src/providers/ldap/ldap_id_cleanup.c
@@ -361,7 +361,7 @@ static int cleanup_groups(TALLOC_CTX *memctx,
}
posix = ldb_msg_find_attr_as_string(msgs[i], SYSDB_POSIX, NULL);
- if (!posix || strcmp(posix, "TRUE") == 0) {
+ if (!posix || strcasecmp(posix, "TRUE") == 0) {
/* Search for users that are members of this group, or
* that have this group as their primary GID.
* Include subdomain users as well.
--
1.7.11.7
_______________________________________________
sssd-devel mailing list
sssd-devel@lists.fedorahosted.org
https://lists.fedorahosted.org/mailman/listinfo/sssd-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic