Blame 0097-fix-compiler-warning-in-posix-winsync-code-for-posix.patch
|
|
dc8c34 |
From 81d3e71027c8e702eba9961afa0220ae5e28066e Mon Sep 17 00:00:00 2001
|
|
|
dc8c34 |
From: Rich Megginson <rmeggins@redhat.com>
|
|
|
dc8c34 |
Date: Wed, 31 Jul 2013 09:53:52 -0600
|
|
|
dc8c34 |
Subject: [PATCH 97/99] fix compiler warning in posix winsync code for
|
|
|
dc8c34 |
posix_group_del_memberuid_callback (cherry picked from commit
|
|
|
dc8c34 |
f440e039a5f2a7b2ea0dd087d8e91c554abc1be0) (cherry picked from commit
|
|
|
dc8c34 |
761d9d550ca1025293dc1607760adea38ddc5452) (cherry picked from commit
|
|
|
dc8c34 |
9750ea73014b36349040e166a469ed09236c2549)
|
|
|
dc8c34 |
|
|
|
dc8c34 |
---
|
|
|
dc8c34 |
ldap/servers/plugins/posix-winsync/posix-group-task.c | 2 ++
|
|
|
dc8c34 |
1 file changed, 2 insertions(+)
|
|
|
dc8c34 |
|
|
|
dc8c34 |
diff --git a/ldap/servers/plugins/posix-winsync/posix-group-task.c b/ldap/servers/plugins/posix-winsync/posix-group-task.c
|
|
|
dc8c34 |
index 1d9135d..05c43af 100644
|
|
|
dc8c34 |
--- a/ldap/servers/plugins/posix-winsync/posix-group-task.c
|
|
|
dc8c34 |
+++ b/ldap/servers/plugins/posix-winsync/posix-group-task.c
|
|
|
dc8c34 |
@@ -174,6 +174,7 @@ posix_group_task_destructor(Slapi_Task *task)
|
|
|
dc8c34 |
}
|
|
|
dc8c34 |
}
|
|
|
dc8c34 |
|
|
|
dc8c34 |
+#ifdef USE_POSIX_GROUP_DEL_MEMBERUID
|
|
|
dc8c34 |
static int
|
|
|
dc8c34 |
posix_group_del_memberuid_callback(Slapi_Entry *e, void *callback_data)
|
|
|
dc8c34 |
{
|
|
|
dc8c34 |
@@ -208,6 +209,7 @@ posix_group_del_memberuid_callback(Slapi_Entry *e, void *callback_data)
|
|
|
dc8c34 |
|
|
|
dc8c34 |
return rc;
|
|
|
dc8c34 |
}
|
|
|
dc8c34 |
+#endif
|
|
|
dc8c34 |
|
|
|
dc8c34 |
static int
|
|
|
dc8c34 |
posix_group_fix_memberuid(char *dn, char *filter_str, void *txn)
|
|
|
dc8c34 |
--
|
|
|
dc8c34 |
1.8.1.4
|
|
|
dc8c34 |
|