- 23 Jun, 2020 1 commit
-
-
ldif_open_mem() is the fmemopen(3) equivalent of ldif_open() which opens an ldif steam from memory, rather than from a file.
-
- 22 Jun, 2020 2 commits
-
-
The fallback to a straight Fisher-Yates shuffle needs to occur whenever the sum of the *remaining* weights is zero, or else the remaining records will not be reordered. Testing only once at the beginning covers the case when all weights are zero, and obviously no shuffling is needed when only one weight is zero; but other weight combinations are possible, such as (1, 0, 0).
-
Prior to this change, given two records of weight 1 the algorithm would return them in the order (0,1) with 100% probability instead of the desired 50%. This was due to an off-by-one error in the range test. srv_rand() returns a float in the range [0.0, 1.0[, so r is an integer in the range [0, total[. The correct probability for record 0 to be chosen is a[0].weight/total, not (a[0].weight+1)/total.
-
- 26 May, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 14 May, 2020 1 commit
-
-
Ryan Tandy authored
-
- 28 Apr, 2020 1 commit
-
-
Howard Chu authored
-
- 27 Apr, 2020 5 commits
-
-
-
Ryan Tandy authored
-
Howard Chu authored
-
Howard Chu authored
-
Howard Chu authored
Implemented for OpenSSL, GnuTLS just stubbed
-
- 25 Apr, 2020 1 commit
-
-
Isaac Boukris authored
-
- 23 Apr, 2020 3 commits
-
-
Reported-by: Ryan Tandy @ryan
-
Ryan Tandy authored
-
Isaac Boukris authored
Add LDAP_OPT_X_SASL_CBINDING option to define the binding type to use, defaults to "none". Add "tls-endpoint" binding type implementing "tls-server-end-point" from RCF 5929, which is compatible with Windows. Fix "tls-unique" to include the prefix in the bindings as per RFC 5056.
-
- 20 Apr, 2020 2 commits
-
-
Quanah Gibson-Mount authored
-
Quanah Gibson-Mount authored
-
- 17 Apr, 2020 3 commits
-
-
-
-
Ryan Tandy authored
-
- 16 Apr, 2020 1 commit
-
-
- 15 Apr, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 13 Apr, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 12 Apr, 2020 1 commit
-
-
Howard Chu authored
Always retry ldap_int_tls_connect() if it didn't complete, regardless of blocking or non-blocking socket. Code from ITS#7428 was wrong to only retry for async.
-
- 10 Apr, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 06 Apr, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 02 Apr, 2020 1 commit
-
-
- 26 Mar, 2020 1 commit
-
-
thr_posix.c: In function 'ldap_pvt_thread_set_concurrency': thr_posix.c:96:9: error: implicit declaration of function 'pthread_setconcurrency' return pthread_setconcurrency( n ); ^~~~~~~~~~~~~~~~~~~~~~ pthread_setcanceltype Signed-off-by:
Sergei Trofimovich <slyfox@gentoo.org>
-
- 16 Mar, 2020 1 commit
-
-
Howard Chu authored
-
- 07 Mar, 2020 1 commit
-
-
- 21 Feb, 2020 1 commit
-
-
Quanah Gibson-Mount authored
Fixes potential segfault in ldapsearch
-
- 07 Feb, 2020 3 commits
-
-
Ondřej Kuzník authored
This reverts commit be61a967.
-
Ondřej Kuzník authored
-
Ondřej Kuzník authored
-
- 30 Jan, 2020 1 commit
-
-
Quanah Gibson-Mount authored
-
- 28 Jan, 2020 1 commit
-
-
Ondřej Kuzník authored
-
- 23 Jan, 2020 3 commits
-
-
Ondřej Kuzník authored
-
Howard Chu authored
-
Howard Chu authored
-
- 19 Jan, 2020 1 commit
-
-
Howard Chu authored
Add lutil_tm2gtime for Proleptic Gregorian calendar, revert lutil_tm2time to previous behavior using Unix epoch
-