On Mon, Jan 23, 2017 at 11:43:59PM +0000, quanah(a)openldap.org wrote:
> Full_Name: Quanah Gibson-Mount
> Version: 2.4.44
> OS: N/A
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (47.208.148.26)
>
>
> Right now, it is impossible to configure the ldap* command line tools so that
> they function in major circumstances w/o also having a configuration file (I.e.,
> ldap.conf, .ldaprc, etc). For example, the ability to use startTLS with LDAP
> requires such a file so that the CA file and/or cert path for the tool can be
> defined.
>
> The "-o" option should be expanded to cover additional configuration parameters
> from the conf file, as has already been done with the network timeout parameter.
I have updated the documentation to extract the new options into
ldap.conf(5) and reference it from each tool instead. The commits at
https://github.com/mistotebe/openldap/tree/its8573-tables contain that
change.
--
OndÅ™ej KuznÃk
Senior Software Engineer
Symas Corporation http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP
Full_Name: Ondrej Kuznik
Version: master/re24
OS:
URL: https://github.com/mistotebe/openldap/tree/ITS8864
Submission from: (NULL) (82.10.24.68)
Running a ber_flush that doesn't manage to send everything and then adding data
to the BerElement that ends up with its buffer reallocated will not update
ber_rwptr, causing the following flush to fail. Patch available at the link
above.
On Tue, Sep 12, 2017 at 12:55:20PM +0000, okuznik(a)symas.com wrote:
> The patch series in the linked archive changes the logging macros to be fully
> variadic:
There is a new archive at:
ftp://ftp.openldap.org/incoming/debug_macro_refactor_v2.tgz
This addresses concerns that it should still be possible to build
libldap (only) on compilers that might not support variadic macros. All
patches are generated from the attached .cocci files against current
master (commit 9069cbe543d079e9d7f55162decb8e732fc32338).
I would welcome some review of the patch 01-logging.patch, which
consists of the actual implementation. Rest is just to bring OpenLDAP up
to scratch.
At the end of the series, OpenLDAP seems to compile with CFLAGS
containing -Werror=format-extra-args.
--
OndÅ™ej KuznÃk
Senior Software Engineer
Symas Corporation http://www.symas.com
Packaged, certified, and supported LDAP solutions powered by OpenLDAP
# It's possible (for near-UNIX clones) that sys_errlist doesn't exist
if test $ol_cv_dcl_sys_errlist = no ; then
above lines are from configure script , i don't want my binaries and
libraries do be dependent on the symbols of errlist and nerr .
As per mail trace "Re: How to get rid of sys_errlist and sys_nerr? -
OpenLDAP" , this issue seems to existing from long back. The solution
given is still not working.
On 6/6/18, Howard Chu <hyc(a)symas.com> wrote:
> ramakanth.varala(a)gmail.com wrote:
>> Full_Name: Rama Kanth Varala
>> Version: 2.4.46
>> OS: Cent OS Release 5.7
>> URL: ftp://ftp.openldap.org/incoming/openldap-bug.txt
>> Submission from: (NULL) (72.163.217.107)
>>
>>
>> I am trying to compile my binaries in a machine with has glibc 2.5 .
>> Then i
>> take these
>> ldap libraries to link with the other process which is getting compiled
>> in
>> glibc 2.3.4.
>>
>> I am compiling with option of ol_cv_dcl_sys_errlist=no , so that i can
>> disable
>> offending symbols (sys_nerr and sys_errlist). configure go smooth but
>> compilation fails.
>>
>> Below is the compilation failure trace.
>>
>> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
>> -DLDAP_LIBRARY -c string.c -fPIC -DPIC -o .libs/string.o
>> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
>> -DLDAP_LIBRARY -c string.c -o string.o >/dev/null 2>&1
>> /bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include
>> -I../../include -I/usr/local/db48/include -DLDAP_LIBRARY -c
>> util-int.c
>> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
>> -DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o .libs/util-int.o
>> In file included from /usr/include/stdio.h:754,
>> from /usr/include/resolv.h:64,
>> from ../../include/ac/socket.h:58,
>> from util-int.c:32:
>> /usr/include/bits/sys_errlist.h:27: error: expected identifier or '('
>> before numeric constant
>> /usr/include/bits/sys_errlist.h:28: error: expected identifier or '('
>> before 'char'
>> /usr/include/bits/sys_errlist.h:28: error: expected ')' before numeric
>> constant
>> make[2]: *** [util-int.lo] Error 1
>> make[2]: Leaving directory
>> `/home/admin/bug/openldap-2.4.46/libraries/libldap'
>> make[1]: *** [all-common] Error 1
>> make[1]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries'
>> make: *** [all-common] Error 1
>
> What makes you think this is an OpenLDAP issue? The error message clearly
> says
> sys_errlist.h was included from stdio.h - we have no control over that.
>>
>> Uploading the comple configure log and compilation traces.
>>
>>
>
>
> --
> -- Howard Chu
> CTO, Symas Corp. http://www.symas.com
> Director, Highland Sun http://highlandsun.com/hyc/
> Chief Architect, OpenLDAP http://www.openldap.org/project/
>
ramakanth.varala(a)gmail.com wrote:
> Full_Name: Rama Kanth Varala
> Version: 2.4.46
> OS: Cent OS Release 5.7
> URL: ftp://ftp.openldap.org/incoming/openldap-bug.txt
> Submission from: (NULL) (72.163.217.107)
>
>
> I am trying to compile my binaries in a machine with has glibc 2.5 . Then i
> take these
> ldap libraries to link with the other process which is getting compiled in
> glibc 2.3.4.
>
> I am compiling with option of ol_cv_dcl_sys_errlist=no , so that i can disable
> offending symbols (sys_nerr and sys_errlist). configure go smooth but
> compilation fails.
>
> Below is the compilation failure trace.
>
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c string.c -fPIC -DPIC -o .libs/string.o
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c string.c -o string.o >/dev/null 2>&1
> /bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include
> -I../../include -I/usr/local/db48/include -DLDAP_LIBRARY -c
> util-int.c
> cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
> -DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o .libs/util-int.o
> In file included from /usr/include/stdio.h:754,
> from /usr/include/resolv.h:64,
> from ../../include/ac/socket.h:58,
> from util-int.c:32:
> /usr/include/bits/sys_errlist.h:27: error: expected identifier or '('
> before numeric constant
> /usr/include/bits/sys_errlist.h:28: error: expected identifier or '('
> before 'char'
> /usr/include/bits/sys_errlist.h:28: error: expected ')' before numeric constant
> make[2]: *** [util-int.lo] Error 1
> make[2]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries/libldap'
> make[1]: *** [all-common] Error 1
> make[1]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries'
> make: *** [all-common] Error 1
What makes you think this is an OpenLDAP issue? The error message clearly says
sys_errlist.h was included from stdio.h - we have no control over that.
>
> Uploading the comple configure log and compilation traces.
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Rama Kanth Varala
Version: 2.4.46
OS: Cent OS Release 5.7
URL: ftp://ftp.openldap.org/incoming/openldap-bug.txt
Submission from: (NULL) (72.163.217.107)
I am trying to compile my binaries in a machine with has glibc 2.5 . Then i
take these
ldap libraries to link with the other process which is getting compiled in
glibc 2.3.4.
I am compiling with option of ol_cv_dcl_sys_errlist=no , so that i can disable
offending symbols (sys_nerr and sys_errlist). configure go smooth but
compilation fails.
Below is the compilation failure trace.
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c string.c -fPIC -DPIC -o .libs/string.o
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c string.c -o string.o >/dev/null 2>&1
/bin/sh ../../libtool --mode=compile cc -g -O2 -I../../include
-I../../include -I/usr/local/db48/include -DLDAP_LIBRARY -c
util-int.c
cc -g -O2 -I../../include -I../../include -I/usr/local/db48/include
-DLDAP_LIBRARY -c util-int.c -fPIC -DPIC -o .libs/util-int.o
In file included from /usr/include/stdio.h:754,
from /usr/include/resolv.h:64,
from ../../include/ac/socket.h:58,
from util-int.c:32:
/usr/include/bits/sys_errlist.h:27: error: expected identifier or '('
before numeric constant
/usr/include/bits/sys_errlist.h:28: error: expected identifier or '('
before 'char'
/usr/include/bits/sys_errlist.h:28: error: expected ')' before numeric constant
make[2]: *** [util-int.lo] Error 1
make[2]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries/libldap'
make[1]: *** [all-common] Error 1
make[1]: Leaving directory `/home/admin/bug/openldap-2.4.46/libraries'
make: *** [all-common] Error 1
Uploading the comple configure log and compilation traces.
dpa-bugs(a)aegee.org wrote:
> Full_Name: Dilyan Palauzov
> Version: latest
> OS: any
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (85.234.198.115)
>
>
> http://www.openldap.org/software/man.cgi?query=slapd-mdb says:
The manual is correct. Closing this ITS.
>
> index {_attrlist_|default} [pres,eq,approx,sub,_special_]
> ...
> If only an _attr_ is given, the indices specified for default are
> maintained.
>
> It means probably not _attr_ but _attrlist_.
>
> maxsize _bytes_:
> ...
> It is important to set this to as large a value as possible
>
> I am not a native speaker, but I think there shall be no "a" before "value".
>
>
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/
Full_Name: Dilyan Palauzov
Version: latest
OS: any
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (85.234.198.115)
http://www.openldap.org/software/man.cgi?query=slapd-mdb says:
index {_attrlist_|default} [pres,eq,approx,sub,_special_]
...
If only an _attr_ is given, the indices specified for default are
maintained.
It means probably not _attr_ but _attrlist_.
maxsize _bytes_:
...
It is important to set this to as large a value as possible
I am not a native speaker, but I think there shall be no "a" before "value".
Full_Name: Quanah Gibson-Mount
Version: HEAD
OS: N/A
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (47.208.148.239)
The slapd-asyncmeta(5) and slapd-meta(5) man pages are missing the fact that
they support the "ldaps" option to the "tls" keyword. This section should be
updated along the lines of back-ldap which also has this option as a keyword.
Hello,
The ITS is for reporting bugs in the software. For user support please
contact the openldap-technical(a)openldap.org mailing list.
This ITS will be closed.
On Sun, May 27, 2018 at 02:33:05PM +0000, bahaa.mosaad(a)barqsystems.com wrote:
>Full_Name: bahaa mosaad ali
>Version: 2.4.39-3.el7
>OS: redhat 7
>URL: https://drive.google.com/drive/my-drive
>Submission from: (NULL) (41.69.233.85)
>
>
>i have radius server and get openldap to connect with this (server) according to
>bind ruels success binding to ldap but when i search for some users without
>password i get all info about those users but if i search by command like this
>ldapsearch -x -W -D (user) dc= & password the error is always invalid
>credentials even if change the password more than one time
>
>according to this error when trying to authenticate users from radius it would
>be fail
>
>
>
>