LDAP compare not working as documented in SDK

I'm developing a Java application against Novell eDirectory 8.8 SP6 with
LDAP and seeing some differences between the Novell LDAP SDK
Documentation and the actual LDAP implementation inside eDirectory for
LDAP. The problem is that compare(java.lang.String dn, LDAPAttribute
attr) method of com.novell.ldap.LDAPConnection is not working as
described. I've noticed two strange issues:
1) LDAP COMPARE THROWS AN ERROR WHEN IT SHOULD NOT
According to the documentation ( the value FALSE should be returned when
the entry does not have the value or the attribute. However, eDirectory
return a -603 LDAP error when yo do a compare on an entry which does not
have the attribute (it does exist in the schema though).
In example:
Compare on User John Doe without any value for myauxattr:
ldapcompare -x -H ldap://ldapserver.test.com -D cn=admin,o=org -w
<password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
COMPARE RESULT: NO SUCH ATTRIBUTE (16)
ADDITIONAL INFO: NDS ERROR: NO SUCH ATTRIBUTE (-603)
UNDEFINED[/B] --> INCORRECT RESPONSE
COMPARE ON USER JOHN DOE WITH VALUE 'TESTFORNOMATCH' FOR MYAUXATTR:
LDAPCOMPARE -X -H LDAP://LDAPSERVER.TEST.COM -D CN=ADMIN,O=ORG -W
<PASSWORD> CN=JDOE,OU=USERS,O=ORG MYAUXATTR:TESTFORNOMATCH
TRUE
COMPARE ON USER JOHN DOE WITH VALUE 'OTHERVALUE' FOR MYAUXATTR:
LDAPCOMPARE -X -H LDAP://LDAPSERVER.TEST.COM -D CN=ADMIN,O=ORG -W
<PASSWORD> CN=JDOE,OU=USERS,O=ORG MYAUXATTR:TESTFORNOMATCH
FALSE
*1) LDAP COMPARE DOES NOT THROW AN ERROR WHEN IT SHOULD
Moreover, if you don't have the Compare Rights to that attribute,
eDirectory always returns FALSE on a LDAP compare, which I beleive is
not correct. A return value of FALSE implicitly states that the compare
could be done, but no match is found. However, insufficient rights
prevent the compare, so eDirectory should throw an error. Something like
LDAP: error code 50 INSUFFICIENT_ACCESS_RIGHTS.
In example:
Compare on User John Doe without any value for myauxattr and no compare
rights:
ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
<password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
[B]FALSE* --> incorrect response
Compare on User John Doe with value 'testfornomatch' for myauxattr and
no compare rights:
ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
<password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
*FALSE* --> incorrect response
Compare on User John Doe with value 'othervalue' for myauxattr and no
compare rights:
ldapcompare -x -H ldap://ldapserver.test.com -D cn=limiteduser,o=org -w
<password> cn=jdoe,ou=users,o=org myauxattr:testfornomatch
*FALSE* --> incorrect response
My question is: should I file this as a bug or is the LDAP SDK
documentation invalid?
sveldhuisen
sveldhuisen's Profile: https://forums.netiq.com/member.php?userid=1813
View this thread: https://forums.netiq.com/showthread.php?t=48106

Thanks Ab for pointing that out. That explains the error when doing a
compare on an entry without that attirbute. However, if no compare
rights are given, LDAP compare shoudl throw an error as well. This part
seems like a bug to me. My conclusion is that the documentation of JLDAP
is incorrect and we have a bug upon insufficient rights. Interesting is
that also the code Examples for LDAP compare in the SDK are invalid as
well: no check is done if the attribute exists on the entry before
calling LDAP compare.
ab;231062 Wrote:
> I think what you are seeing is correct per RFC 4511:
>
> <quote>
> Upon receipt of a Compare Request, a server will attempt to perform
> the requested comparison and return the result in the Compare
> Response, defined as follows:
>
> CompareResponse ::= [APPLICATION 15] LDAPResult
>
> The resultCode is set to compareTrue, compareFalse, or an appropriate
> error. compareTrue indicates that the assertion value in the ava
> field matches a value of the attribute or subtype according to the
> attribute's EQUALITY matching rule. compareFalse indicates that the
> assertion value in the ava field and the values of the attribute or
> subtype did not match. Other result codes indicate either that the
> result of the comparison was Undefined (Section 4.5.1.7), or that
> some error occurred.
> </quote>
>
> Note the part about an "appropriate error", and the bit about the
> comparison being Undefined. The full RFC can be read in many places,
> such
> as the following URL:
>
> http://www.ietf.org/rfc/rfc4511.txt
>
> Good luck.
sveldhuisen
sveldhuisen's Profile: https://forums.netiq.com/member.php?userid=1813
View this thread: https://forums.netiq.com/showthread.php?t=48106

