You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "James Brown (JIRA)" <ji...@apache.org> on 2009/11/10 02:43:32 UTC

[jira] Created: (DIRSTUDIO-581) default query filter excludes Domino members attribute

default query filter excludes Domino members attribute
------------------------------------------------------

                 Key: DIRSTUDIO-581
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-581
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-ldapbrowser
    Affects Versions: 1.5.0, 1.4.0
         Environment: Various Windows systems running version 1.4 and 1.5.  Everything from XP, windows server 2003 and 2008.
            Reporter: James Brown


The default query for displaying user objects specifies "*" for the attributes to return after the query filter.  This for some reason is excluding the member attribute from displaying with at least Domino 7 and Domino 6.5.  Removing the specified attributes "*" resolves the issue.

Example of the default query:

#!SEARCH RESULT DONE (146) OK
#!CONNECTION ldap://10.32.174.89:389
#!DATE 2009-11-09T16:04:46.226
# numEntries : 0

#!SEARCH REQUEST (147) OK
#!CONNECTION ldap://10.32.174.89:389
#!DATE 2009-11-09T16:04:47.213
# LDAP URL     : ldap://10.32.174.89:389/CN=COT?*??(objectClass=*)
# command line : ldapsearch -H ldap://10.32.174.89:389 -x -D "cn=cotes" -W -b "CN=COT" -s base -a always "(objectClass=*)" "*"
# baseObject   : CN=COT
# scope        : baseObject (0)
# derefAliases : derefAlways (3)
# sizeLimit    : 0
# timeLimit    : 0
# typesOnly    : False
# filter       : (objectClass=*)
# attributes   : *




Testing, the "*" is causing issue.

-bash-3.00$ ldapsearch -H ldap://10.32.174.89:389 -x -D "cn=cotes" -W -b "CN=COT" -s base -a always "(objectClass=*)" "*"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <CN=COT> with scope baseObject
# filter: (objectClass=*)
# requesting: *
#

# COT
dn: CN=COT
cn: COT
mail: COT@cot.com
displayname: COT
grouptype: 0
description: Those who are OT C
maildomain: cot.com
availablefordirsync: 1
objectclass: dominoGroup
objectclass: groupOfNames
objectclass: top
grouptitle: 0
listcategory: Administration

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


Running again without attributes to be returned specified:

-bash-3.00$ ldapsearch -H ldap://10.32.174.89:389 -x -D "cn=cotes" -W -b "CN=COT" -s base -a always "(objectClass=*)"
Enter LDAP Password:
# extended LDIF
#
# LDAPv3
# base <CN=COT> with scope baseObject
# filter: (objectClass=*)
# requesting: ALL
#

# COT
dn: CN=COT
cn: COT
mail: COT@cot.com
displayname: COT
grouptype: 0
description: Those who are OT C
maildomain: cot.com
availablefordirsync: 1
objectclass: dominoGroup
objectclass: groupOfNames
objectclass: top
grouptitle: 0
listcategory: Administration
member: CN=user1@cot.com
member: CN=user2,O=cot

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.