From dfd400df24e663f089a63d312101571df26d7f31 Mon Sep 17 00:00:00 2001 From: Howard Chu Date: Fri, 14 May 2004 19:28:42 +0000 Subject: [PATCH] Just set ppolicy control in tool_bind() --- clients/tools/common.c | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/clients/tools/common.c b/clients/tools/common.c index 29f469d751..61383523ba 100644 --- a/clients/tools/common.c +++ b/clients/tools/common.c @@ -914,17 +914,6 @@ tool_server_controls( LDAP *ld, LDAPControl *extra_c, int count ) i++; } -#ifdef LDAP_CONTROL_PASSWORDPOLICYREQUEST - if ( ppolicy ) { - c[i].ldctl_oid = LDAP_CONTROL_PASSWORDPOLICYREQUEST; - c[i].ldctl_value.bv_val = NULL; - c[i].ldctl_value.bv_len = 0; - c[i].ldctl_iscritical = 0; - ctrls[i] = &c[i]; - i++; - } -#endif - if ( preread ) { char berbuf[LBER_ELEMENT_SIZEOF]; BerElement *ber = (BerElement *)berbuf; -- 2.39.5