diff options
author | Markus Ullmann <jokey@gentoo.org> | 2006-05-06 10:57:47 +0000 |
---|---|---|
committer | Markus Ullmann <jokey@gentoo.org> | 2006-05-06 10:57:47 +0000 |
commit | 88551056cdf4f384f12a53a9237f52ad0d44145f (patch) | |
tree | 994306d29e915aba76de1c355c60f3867b8f8c5e /net-nds/openldap/files/openldap-2.3.21-ppolicy.patch | |
parent | Add net-nds/openldap:overlays (diff) | |
download | gentoo-2-88551056cdf4f384f12a53a9237f52ad0d44145f.tar.gz gentoo-2-88551056cdf4f384f12a53a9237f52ad0d44145f.tar.bz2 gentoo-2-88551056cdf4f384f12a53a9237f52ad0d44145f.zip |
Adding overlays support wrt bug #132263, thanks to Chris Covington and Dean Baender
(Portage version: 2.1_pre10-r3)
Diffstat (limited to 'net-nds/openldap/files/openldap-2.3.21-ppolicy.patch')
-rw-r--r-- | net-nds/openldap/files/openldap-2.3.21-ppolicy.patch | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/net-nds/openldap/files/openldap-2.3.21-ppolicy.patch b/net-nds/openldap/files/openldap-2.3.21-ppolicy.patch new file mode 100644 index 000000000000..06bbee86f1c9 --- /dev/null +++ b/net-nds/openldap/files/openldap-2.3.21-ppolicy.patch @@ -0,0 +1,13 @@ +--- clients.orig/tools/common.c 2006-05-05 00:24:01.000000000 -0700 ++++ clients/tools/common.c 2006-05-05 00:24:13.000000000 -0700 +@@ -904,8 +904,8 @@ + tool_bind( LDAP *ld ) + { + #ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST +- if ( ppolicy ) { + LDAPControl *ctrls[2], c; ++ if ( ppolicy ) { + c.ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST; + c.ldctl_value.bv_val = NULL; + c.ldctl_value.bv_len = 0; + |