Kurt Zeilenga
da6d9eb046
happy new year
2007-01-02 20:00:42 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
9c056f95fe
consistently use HSTRERROR (ITS#4124)
2005-10-31 15:04:37 +00:00
Hallvard Furuseth
fbce398466
Also declare copy_hostent() if LDAP_R_COMPILE && HAVE_GETHOSTBYADDR_R.
...
Only declare safe_realloc() if LDAP_R_COMPILE.
Indentation cleanup.
2005-07-26 04:21:19 +00:00
Hallvard Furuseth
3d8aceab81
Fix typos GETNAMEINFO->HAVE_GETNAMEINFO, HAVE_HERROR->HAVE_HSTRERROR
2005-07-14 19:17:05 +00:00
Howard Chu
6754d025f2
ITS#3847 silence warnings
2005-07-11 10:39:32 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Howard Chu
cc4d5c10df
ITS#3123 make sure ldap_int_sasl_mutex is init'd before it is used
2004-05-21 10:53:30 +00:00
Kurt Zeilenga
ba749eb798
Updated string error handling
2004-04-25 01:09:40 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Kurt Zeilenga
a379dd4faf
Misc cleanup
2003-11-30 01:07:47 +00:00
Hallvard Furuseth
51f1b8ccd7
Avoid /* inside comments.
2003-11-29 17:29:44 +00:00
Kurt Zeilenga
159de0f135
Updated notices and acknowledgements
2003-11-26 07:16:36 +00:00
Hallvard Furuseth
aed036f0c3
Cast away const from AC_GAI_STRERROR() return value.
2003-05-25 20:50:26 +00:00
Kurt Zeilenga
ca52123a60
Fix builds when getaddrinfo is not detected but getnameinfo is.
...
This does not happen normally.
2003-04-21 18:28:08 +00:00
Kurt Zeilenga
e41ca42de1
mark a few translatable strings
2003-04-06 06:19:13 +00:00
Kurt Zeilenga
c34c42dec3
just in case <netdb.h> does something like
...
#define h_errno (* __h_errno())
2003-03-14 04:56:08 +00:00
Howard Chu
97c2c9c955
ITS#2373 add declaration of h_errno
2003-03-14 04:25:39 +00:00
Howard Chu
8fc4f55d3a
Silence warnings in prev commit
2003-03-05 01:53:03 +00:00
Howard Chu
7e7db2578d
Added ldap_pvt_get_hname. Use instead of ldap_pvt_gethostbyaddr_a when
...
all you want is the hostname. Supports IPv6 addresses.
2003-03-05 01:35:39 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Kurt Zeilenga
3dea614e99
cleanup
2002-12-31 05:55:06 +00:00
Kurt Zeilenga
c0f8e30d22
cleanup
2002-12-04 05:13:14 +00:00
Kurt Zeilenga
73b4170a6c
Rework libldap to not attempt to set LDAP_API_FEATURE_X_OPENLDAP_THREAD_SAFE
2002-12-04 04:51:55 +00:00
Kurt Zeilenga
9ba95dd027
ITS#2221: getaddrinfo(3) not thread-safe on some platforms (namely
...
due to res_() routines). Change all res_() dependent routines to
share same mutex.
2002-12-03 01:15:03 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Pierangelo Masarati
1f49164725
fix missing trailing ')'
2002-01-02 17:38:46 +00:00
Kurt Zeilenga
763c0de59b
Rework filter code
...
Misc cleanup / lint removal
2002-01-02 17:06:56 +00:00
Howard Chu
b917625a85
Revert previous commit.
2001-12-18 00:20:58 +00:00
Howard Chu
6456e5f559
from jon@symas.com - misc cleanup
2001-12-18 00:16:15 +00:00
Kurt Zeilenga
9f0d190739
Add ldap_pvt_gai_strerror().
...
Calls to gai_strerror() should be replaced with calls AC_GAI_STRERROR().
2000-10-18 17:25:30 +00:00
Ben Collins
aaf59e2a2b
don't define NEED_COPY_HOSTENT in the decleration
2000-09-15 03:33:05 +00:00
Ben Collins
621babf51d
fix compiler warnings by including ac/unistd.h and only declaring copy_hostent() when we actually need to use it
2000-09-15 03:06:18 +00:00
Kurt Zeilenga
3b03b64b77
Add char* ldap_pvt_get_fqdn(char*) which returns the FQDN of the
...
input. In input==NULL, returns FQDN of local host.
Fixed copy_hostent() uninitialized pointer bug.
Replaced gethostname calls with ldap_pvt_get_fqdn( NULL ) calls.
2000-08-15 01:55:43 +00:00
Kurt Zeilenga
5b856458a2
s/SAFEMEMCPY/AC_MEMCPY/
...
Use AC_FMEMCPY where appropriate (-llber)
2000-07-28 01:07:07 +00:00
Kurt Zeilenga
7573a81efe
getbyname/getbyaddr should share mutex per ITS#563.
...
Patch provided by Steve @ Novell, thanks!
2000-06-06 00:23:50 +00:00
Kurt Zeilenga
1af849c720
DNSSRV use res_query, not res_search
...
Update configure and depend --enable-dnssrv upon finding res_query
Update back-dnssrv to better handle ManageDSAit control
2000-06-05 23:56:26 +00:00
Kurt Zeilenga
29d9fa20a2
Y2k copyright update
2000-05-13 02:36:07 +00:00
Kurt Zeilenga
1973c664cc
Fix NULL pointer deref bugs
2000-04-25 10:43:15 +00:00
Luke Howard
a466a64318
Added support for connecting to LDAP servers located using DNS
...
SRV records. Added lock around resolver library which is shared
by the DNS SRV code and the getdxbyname() code.
2000-01-03 02:33:22 +00:00
Kurt Zeilenga
403f4479bc
Add OpenLDAP RCSid to *.[ch] in clients, libraries, and servers.
...
Replace old Id as needed (back-tcl).
Leave updating of contribWare to contributors (for now).
1999-09-08 19:06:24 +00:00
Kurt Zeilenga
21c70857f1
s/<stdlib.h>/<ac/stdlib.h>/
1999-06-03 00:37:44 +00:00
Kurt Zeilenga
d8032bcbaa
Use #error if ctime_r nargs are screwy.
1999-05-31 05:34:13 +00:00
Kurt Zeilenga
1bcec8bf6a
Add LBER_ and LDAP_ memory allocators/deallocators for internal
...
library use:
LBER_ macros expand to system routines.
LDAP_ macros expand to new ber_ allocators.
Add ber_ and ldap_ memory allocators/deallocator:
ber_ routines are wrappers of LBER_ macros.
ldap_ routines are wrappers of ber_ routines.
Removed safe_realloc() macro from various files. This issue
(if an issue) should be resolved across whole package.
ldapmodify.c now uses ber_ allocators to resolve ber_bvfree()
vs. WIN32 multiple heaps issue.
These changes should facilate implementation of
ber_set_option( NULL, LBER_OPT_MEMORY_FN, ...)
and
ldap_set_option( NULL, LDAP_OPT_MEMORY_FN, ...).
1999-05-29 01:19:14 +00:00
Kurt Zeilenga
8c793fa1c9
rename ldap_pvt_init_utils() to ldap_int_utils_init() and provide
...
prototype in ldap-int.h.
1999-05-27 22:25:55 +00:00
Hallvard Furuseth
fb1227a547
Remove superfluous \ at end of lines outside macros; DEC cc doesn't like them.
1999-04-30 06:39:19 +00:00
Hallvard Furuseth
9bef1a2bc1
Obey CTIME_R_RETURNS_INT
1999-03-06 04:23:17 +00:00
Hallvard Furuseth
5b83a959d2
Don't choke if gethostby{name,addr}_r's number of arguments differ
...
from what the current code can handle.
1999-03-03 21:34:49 +00:00
Bart Hartgers
e26de67770
Patch to support to determine the number of args of the
...
gethostby{name,addr}_r functions.
Contributed by Juan Carlos Gomes IT#68 (apparently).
Also includes support for detecting ssleay in configure.in.
1999-02-25 13:07:27 +00:00
Kurt Zeilenga
9cc9a84527
Remaining LDAP_COMPILING_R should be LDAP_R_COMPILE.
1999-02-20 18:33:24 +00:00