Add openldap ebuild with `use prefix`-protected group/user creation.
[wtk-prefix-overlay.git] / net-nds / openldap / files / openldap-2.3.21-ppolicy.patch
1 --- clients.orig/tools/common.c 2006-05-05 00:24:01.000000000 -0700
2 +++ clients/tools/common.c      2006-05-05 00:24:13.000000000 -0700
3 @@ -904,8 +904,8 @@
4  tool_bind( LDAP *ld )
5  {
6  #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST
7 -       if ( ppolicy ) {
8                 LDAPControl *ctrls[2], c;
9 +       if ( ppolicy ) {
10                 c.ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST;
11                 c.ldctl_value.bv_val = NULL;
12                 c.ldctl_value.bv_len = 0;
13