Commit Graph

7522 Commits

Author SHA1 Message Date
Pierangelo Masarati
9cce5e4c98 a skeleton of slapd.conf directives for SLAPI configuration (lot to do) 2002-12-07 18:03:13 +00:00
Pierangelo Masarati
58c18226e0 on my system need headers to define geteuid() and so 2002-12-07 17:32:33 +00:00
Pierangelo Masarati
1b70e16448 SLAPI - Netscape plugin API for slapd - based on patch contributed by Steve Omrani <somrani@us.ibm.com> as ITS#2073 2002-12-07 17:19:29 +00:00
Howard Chu
cf6a9d9d0f For LDAP_PROTO_IPC set the SASL EXTERNAL authid to allow the mech to be
used by the client side. Please review.
2002-12-07 13:06:20 +00:00
Kurt Zeilenga
db98e44d6a Finish proxy authzid control 2002-12-05 18:14:02 +00:00
Luke Howard
6730080081 Allow the root DN to switch to any authorization identity. 2002-12-05 12:25:16 +00:00
Pierangelo Masarati
8e74ed4dfc fix initialization size and silence warning 2002-12-05 11:47:44 +00:00
Kurt Zeilenga
01660fbdd9 Minor cleanup 2002-12-05 03:30:20 +00:00
Kurt Zeilenga
4a0bfbdd64 Add ldapwhoami/ldapcompre to flags map 2002-12-05 00:19:21 +00:00
Howard Chu
b1798f9160 Fix typo in prev commit value_find/_ex 2002-12-04 23:20:22 +00:00
Howard Chu
574090d184 Fix slap_sasl2dn(), performing internal search with wrong op.o_ndn. 2002-12-04 22:37:51 +00:00
Howard Chu
1363d4bf1a Fix prev commit - require passed descriptor to be a pipe (FIFO) and
require it to only be accessible by its owner, otherwise ignore it.
2002-12-04 20:50:19 +00:00
Howard Chu
09679eb715 Added SLAP_MR_VALUE_NORMALIZED_MATCH, avoid redundant normalize when
calling value_find with already-normalized DNs
2002-12-04 18:19:46 +00:00
Howard Chu
5efa571ad2 Fix Solaris SEGV when base is not specified 2002-12-04 16:47:35 +00:00
Howard Chu
d7c0a19aab Added check for sendmsg(). Added hack to use BSD sendmsg()/recvmsg() to
propagate peer creds if no explicit PEERCRED facility exists. Works
on Solaris 8.
2002-12-04 16:03:02 +00:00
Kurt Zeilenga
eb41333e4c Use getpeereid(3) where available else use *_PEERCRED replacment function 2002-12-04 06:17:32 +00:00
Kurt Zeilenga
6865806190 regen 2002-12-04 05:15:59 +00:00
Kurt Zeilenga
c0f8e30d22 cleanup 2002-12-04 05:13:14 +00:00
Kurt Zeilenga
04b93e2628 Add LTHREAD_LIBS to BDB tests 2002-12-04 05:09:58 +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
Luke Howard
daf7d0c0eb Support SO_PEERCRED SASL EXTERNAL authorization. 2002-12-04 04:14:44 +00:00
Luke Howard
a6edb2ae36 Treat all EXTERNAL DNs are already normalized. 2002-12-04 04:13:20 +00:00
Howard Chu
827ea96e16 ITS#1523 enhanced ACL caching 2002-12-04 02:35:00 +00:00
Kurt Zeilenga
618877cd39 remove proxy authorization (as first-cut was committed) 2002-12-03 18:45:42 +00:00
Julius Enarusai
9b5ec8f43b Fixed minor compile errors in LDAP_LOG debug statements. 2002-12-03 17:06:58 +00:00
Kurt Zeilenga
da76c1951e First-cut proxy authorization support. 2002-12-03 06:11:32 +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
Hallvard Furuseth
416aeb9347 Never let ldif_parse_line() return a NULL value with success. 2002-12-02 22:46:07 +00:00
Hallvard Furuseth
3121074ad7 Output from ldif_fetch_url() is expected to be \0-terminated. 2002-12-02 22:08:26 +00:00
Hallvard Furuseth
2dcf00b82f ldif_fetch_url() would return NULL value or pointless memory if file was empty 2002-12-02 21:46:58 +00:00
Kurt Zeilenga
1edcd14a79 Remove extraneous empty check 2002-12-02 18:46:53 +00:00
Hallvard Furuseth
334ff687d6 Esthetic change: Move break; out of if() to before the next case: 2002-12-02 15:46:53 +00:00
Hallvard Furuseth
cccc8702c6 Plug memory leak in ldif_parse_line() if ber_strdup( type ) failed && url. 2002-12-02 11:14:13 +00:00
Kurt Zeilenga
b215a1039b ITS#2218: fix empty values w/ spaces 2002-12-02 04:19:01 +00:00
Pierangelo Masarati
3f32b6fe17 put 'break' only at the end of the 'case' 2002-12-01 19:07:05 +00:00
Hallvard Furuseth
b968317900 A search requesting 'cn;lang-en-' did not find 'cn;lang-en'. 2002-11-30 20:00:01 +00:00
Hallvard Furuseth
44620410d5 ldapsearch -E subentries=... lacked a break; for case 'E': 2002-11-30 19:17:14 +00:00
Pierangelo Masarati
6ce1fc099a fix handling of anomalous databases, like subordinate ones (as suggested by Howard) 2002-11-29 17:43:28 +00:00
Kurt Zeilenga
ca84693b12 Clean up error messages 2002-11-29 02:49:11 +00:00
Howard Chu
0c5d1dc00f Fix ITS#2214, clear gs->matched after freeing it. 2002-11-28 17:20:17 +00:00
Howard Chu
3260b26717 Fix ITS#2200, must use SASL creds exactly as received 2002-11-28 16:16:05 +00:00
Howard Chu
4056a8c8a7 Fix ITS#2200, must send non-NULL cred even if it's zero-length. 2002-11-28 16:15:27 +00:00
Howard Chu
ce581462bd More streamlining. 2002-11-28 15:47:06 +00:00
Howard Chu
5f4db0b47f Don't use be_private to point to our glueinfo. This allows underlying
backends to be called directly, instead of having to wrap every function.
Delete unneeded wrappers.
2002-11-28 15:17:26 +00:00
Pierangelo Masarati
a7c5307279 perhaps the assert can be removed; should work now 2002-11-28 08:25:12 +00:00
Kurt Zeilenga
e918c3b5a7 Add -e authzid argument processing 2002-11-28 05:56:19 +00:00
Kurt Zeilenga
8754c8f2a3 #unifdef paged results, remove lint 2002-11-28 04:38:41 +00:00
Kurt Zeilenga
661541fdfc Fix error handling 2002-11-28 04:36:22 +00:00
Kurt Zeilenga
053da4db7b Use ldap_whoami_s(3) 2002-11-28 03:14:54 +00:00
Kurt Zeilenga
5fe7d38e1c Add whoami.c and passwd.c and other minor tweaks to control cleanups 2002-11-28 02:44:38 +00:00