directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "James Brown (JIRA)" <j...@apache.org>
Subject [jira] Created: (DIRSTUDIO-583) error when viewing exchange 5.5 objects
Date Tue, 10 Nov 2009 17:05:27 GMT
error when viewing exchange 5.5 objects
---------------------------------------

                 Key: DIRSTUDIO-583
                 URL: https://issues.apache.org/jira/browse/DIRSTUDIO-583
             Project: Directory Studio
          Issue Type: Bug
          Components: studio-ldapbrowser
    Affects Versions: 1.5.0, 1.4.0
         Environment: Studio runnning on a variety of Windows OSes including xp, 2003 and
2008
            Reporter: James Brown


When clicking on an exchange 5.5 attribute, an error is generated.  This is related to the
"*" attribute being supplied in the filter.  This can be seen testing without supplying the
wildcard.  Same issue as is seen with Domino (see bug https://issues.apache.org/jira/browse/DIRSTUDIO-581)

Error while reading entry
 - [LDAP: error code 16 - No Such Attribute]
  javax.naming.directory.NoSuchAttributeException: [LDAP: error code 16 - No Such Attribute];
remaining name 'ou=Automation,o=sfqa'
	at com.sun.jndi.ldap.LdapCtx.mapErrorCode(Unknown Source)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
	at com.sun.jndi.ldap.LdapCtx.processReturnCode(Unknown Source)
	at com.sun.jndi.ldap.LdapCtx.searchAux(Unknown Source)
	at com.sun.jndi.ldap.LdapCtx.c_search(Unknown Source)
	at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_search(Unknown Source)
	at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.search(Unknown Source)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper$1.run(JNDIConnectionWrapper.java:356)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.runAndMonitor(JNDIConnectionWrapper.java:1272)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.checkConnectionAndRunAndMonitor(JNDIConnectionWrapper.java:1203)
	at org.apache.directory.studio.connection.core.io.jndi.JNDIConnectionWrapper.search(JNDIConnectionWrapper.java:398)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.search(SearchRunnable.java:500)
	at org.apache.directory.studio.ldapbrowser.core.jobs.SearchRunnable.searchAndUpdateModel(SearchRunnable.java:320)
	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:257)
	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.initializeAttributes(InitializeAttributesRunnable.java:195)
	at org.apache.directory.studio.ldapbrowser.core.jobs.InitializeAttributesRunnable.run(InitializeAttributesRunnable.java:134)
	at org.apache.directory.studio.connection.ui.RunnableContextRunner$1.run(RunnableContextRunner.java:113)
	at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  [LDAP: error code 16 - No Such Attribute]


and from the logs:

#!SEARCH RESULT DONE (10) OK
#!CONNECTION ldap://qa.qa.com:41389
#!DATE 2009-10-08T10:06:48.386
# numEntries : 1

#!SEARCH REQUEST (11) ERROR
#!CONNECTION ldap://qa.qa.com:41389
#!DATE 2009-10-08T10:06:50.839
#!ERROR [LDAP: error code 16 - No Such Attribute]
# LDAP URL     : ldap://qa.qa.com:41389/ou=Automation,o=sfqa?*??(objectClass=*)
# command line : ldapsearch -H ldap://qa.qa.com:41389 -x -D "cn=administrator,cn=admin" -W
-b "ou=Automation,o=sfqa" -s base -a always "(objectClass=*)" "*"
# baseObject   : ou=Automation,o=sfqa
# scope        : baseObject (0)
# derefAliases : derefAlways (3)
# sizeLimit    : 0
# timeLimit    : 0
# typesOnly    : False
# filter       : (objectClass=*)
# attributes   : *




Testing:

[root@qa-gx755-02 root]# ldapsearch -H ldap://qa.qa.com:41389 -x -D "cn=administrator,cn=admin"
-W -b "ou=Automation,o=sfqa" -s base -a always "(objectClass=*)" "*"
Enter LDAP Password:
version: 2

#
# filter: (objectClass=*)
# requesting: *
#

# search result
search: 2
result: 16 No such attribute

# numResponses: 1
[root@qa-gx755-02 root]# ldapsearch -H ldap://qa.qa.com:41389 -x -D "cn=administrator,cn=admin"
-W -b "ou=Automation,o=sfqa" -s base -a always "(objectClass=*)"
Enter LDAP Password:
version: 2

#
# filter: (objectClass=*)
# requesting: ALL
#

# Automation, sfqa
dn: ou=Automation,o=sfqa
objectClass: organizationalUnit
objectClass: Top
ou: Automation
distinguishedName: ou=Automation,o=sfqa
Admin-Display-Name: Automation

# search result
search: 2
result: 0 Success

# numResponses: 2
# numEntries: 1
[root@qa-gx755-02 root]#



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


Mime
View raw message