<quote who="Sam Varshavchik">
> No problem.
>
> Here are the fixes diff-ed against CVS HEAD:
>
> http://www.tldp.org/manpages/openldap-2.4.6-manpatch.txt
>
> This is also attached to this message.
Thanks, I'll get to this soon.
Gavin.
Dan.Oscarsson(a)tietoenator.com wrote:
> Full_Name: Dan Oscarsson
> Version: 2.3.32
> OS: SLES 10
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (193.15.240.60)
> From this I suspect that it is the cache of which parent node belongs to
> that gets corrupted. Or can it be something else?
> What more could I do to trace down the bug?
> I do not know if the above information is enough for you to find what is
> wrong? Cannot include data as it contains company internal information and
> a simple test program did not give the same error.
> I have looked at the code, but it takes some time to understand it when
> doing it for the first time. maybe som debugging code could be added
> find the place where the bug is.
This isn't a lot of information to go on. If you can create a test program
that shows the problem occurring, using dummy data, that would help.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Howard Chu
Version: 2.4
OS:
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (76.168.84.21)
Submitted by: hyc
Performing a search as rootDN with both an explicit sizelimit and pagedresults
causes the sizelimit to be ignored. Using the sizelimit and no pagedresults
correctly honors the specified limit.
This may also affect RE23, I haven't looked.
aej(a)wpi.edu wrote:
> Full_Name: Allan E. Johannesen
> Version: 2.4.6
> OS: Linux EL 4
> URL: http://users.wpi.edu/~aej/schema_init.diff
> Submission from: (NULL) (130.215.24.208)
>
>
> Old CSN stamps are not accepted by 2.4.6. I guess they must be _very_ old,
> since there is a "2/3" CSN conversion in the release.
>
> The stamps are of the form: YYYYMMDDHH:MM:SSZ
That's the format from when CSNs were introduced in OpenLDAP 2.1.
> Perhaps I'm the only person in the OpenLDAP universe who might see this problem,
> but I adapted the 2/3 conversion for these old fields.
It seems a bit odd to be introducing support for that format now in 2.4, when
it was completely unsupported in 2.2 and 2.3. I.e., why wasn't this issue
raised during the migration to/thru either 2.2 or 2.3?
I'm inclined to reject this patch; you can fix it in LDIF using sed or perl
and never have to think about it again.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
aej(a)wpi.edu wrote:
> Full_Name: Allan E. Johannesen
> Version: 2.4.6
> OS: RHEL4 i686
> URL: http://users.wpi.edu/~aej
> Submission from: (NULL) (130.215.24.208)
>
>
> Dependent on load flags (I normally have been using -w -q), I get various
> results. Assertion failure, segfault, or success.
> I've placed DB_CONFIG, users.ldapv2.2007.11.08.ldif, and slapd.utility5.conf in
> http://users.wpi.edu/~aej/
Thanks, now fixed in HEAD.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
mills(a)cc.umanitoba.ca wrote:
> Full_Name: Gary Mills
> Version: openldap-2.3.38
> OS: Solaris 9
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (24.78.105.29)
>
>
> The usual procedure is to run `configure' and `make' in the install tree as an
> ordinary user, and then to run `make install' there as root. This install
> procedure
> writes to the install tree as root. In some cases, it actually relinks a
> shared
> library as root. We build on one server and install on another, where the
> install
> tree is mounted read-only. These errors prevent installation in this case.
> Really, it shouldn't be doing relinking at that point, when running as root.
> Perhaps it could do it earlier, during the compile step. I had to do a `make
> install' as root in libraries/liblber on build server and then modify the
> Makefiles
> in libraries/libldap and libraries/libldap_r to link with the installed
> library,
> in order to avoid the relink on the install server. This worked, but is not a
> good solution.
Agreed, it should not be relinking, ever, but that's libtool. I've submitted
patches to libtool to correct this a number of times over the past several
years but the problem remains, and it's our policy to avoid using customized
OpenLDAP-specific versions of the GNU tools so we no longer provide patched
versions of libtool in our CVS.
In the meantime, there's no reason for this to be affecting your source tree.
You can always build using an object tree separate from the source tree. And
you can always use "make install DESTDIR=/tmp/foo" on the build system to
create an alternate hierarchy that can then be copied to any other machine.
Since there is no fundamental bug in OpenLDAP here, this ITS will be closed.
--
-- Howard Chu
Chief Architect, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Gary Mills
Version: openldap-2.3.38
OS: Solaris 9
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (24.78.105.29)
The usual procedure is to run `configure' and `make' in the install tree as an
ordinary user, and then to run `make install' there as root. This install
procedure
writes to the install tree as root. In some cases, it actually relinks a
shared
library as root. We build on one server and install on another, where the
install
tree is mounted read-only. These errors prevent installation in this case.
Here are some of the errors:
cd overlays; make dynamic
sh: slapd.conf.tmp: cannot create
*** Error code 1
make: Fatal error: Command failed for target `all-cffiles'
cd overlays; make dynamic
touch: cannot change times on all-cffiles
*** Error code 1
make: Fatal error: Command failed for target `all-cffiles'
sh: ldapcompare.1.tmp: cannot create
*** Error code 1
make: Fatal error: Command failed for target `all-common'
The first few were fixed in servers/slapd/Makefile.in by putting all-cffiles
and
slapd.conf.tmp in /tmp instead of in the source tree. The man page error was
fixed
build/man.mk by putting the temporary man pages like $$page.$(TMP_SUFFIX) into
/tmp.
The relinking error looked like this:
Entering subdirectory libldap
../../build/shtool mkdir -p /usr/local/lib
/bin/sh ../..//libtool --mode=install ../../build/shtool install -c -m 644
libldap.la /usr/local/lib
libtool: install: warning: relinking `libldap.la'
...
mv: cannot rename libldap-2.3.so.0.2.26 to libldap-2.3.so.0.2.26U: Read-only
file system
libtool: install: error: relink `libldap.la' with the above command before
installing it
*** Error code 1
make: Fatal error: Command failed for target `install-local'
Really, it shouldn't be doing relinking at that point, when running as root.
Perhaps it could do it earlier, during the compile step. I had to do a `make
install' as root in libraries/liblber on build server and then modify the
Makefiles
in libraries/libldap and libraries/libldap_r to link with the installed
library,
in order to avoid the relink on the install server. This worked, but is not a
good solution.
dhawes(a)vt.edu wrote:
> On Friday 27 July 2007 05:20, ghenry(a)openldap.org wrote:
>> Hi David,
>>
>> http://www.openldap.org/devel/cvsweb.cgi/contrib/slapd-modules/addpartial/
>>
>> Will be pushed out in the next 2.4 beta.
>>
>> Please bear in mind that you will be looking after this overlay, so test
>> as often as you can and re-submit and changes during our release cycle.
>>
>> Thank you for your contribution.
>
> Changes to work properly with 2.4.6 are at:
>
> ftp://ftp.openldap.org/incoming/david_hawes-addpartial-071109.tgz
>
> Thanks,
>
> dave
>
>
Will take a look over the next week.
Thanks.
--
Kind Regards,
Gavin Henry.
OpenLDAP Engineering Team.
E ghenry(a)OpenLDAP.org
Community developed LDAP software.
http://www.openldap.org/project/