Bug 177444
| Summary: | root DSE reports password policy control twice | ||
|---|---|---|---|
| Product: | [Retired] 389 | Reporter: | Bob Lord <blord> |
| Component: | Directory Server | Assignee: | Jim Whitehurst <jim> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Viktor Ashirov <vashirov> |
| Severity: | medium | Docs Contact: | |
| Priority: | medium | ||
| Version: | 1.0 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | 1.0.2 | ||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2015-12-07 16:44:10 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | |||
| Bug Blocks: | 183369 | ||
|
Description
Pete Rowley
2006-01-10 19:21:38 UTC
One line change:
Index: control.c
===================================================================
RCS file: /cvs/dirsec/ldapserver/ldap/servers/slapd/control.c,v
retrieving revision 1.4
diff -t -U8 -r1.4 control.c
--- control.c 19 Apr 2005 22:07:36 -0000 1.4
+++ control.c 10 Jan 2006 19:13:56 -0000
@@ -90,20 +90,26 @@
slapi_register_supported_control( LDAP_CONTROL_REAL_ATTRS_ONLY,
SLAPI_OPERATION_SEARCH );
slapi_register_supported_control( LDAP_CONTROL_VIRT_ATTRS_ONLY,
SLAPI_OPERATION_SEARCH );
slapi_register_supported_control( LDAP_X_CONTROL_PWPOLICY_REQUEST,
SLAPI_OPERATION_SEARCH | SLAPI_OPERATION_COMPARE
| SLAPI_OPERATION_ADD | SLAPI_OPERATION_DELETE
| SLAPI_OPERATION_MODIFY | SLAPI_OPERATION_MODDN );
+/*
+ We do not register the password policy response because it has
+ the same oid as the request (and it was being reported twice in
+ in the root DSE supportedControls attribute)
+
slapi_register_supported_control( LDAP_X_CONTROL_PWPOLICY_RESPONSE,
SLAPI_OPERATION_SEARCH | SLAPI_OPERATION_COMPARE
| SLAPI_OPERATION_ADD | SLAPI_OPERATION_DELETE
| SLAPI_OPERATION_MODIFY | SLAPI_OPERATION_MODDN );
+*/
slapi_register_supported_control( LDAP_CONTROL_GET_EFFECTIVE_RIGHTS,
SLAPI_OPERATION_SEARCH );
}
Verified: PASS Test machine: neo.dsdev.sjc.redhat.com Test: [root@neo ~]# /usr/lib/mozldap/ldapsearch -h neo.dsdev.sjc.redhat.com -p 389 -D "cn=directory manager" -w Secret123 -s base -b "" objectclass=* "*" | grep 1.3.6.1.4.1.42.2.27.8.5.1 supportedControl: 1.3.6.1.4.1.42.2.27.8.5.1 |