You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Stefan Seelmann (Jira)" <ji...@apache.org> on 2021/01/19 21:09:00 UTC
[jira] [Commented] (DIRSTUDIO-581) default query filter excludes
Domino members attribute
[ https://issues.apache.org/jira/browse/DIRSTUDIO-581?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17268227#comment-17268227 ]
Stefan Seelmann commented on DIRSTUDIO-581:
-------------------------------------------
As this issue is 12 years old, is this still relevant? I don't have a Domino server available to test.
> 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.4.0, 1.5.0
> Environment: Various Windows systems running version 1.4 and 1.5. Everything from XP, windows server 2003 and 2008.
> Reporter: James Brown
> Priority: Major
>
> 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 was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org