Similar Messages

  • Ldap authentication not working for Solaris 8 host - Help!

    Greetings folks,
    I just recently migrated a host to use LDAP authentication. The only difference between this host and the rest of the hosts in the environment that I've converted to use LDAP is that this one is running Solaris 8.
    Here's the steps I took to migrate it (though, I used the same steps for another Sol8 host in another environment and it works fine):
    ldapclient -P stg -d mydomain.com -D cn=proxyagent,ou=profile,dc=mydomain,dc=com -w secret 192.168.1.69
    My /etc/nsswitch.conf looks like this:
    passwd: files ldap
    group: files ldap
    My /etc/pam.conf looks like this:
    login auth requisite pam_authtok_get.so.1
    login auth required pam_dhkeys.so.1
    login auth sufficient pam_unix_auth.so.1
    login auth required pam_ldap.so.1
    sshd auth requisite pam_authtok_get.so.1
    sshd auth sufficient pam_unix_auth.so.1
    sshd auth required pam_ldap.so.1
    other auth requisite pam_authtok_get.so.1
    other auth required pam_dhkeys.so.1
    other auth sufficient pam_unix_auth.so.1
    other auth required pam_ldap.so.1
    passwd auth sufficient pam_passwd_auth.so.1
    passwd auth required pam_ldap.so.1
    I've also cleared out the local user accounts for my human users, so there aren't any more passwd or shadow entries (yes, I ran pwconv). I also cleaned out the /etc/group entries for the same users. The machine appears to be configured properly, because I can run various DS commands that indicate this:
    hostname# getent passwd user1
    user1::1001:1001:User 1:/opt/home/user1:/bin/bash
    hostname# ldaplist -l passwd user1
    dn: uid=user1,ou=people,dc=mydomain,dc=com
    shadowFlag: 0
    userPassword: {crypt}(removed)
    uid: user1
    objectClass: posixAccount
    objectClass: shadowAccount
    objectClass: account
    objectClass: top
    cn: user1
    uidNumber: 1001
    gidNumber: 1001
    gecos: User 1
    homeDirectory: /opt/home/user1
    loginShell: /bin/bash
    However, in the end, actual logins to this host fail via ssh. Snooping the traffic reveals that all the right info is being handed back to the client, including the crypt'ed password hash, uid, etc. just like I see with other hosts that work.
    Any ideas?
    Thanks!
    Patrick

    I assume you have applied lastest kernel patch and 108993 to this Solaris8 machine, and its nss_ldap.so.1 and pam_ldap.so.1 are the same as the other Solaris8 LDAP clients that are working for ssh via LDAP auth.
    1) Please replace "objectClass: account" with "objectClass: person", I know SUN ONE DS5.2 likes "person".
    2) Did you test and verify telnet/ftp/su working? but SSH not working?
    3) If telnet/ftp/su all worked, and SSH (SUN-SSH or OpenSSH), make sure you have "UsePAM yes" in sshd_config and restart sshd.
    4) It is not a must I think but normally I will add "shadow: files ldap" to /etc/nsswitch.conf, restart nscd after that.
    5) Whenever ldapclient command is run and ldap_cachemgr is restarted, I usually also restart nscd and sshd after that, if not testing result may not be accurate as nscd is still remembering OLD stuffs cached which could be very misleading.
    6) You may use "ssh -v userid@localhost" to watch the SSH communications, on top of your usual "snoop"ing of network packets.
    7) Use the sample pam.conf that is meant for pam_ldap from Solaris 10 system admin guide with all the pam_unix_cred.so.1 lines commented out. This works for me, there is no sshd defintions as it will follow "other".
    http://docs.sun.com/app/docs/doc/816-4556/6maort2te?a=view
    Gary

  • Comparator not working correctly!

    Hi
    I'm having an issue trying to get a simple 4585 comparator to work correctly (file attached) on the 'A0 - A3' inputs i have a 'clock' pulse (manually triggered using switch 'A', LEDs indicate binary), and on the 'B0-B3' inputs i have a hardwired '0101'. Starting from 0000, the output correctly shows OALTB (output A less then B). The problem is when it gets to 0101; not only does the expected OAEQB (output A equal B) NOT come on, but the OALTB doesnt go off, and the OAGTB comes on simultaneously!
    Once the count goes above 0101, the OAGTB comes on as expected, and the circuit behaves.
    Can anyone suggest anything?
    Solved!
    Go to Solution.
    Attachments:
    comparator test.ms11 ‏91 KB

    Sigh. I had the AGTB, AEQB & ALTB inputs set wrong. Got it now. Can i kudos myself?

  • LDAP Autoaddressing not working in Mail

    I have LDAP directory services set-up in Mail and it works perfectly when doing look ups directly from Address Book. It was working fine from within Mail at first but I seem to run into times when the autoaddressing feature does not work in Mail at least not using LDAP. I have autoadressing enabled in the Mail preferences and as noted, LDAP clearly functions as I can use it successfully from the Address Book look-up function. Any ideas? Thanks in advance for your assistance.
    Matt

    Hi Maria,
    as far I know the application is designed a way, that once there is an empty email this will not be sent at all.
    Could you therefore first test the mail form - you can test it with a business partner with the mkt attributes assigned:
    If this gives an empty mail, with the text elements not available the issue is related to the conditions of the text fields. You then need to check the conditions.
    Alternatively you can try to add any text to the mail form that is displayed independently from the conditions - the mails should then be sent even for the business partners with mkt attributes assigned.
    best regards,
    Johannes

  • LDAP Directories not working at work

    I've used LDAP directories in Address Book at home but when I'm at work the same configurations do not work, only my company LDAP works. This seems odd as I am able to add these LDAP servers and use them at home. Id there some sort of blocking being done? How is that possible? An example is Stanford:
    ldap.stanford.edu
    cn=people,dc=stanford,dc=edu
    port 389

    I had our IT guys come down here once again to try to explain the problem to them. They sort of just stood there slack-jawed, not understanding and told me that Mac Mail won't run on our Exchange server. Well, Mac Mail IS currently running in conjunction with our Exchange server, I need the info for the LDAP server! They act like everything is classified information and that I'm just some crazy Mac-user. I just don't understand how Entourage can access this LDAP server, and Mac Mail can't.
    I tried putting "cn=gravity.com" in the Search Base box but it didn't fix the problem. And what do I put for Scope: Base, One Level, or Subtree? I know what to put for my authentication, but is the server called ldap//:auntie.gravity.gravitymail.com or is it just auntie.gravity.gravitymail.com? Or is it ldap.auntie.gravity.gravitymail.com? I'm just not sure what the problem is. I feel like I'm just trying an infinite number of combinations until it works....

  • Dreamweaver CS5.5 File Compare not working on Mac

    It's not working at all, and I have TextWrangler as the application for this feature.  Can somebody help?  I've asked this question before and nobody has been able to help.  Should I reinstall it?  FYI, I'm new to a Mac.

    exactly the same here. Also I posted to a similar, slightly older thread already: http://forums.adobe.com/message/4116260

  • Alternate and span modes do not work as documented

    Odd Aperture behaviour of Secondary Monitor.
    According to Apple:
    Alternate: Displays the currently selected photo in the Secondary Viewer. The Secondary Viewer shows only one photo, even when you have the Main Viewer set to display multiple photos.
    Not on my computer.
    Span: Splits the display of the currently selected photos between the Main Viewer and the Secondary Viewer. For example, if you select seven photos to view, the Main Viewer shows as many as fit its screen size, and the remaining photos appear in the Secondary Viewer. Thus, one Viewer might show four photos, and the other Viewer might show the remaining three of the seven. Span is also used if you want to compare photos and show one photo per display.
    Not on my computer.
    Viewers
      Main viewer = Multiple
      Secondary viewer  = Span.
      Mode = browser.
    Select one or more images in browser, whatever number I select is shown on secondary monitor.
      Change mode to filmstrip.
    None selected:  Both image viewers are blank.
    One selected:  Two copies of same image.
    Two selected:  Both screens show image #1.  Neither shows Image #2
    Three Selected:  Both screens show images #1 and #2, neither shows #3
    Four selected:   Both screens show images #1 and #2, neither shows #3 or #4
    Five selected:  Both screens show images #1, #2 and #3, neither shows #4 or  #5
    Six selected:  No change from Five.  #6 not shown ether
    Seven selected: #1-4 show on both #5-7 show on neither.
    Change mode  to Viewer.  I now have two screens of 4 images. Same 4 on both.
    I'm getting *so* confused.
    Viewers
      Main viewer = Multiple
      Secondary viewer  = Alternate.
      Mode = browser.
    Browser behaves exactly the same as in Span.  Select 4 in browser -- they show as selected in browser, and all 4 show up in secondary.
    Change to viewer.  Main  and second both show all the images I had selected at the time.  If I manually deselect, I end up with one image on both the Main and Secondary.  Both viewer and secondary respond to middle mouse button roll in changing the primary (heavy outline) image.
    Change to filmstrip:  Whatever I have selected on the strip shows up in both the viewer and the secondary.
    Viewers
      Main viewer = Multiple
      Secondary viewer  = Mirror.
      Mode = all.
    Behaves exactly like Alternate does.

    Hi,
    Please try the below steps:
    Right click on the PSE icon.
    Select the option Run as admin.
    open the editor .
    Check is it working fine now.
    Also, try to reset the preferences of editor, refer the below link to do so.
    http://helpx.adobe.com/photoshop-elements/using/undo-redo-cancel-actions.html#restore_defa ult_preferences

  • LDAP is not working on new Web Server

    Hi, I configured LDAP authentication and it was working fine. After this I installed a new web server. I copied the security certificate etc ( copied everything from other web server) onto new webserver. When I try to login into Infoview or CMC then I get error message "Security plugin error: Failed to set parameters on plugin" from the new web server. Its working fine from the old web servers.
    Not sure what else I have to do now as I have done the same thing on old servers in the past.
    We are on BOXI R2 SP3 with web server on IIS 6.0. We have three web servers  and 3 processing servers ( with all services) in cluster env.
    Thanks,

    I am sorry I got confused with Pure Enterise authentication. I should have referred to my notes. I apologize for this. Web application server is involved in communicating to LDAP. Below is the process
    1) User logs into the application
    2) Web application server security plugin sends credential to LDAP directory
    3) LDAP directory authenticate users.
    4) Web application server's security plugin sends users credential to LDAP
    5) CMS requests user and group info from LDAP
    6) The LDAP returns this information to CMS Security plugin
    7) CMS will grant access if users is member of mapped group
    8) If access is granted then both CMS and WAS plugin create a session
    9) The WAS sends an enterprise session token to user's browser
    I was referring to login into Infoview using LDAP.
    Thanks,

  • JRE 7 Patch-in-Place Configuration not working as documented

    According to all of the documentation I have read, the default JRE installation mode is patch-in-place.
    http://docs.oracle.com/javase/7/docs/webnotes/install/windows/jre-installer-options.html
    http://www.oracle.com/technetwork/java/javase/jre-install-137694.html
    http://docs.oracle.com/javase/7/docs/webnotes/install/windows/patch-in-place-and-static-jre-installation.html
    However, after either manually installing JRE 7 to a specific installation directory (e.g. not on C:), or by specyfying the the INSTALLDIR on the command line, a subsequent JRE 7 update will uninstall the previous JRE from the desired installation location and install the current JRE in the default location (i.e. C:\Program Files\Java\jre7).
    Is there some magic installer switch, registry entry, configuration file, etc. that will force the JRE installer to upgrade the existing installation in its existing location?
    Note - these are not static instllations.  Also, I am working with the 64-bit version; I don't know if the same applies to the 32-bit version, as I have not tested it because I require the 64-bit version.
    -Jeff

    At this site there is an explanation of this issue: probably LabVIEW don't support partial scrolling.
    If I understood what they write, in Intellimouse 8.0 and above, Microsoft implemented a kind of patch for applications that don't support partial scrolling.
    And so without Intellimouse, none of these applications supports partial scrolling.
    I'll try to install the latest version of Intellimouse, but I think NI developers should patch LabVIEW to support partial scrolling. On the same site MS gives a link to the MSDN information dedicated to developers on how to handle partial scrolling.
    Vix
    In claris non fit interpretatio
    Using LV 2013 SP1 on Win 7 64bit
    Using LV 8.2.1 on WinXP SP3
    Using CVI 2012 SP1 on Win 7 64bit, WinXP and WinXP Embedded
    Using CVI 6.0 on Win2k, WinXP and WinXP Embedded

  • Mavericks and Dual Display not working as documented

    Hi all. Ok..something a little wierder here for my dual display scenario. I have two Samsung Syncmaster 2443 monitors. 15" MBP Retina purchased this year. Running in Clamshell Mode.
    I can get dual monitors happening (extended) but I cannot get the menu bar to come over as well. As mentioned in other posts, I need to tick the box in Mission Control "Displays have seperate spaces". The only problem is, that particular menu item is NOT there. All I have is the other 4 items. So how is it that this menu item does not exist on my installation?
    In this current setup, each time I reboot the display's also get reveresed, which is really annoying. I have to reboot twice to get back to my original layout.
    Any idea's?
    Tks

    you're faking out your machine to THINK it has 2 real displays and you expect Keynote to work? Keynote is THE most intense app I've ever seen for screen drawing. It basically takes over your entire machine to do its work. It doesn't surprise me that that trick doesn't work with it.
    My guess is you're going to have to wait till you have the actual projector and adapter to test your dual screen setup.

  • Transform=segment_attributes:n not working as documented... : (

    I used expdp to create a no rows export (content=metadata_only) of a 10.2.0.4 database. I am now trying to import the structures into a newly create 11.2.0.3 database using impdp.
    Here is the command used to run the import.
    impdp system/password DIRECTORY=EXPORTDB_DIR dumpfile=onedev_NOROWS_03292013.dmp logfile=onedev_norows_import.log transform=segment_attributes:n job_name=full_norow_onedev
    From my understanding of the documentation concerning the transform=segment_attributes:n parameter that The import would not try and create tablespaces and would also strip out segment attributes during import...
    This from the datapump documentation.
    Specify the value of SEGMENT_ATTRIBUTES as n. This results in the exclusion of segment attributes (both storage and tablespace) from the table.
    Here is from the log of the import and the first thing it is doing is trying to create tablespaces? What am I doing wrong?
    Master table "SYSTEM"."FULL_NOROW_ONEDEV" successfully loaded/unloaded
    Starting "SYSTEM"."FULL_NOROW_ONEDEV": system/******** DIRECTORY=EXPORTDB_DIR dumpfile=onedev_NOROWS_03292013.dmp logfile=onedev_norows_import.log transform=segment_attributes:
    n job_name=full_norow_onedev
    Processing object type DATABASE_EXPORT/TABLESPACE
    ORA-31684: Object type TABLESPACE:"SYSAUX" already exists
    ORA-31684: Object type TABLESPACE:"TEMP" already exists
    ORA-31684: Object type TABLESPACE:"USERS" already exists
    ORA-39083: Object type TABLESPACE failed to create with error:
    ORA-01119: error in creating database file '/data1/ONEDEV/undotbs02.dbf'
    ORA-27040: file create error, unable to create file
    IBM AIX RISC System/6000 Error: 2: No such file or directory
    Additional information: 1
    Failing sql is:

    >
    I used expdp to create a no rows export (content=metadata_only) of a 10.2.0.4 database. I am now trying to import the structures into a newly create 11.2.0.3 database using impdp.
    Here is the command used to run the import.
    impdp system/password DIRECTORY=EXPORTDB_DIR dumpfile=onedev_NOROWS_03292013.dmp logfile=onedev_norows_import.log transform=segment_attributes:n job_name=full_norow_onedev
    From my understanding of the documentation concerning the transform=segment_attributes:n parameter that The import would not try and create tablespaces and would also strip out segment attributes during import...
    This from the datapump documentation.
    Specify the value of SEGMENT_ATTRIBUTES as n. This results in the exclusion of segment attributes (both storage and tablespace) from the table.
    >
    That quote is correct: 'results in the exclusion of segment attributes . . . from the table'.
    See the last three words? 'from the table'.
    Your error occurs when the DDL to create the tablespaces is executed.
    If you do not want to create the tablespaces then specify the EXCLUDE parameter.
    See the doc
    http://docs.oracle.com/cd/B19306_01/server.102/b14215/dp_import.htm#i1007865
    You can also exclude the tables 'segment_attributes' as you show but the table has to use SOME tablespace. If you don't include the segment to use in the DDL then the table will get created in the users default tablespace.

  • Add Quotes.vi not working as documented

    I use the openg config vi's and realized different behaviour between LV 8.6.1 and LV 2010. Digging into this I found that the 'Add Quotes.vi' adds quotes to all strings. The help says 'Adds quote marks (") around a string that contains spaces.'. After disabling the 'Add Quotes.vi' the openg config vi's work like expected. Can someone confirm this ?.

    This change does exist in LabVIEW 2012 SP1, but I would hesitate to call it a bug.  The VI is not on the palettes, so there is no guarantee it will maintain its interface or functionality.  It appears this one changed its functionality when the configuration file VIs were refactored several years ago.  I suspect the switch functionality was moved up a level in the hierarchy and the VI simplified to account for this.  The new VI also has error connectors.  The old one did not.
    As in all cases like this, you should copy the VI to a new location, rename it, and modify it the way you want it before using it.  If you modify it in place, it will be overwritten if you upgrade or repair your LabVIEW installation.
    The VI itself is also rather inefficient (and all versions I have seen are).  Use a case statement to execute the addition of quotes, since this hits the memory manager and is much slower than doing nothing.
    This account is no longer active. Contact ShadesOfGray for current posts and information.

  • JMX example LDAP lookup not working

    Hi,
    Section 4.4 of JMX tutorial has several examples of Server.java using LDAP lookup services. I'm trying to run the RMI connector over JRMP without an external directory. Here are the command and its results (with additional tracing):
    $ java -classpath . -Xdebug -Ddebug=true -Dagent.name=test-server-a
    -Durl="service:jmx:rmi://" -Djava.naming.provider.url="$provider" -Djava.naming.security.principal="$principal" -Djava
    .naming.security.credentials="$credentials" jndi.Server
    Creating MBeanServer...
    Creating Connector: service:jmx:rmi://
    In rmi()
    Context.SECURITY_CREDENTIALS is: java.naming.security.credentials
    Entry: java.naming.security.authentication simple
    Entry: java.naming.provider.url ldap://localhost:389/dc=Test
    Entry: java.naming.security.principal cn=Manager,dc=test
    Entry: jmx.remote.jndi.rebind true
    Entry: java.naming.security.credentials secret
    Creating RMI Connector: service:jmx:rmi://
    In start()
    In getRootContext()
    java.naming.provider.url=ldap://localhost:389/dc=Test
    java.naming.security.principal=cn=Manager,dc=test
    java.naming.security.credentials=******
    In register()
    dn: cn=test-server-a
    Unexpected exception caught in main: javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - objec
    tClass: value #1 invalid per syntax]; remaining name 'cn=test-server-a'
    javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 - objectClass: value #1 invalid per syntax];
    remaining name 'cn=test-server-a'
    at com.sun.jndi.ldap.LdapCtx.mapErrorCode(LdapCtx.java:2998)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2931)
    at com.sun.jndi.ldap.LdapCtx.processReturnCode(LdapCtx.java:2737)
    at com.sun.jndi.ldap.LdapCtx.c_createSubcontext(LdapCtx.java:770)
    at com.sun.jndi.toolkit.ctx.ComponentDirContext.p_createSubcontext(ComponentDirContext.java:319)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:248)
    at com.sun.jndi.toolkit.ctx.PartialCompositeDirContext.createSubcontext(PartialCompositeDirContext.java:236)
    at jndi.Server.register(Server.java:238)
    at jndi.Server.start(Server.java:396)
    at jndi.Server.rmi(Server.java:364)
    at jndi.Server.main(Server.java:492)
    I'm using OpenLDAP (with Cygwin) on a Windows XP machine. I have also rmiregistry running in the background. Since I'm executing slapd -d -1, OpenLDAP shows that it is encountering the error here:
    conn=0 op=3 ADD dn="cn=test-server-a,dc=Test"
    send_ldap_result: conn=0 op=3 p=3
    send_ldap_result: err=21 matched="" text="objectClass: value #1 invalid per syntax"
    send_ldap_response: msgid=4 tag=105 err=21
    ber_flush: 54 bytes to sd 8
    0000: 30 34 02 01 04 69 2f 0a 01 15 04 00 04 28 6f 62 04...i/......(ob
    0010: 6a 65 63 74 43 6c 61 73 73 3a 20 76 61 6c 75 65 jectClass: value
    0020: 20 23 31 20 69 6e 76 61 6c 69 64 20 70 65 72 20 #1 invalid per
    0030: 73 79 6e 74 61 78 syntax
    ldap_write: want=54, written=54
    0000: 30 34 02 01 04 69 2f 0a 01 15 04 00 04 28 6f 62 04...i/......(ob
    0010: 6a 65 63 74 43 6c 61 73 73 3a 20 76 61 6c 75 65 jectClass: value
    0020: 20 23 31 20 69 6e 76 61 6c 69 64 20 70 65 72 20 #1 invalid per
    0030: 73 79 6e 74 61 78 syntax
    conn=0 op=3 RESULT tag=105 err=21 text=objectClass: value #1 invalid per syntax
    Does this mean there is a configuration problem with OpenLDAP (something missing in the schema)? Or does the problem lie elsewhere? Your guidance will be highly appreciated. Thanks!

    Hello,
    I am using example at http://www.cris.com/~adhawan/tutorial/ with OpenLDAP on WinXP.
    I am getting following error message when I execute the MakeRoot java class
    javax.naming.directory.InvalidAttributeValueException: [LDAP: error code 21 � objectClass: value #0 invalid per syntax]; remaining name 'o=jndiTest'
    Please help.
    Regards,
    Atul Mathur

  • After upgrading ACS 3.3.1 to 4.2 on windows the local database is not working

    Hi,
    I have upgaded the ACS 3.3.1 for windows server to 4.2. Everything went fine but the local database is not working.
    The CD is an upgrade kit from 3.x to 4.2 on windows. I tried to install directly the 4.2 I was able to install but integration with AD/LDAp is not working. Anysay its an upgrade kit so I cant expect it shoud work when install drectly the 4.2 but by upgrading from 3.3 to 4.2 everything should work fine.
    I followed the upgradation path as recomended.
    Also we have a requirment that once it is upgraded to 4.2 we need to shift the whole thing from the physical server to a virtual machine on VMware ESX server 3.5.
    Can anybody pls guide me if anything else to do after the upgradation.
    Thanks & Regards
    Sachi

    Hi Javier,
    First of all I was facing a problem of restoring the old database of 3.3 to 4.2. Somehow I overcame that issue by following the below steps. Now local authentication is working fine but AD/other External database authentication is not working. As you told the setting for the unknown users are configured to fetch the credentials from the external database if it is not in the local database.
    Do we need to do anything in the AD itself?
    Regards
    Sachi
    Steps for ACS upgrade to 4.2 version
    Below are the requested steps mentioned for the up gradation from ACS 3.3.2 to ACS 4.2.
            1)     Take a configuration backup from existing ACS. ACS--->System
    configuration----> ACS Backup
    2)    now if you have  ACS 3.3.2 on server. take backup of the ACS
    3)   Insert the cd or if you have the set up on the system then  Run the setup of ACS 3.3.4. During the process it will prompt you to
    upgrade existing configuration. Make sure you check that option else we will
    loose the database. Now you need to hit next.next to finish the 3.3.4 upgrade.
    4)     Once you are at 3.3.4, take a backup and keep it handy.
    5)     Run the setup of 4.1.1. During this process it will prompt you to
    upgrade existing configuration. Make sure you check that option else we will
    loose the database. Now you need to hit next.next to finish the 4.1 upgrade.
    6)Once you are at 4.1.1.24 take a backup and keep it handy.
    7)     Run the setup of 4.2. During this process it will prompt you to
    upgrade existing configuration. Make sure you check that option else we will
    loose the database. Now you need to hit next.next to finish the 4.2 upgrade.
    8)     Once you are at 4.2 take a backup and keep it handy. Now run the
    patch 12 and take a backup again.
    9)     Now fresh install 4.2 on your new production server and install patch
    12. Restore the 4.2 patch 12 backup and you should be all set.

  • Custom URL Scheme not working? (as supposed)

    Hey,
    I went into investigate about the "optional URL scheme" setting you can set up during building an app in the viewer builder.
    Quote from the Viewer Builder help:
    Optional URL Scheme
    Specify the custom URL scheme that launches the viewer app from Safari and other apps. […]For example, suppose you specify “com.sportspub.kayaking” as the URL scheme. If you embed a “com.sportspub.kayaking://” link on your webpage, clicking the link from the mobile browser opens the viewer app. […]
    The possibility sounds good, to link to the app from any web page you view on the iPad.
    But during testing this, I found out it's not that easy and/or not working as documented.
    Bob set the URL scheme for his app supposedly to
    com.dpstips.may5
    a link with
    <a href="com.dpstips.may5://">
    will not open Bob's app on the iPad ("invalid URL").
    I looked into the compiled app from the viewer builder and found out the actual URL scheme used is completly different, it is
    dps.7f80a0ffed3a4ff08734bc905aac4a29
    and the correct link would be
    <a href="dps.7f80a0ffed3a4ff08734bc905aac4a29://">
    that will open Bob's app (you can try it here if you are on an iPad).
    And if you know your interal folio and article names, you can even deep link into one article from a specific folio:
    <a href="dps.7f80a0ffed3a4ff08734bc905aac4a29://v1/folio/DPS%20Folios/01_Folio_TOC">
    you see these links in the landing page of the web viewer on the iPad.
    I collected all links and tests in this jsFiddle, that you can open on your iPad to test yourself: http://jsfiddle.net/YRUGj/15/
    Unfortunately, you cannot find out your real URL scheme without extracting your .ipa file and investigate the content's of the viewer, it is listed in the info.plist file.
    Is this supposed to work this way or is this currently a bug that might be fixed soon?
    —Johannes

    Felipe, I suspect you have some basic knowledge about nerdy stuff, follow
    the pink rabbit:
    (extract your developerviewer.ipa on a mac using extractor or sth.)
    1st http://download.nordsueddesign.de/skitch/viewer-20120527-163947.png
    (open the viewer bei right mouse click > Show Package Content)
    2nd http://download.nordsueddesign.de/skitch/viewer-20120527-163947.png
    (find your values in the info.plist file, try opening it with Textwrangler,
    some other text editor cannot keep it readable)
    —Johannes

Maybe you are looking for

  • Opening a PDF document on a CD with Autorun

    Hi, I can open my PDF document using a simple autorun.inf command as follows: [autorun] shellexecute=D:\documentname.pdf But, the path only works on my computer. If I insert the CD into another computer and the drive name is different it obviously do

  • Wave grouping

    The issue is we are trying to group 30-50 deliveries into a wave and then trying to create transfer orders through 2 step picking, but during the first step picking a couple of transfer orders do not get created due to various issues like bin block,

  • Computer recognizes 8GB of ram, but only uses 30% of it?

    Windows 7 Ultimate x64 Intel Q9550 ATI radeon 5770 P5QPL-AM ASUS motherboard OCZ 8GB (2x 4GB) Platinum series RAM. pc2-6400 DDR2, 240 pin, non ecc, unbuffered I have installed 8GB ram into my computer. Both my BIOS and system properties state I can u

  • Embedding SWF: Doesn't recognize FP10

    Flash files I embed have faulty plugin detection - it does not recognize FP10 as an upgrade from FP9. This is in the knowledgebase, but it does not suggest a solution. "Some websites will ask you to install or update Flash when you already have the F

  • I can't access the contents of my email. I can see the message, but the email itself won't open.

    I can't access the contents of my email on my i-pad 2. I can see the message, but the email itself won't open.