New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ad 2 #17
Ad 2 #17
Conversation
* Removed log4j file as it's now included through apacheds 2.0.0 * Upgraded net-ldap to latest version in gem spec * made DN check for "dc=" case-insensitive * Updated invalid credentials check as per change in apacheds result code * Updated Server.java to support apacheds version 2.0.0 This commit does not support specification of a custom schema - however, custom schemas can be loaded after the fact as import of ldif into "ou=schema". Before release specification of custom schema should be re-introduced, although it may require that schemas are ldif rather than java.
…number, removed unused imports
* 'master' of https://github.com/silarsis/ladle: docco changes * support for custom schema as a standalone ldif file remove custom schema tests cleanup; added version update info, fixed variable names and version number, removed unused imports version up for net-ldap upgraded net-ldap version requirement version less restrictive up the version * Added apacheds 2.0.0M15 and removed apacheds 1.0.2 files * Removed log4j file as it's now included through apacheds 2.0.0 * Upgraded net-ldap to latest version in gem spec * made DN check for "dc=" case-insensitive * Updated invalid credentials check as per change in apacheds result code * Updated Server.java to support apacheds version 2.0.0
I've also remove the java sources from the gem. They are not necessary. |
This is what the data tarball looks like now:
|
@rsutphin it looks like Apache Directory needs more time to boot in this version. Do you want me to increase the timeout for the tests to see if they pass on travis? |
Yes, please give that a shot.
Unfortunately I don't remember any more detail than what's in the commit message: something about ApacheDS 1.5 didn't work with the then-current version of net-ldap. Since net-ldap did work with my production system, I just switched to 1.0 to have something that I could usefully test with. I'd be surprised if it's the same problem today — IIRC, net-ldap had at least a couple of major revisions since then. |
Thanks for tracking down the logging issue, BTW. |
I've increased the timeout to see what we get. I solved my problem with Net::LDAP by removing the option to ignore server capabilities, we had it on by default for search. |
@rsutphin I'm just fighting with travis, I don't really know how to fix the problem there. So far, I haven't seen any of those errors in my environment. The latest build passes on ruby 2.1 and jruby, which for me is enough. |
This is a rebound of #14 with the log fixed.
The problem was that the method that checks if the log line is an error assumed that every line without a logging header came from an error. That's not true in cases like when a schema is being loaded, which is only info:
Tests pass and there are no weird messages now: