IBM Support

Proxy server does not support subtree based search for ibm-allgroups

Troubleshooting


Problem

ldap search operations with subtree scope requesting ibm-allgroups against the proxy server, will receive "DSA unwilling to perform" return code.

Cause

Proxy Server does not support a subtree scoped search when asking for ibm-allgroups. When using the Proxy Server the client applications must do separate operations to search for the qualifying user DN first and then using that user DN search again for ibm-allgroups.

Resolving The Problem

Search requests with 'sub' (a.k.a subtree) scope and requesting the ibm-allgroups attribute against proxy server will receive "DSA unwilling to perform" return code. This is working as designed.

The task can be accomplished by changing the scope to 'base' on the user entry DN,

Example: The following examples demonstrates the command line methods to observe and resolve this problem.
LDAP searches that receive "DSA unwilling to perform" return code;

1) idsldapsearch -D <BindDN> -w <BindPW> -b <suffixDN> -s sub <filter>  ibm-allgroups
ldap_search: DSA is unwilling to perform

e.g.:
# idsldapsearch -D cn=root -w pw -s sub -b o=sample "cn=eddie*" ibm-allgroups
ldap_search: DSA is unwilling to perform

2) idsldapsearch -D <BindDN> -w <BindPW> -b <suffixDN> <filter>  ibm-allgroups
ldap_search: DSA is unwilling to perform

e.g.:
# idsldapsearch -D cn=root -w pw -b o=sample "objectclass=*" ibm-allgroups
ldap_search: DSA is unwilling to perform


LDAP search combination that works:

a) idsldapsearch -D <BindDN> -w <BindPW> -b <suffixDN> -s sub <filter> dn
   idsldapsearch -D <BindDN> -w <BindPW> -b <UserDN> -s base <filter> ibm-allgroups

e.g.:
# idsldapsearch -D cn=root -w pw -s sub -b o=sample "cn=eddie*" dn

cn=Eddie Catu,ou=In Flight Systems,ou=Austin,o=sample

# idsldapsearch -D cn=root -w pw -s base -b "cn=Eddie Catu, ou=In Flight Systems, ou=Austin, o=sample" "cn=eddie*" ibm-allgroups

cn=Eddie Catu,ou=In Flight Systems,ou=Austin,o=sample
ibm-allgroups=CN=BOWLING TEAM,OU=GROUPS,O=SAMPLE



Note: Please note that this restriction is only for the TDS server instance running as Proxy server and for ibm-allgroups . The search will work well with the direct TDS server instances running as back ends.

[{"Product":{"code":"SSVJJU","label":"IBM Security Directory Server"},"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Component":"General","Platform":[{"code":"PF002","label":"AIX"},{"code":"PF010","label":"HP-UX"},{"code":"PF016","label":"Linux"},{"code":"PF027","label":"Solaris"},{"code":"PF033","label":"Windows"}],"Version":"6.0;6.1;6.2;6.3;6.3.1;6.4;8.0;8.0.1","Edition":"","Line of Business":{"code":"LOB24","label":"Security Software"}}]

Product Synonym

TDS

Document Information

Modified date:
16 June 2018

UID

swg21250281