Commit Graph

320 Commits

Author SHA1 Message Date
Kurt Zeilenga
d5edb4bff6 Reengineered ldappasswd(1). Uses extended operation to set
user password.  Likely to be modified to use bind control
instead.  Use of modify deprecated in favor mechanisms that
support passwords stored externally to the directory (such
as in a SASL service).
Modified slapd extended operation infrastructure to support
backend provided extended operations.
1999-12-08 04:37:59 +00:00
Gary Williams
e5583656ec add -r switch to man page 1999-12-06 19:02:39 +00:00
Kurt Zeilenga
f6829ee903 Initial commit of new ACL engine. Engine supports descrete access
privs, additive/substractive rules, and rule continuation.  Existing
rules that use 'defaultaccess none' should be 100% compatible.  Rules
that rely other defaultaccess settings will require addition of
explicit clauses granting the access.
Needs additional testing and tuning of logs
1999-10-21 17:53:56 +00:00
Kurt Zeilenga
7e53b5bdeb Change 'attribute' directive to 'attributetype'
(and allowing 'attribute' for backwards compatibility).
manuals and *.schema to be updated as time permits.
1999-10-13 20:28:00 +00:00
Kurt Zeilenga
0b7da01c9e Keep arguments in alpha order 1999-09-25 16:14:32 +00:00
Kurt Zeilenga
35655c056f Reimplement LDBM_SYNC/LDBM_NOSYNC code (dbnosync).
Old code applied sync flags to store(), however supported DBMs
require such flags to be specified during open().  The new
code now applies flags in ldbm_cache_open (which calls ldbm_open).
ldbm_cache_close() now calls ldbm_sync().  This will force
a updating of on-disk contents after each LDAP operation.
The old code either failed to sync the on-disk contents until
close or synced on every store.   Per LDBM operation syncing
*should* be safe enough... real data safety requires transactions.
Removed nosync option from BDB2 as it is not compatible with
txn support.
Also added code to disable DBM level locking as slapd is only
process acessing the databases (dbnolocking).
1999-09-23 19:49:20 +00:00
Kurt Zeilenga
1df4851a15 add deprecated comment to ldapd.8. 1999-09-19 18:12:18 +00:00
Kurt Zeilenga
ed43d13bff Remove MODRDN bug from Bugs
Insert reference to ITS webpage
1999-09-19 17:57:16 +00:00
Kurt Zeilenga
305ed36159 Add RCSid and Copyright 1999-09-12 04:41:47 +00:00
Kurt Zeilenga
521f761b2a s/patch/path/ 1999-09-06 18:25:48 +00:00
Hallvard Furuseth
203f5b058f Change -d option to not detach even with -d 0 or compiled with --disable-debug. 1999-09-04 20:24:40 +00:00
Howard Chu
ccab3faa58 Update for attribute, objectclass, and objectidentifier descriptions. 1999-08-20 00:32:36 +00:00
Kurt Zeilenga
7575bd92cd s/U-Mich/OpenLDAP/ in examples 1999-08-19 17:02:36 +00:00
Kurt Zeilenga
f422f01109 s/U-Mich/OpenLDAP/ in examples 1999-08-18 02:01:24 +00:00
Kurt Zeilenga
9f6185ab12 Document -s and -c modes. 1999-08-18 01:49:42 +00:00
Kurt Zeilenga
1b2aeeee21 s/ldif2ldbm/slapadd/ and similiar changes
ldif updates (add URL description).
1999-08-17 20:25:16 +00:00
Kurt Zeilenga
ec898a143e s/ldif2dlbm/slapadd/ 1999-08-17 20:07:33 +00:00
Kurt Zeilenga
01235987ee Add man pages for slapadd and slapcat (slapindex coming soon).
Remove man pages for old ldbm tools.
1999-08-17 20:04:35 +00:00
Kurt Zeilenga
9e93d5eba6 lastmod is on by default. 1999-08-05 23:52:14 +00:00
Kurt Zeilenga
98761f1edb Update "*", "+", "1.1" attribute type usage. 1999-07-25 20:52:42 +00:00
Kurt Zeilenga
43c0acaf98 Document "*", "+", and "1.1" use in attrlist. 1999-07-25 20:40:21 +00:00
Kurt Zeilenga
cf9a36da3f ITS#180: add note about server-side maximal size/time limits. 1999-07-21 18:12:15 +00:00
Kurt Zeilenga
29b0ed18df Fix misplaced paragraph tag 1999-07-21 17:31:37 +00:00
Kurt Zeilenga
23565fca08 Update slapd(8) with new -h option. 1999-07-19 21:45:11 +00:00
Julio Sánchez Fernández
661102431a Document -T and -P 1999-07-16 20:03:53 +00:00
Julio Sánchez Fernández
fbd4c530ba Document a few TLS options that do something. 1999-07-16 19:56:32 +00:00
Kurt Zeilenga
73276e84ae Import experimental referral implementation from OPENLDAP_DEVEL_REFERRALS.
Includes support for update referral for each replicated backend.
	Reworked replication test to use update referral.
Includes major rewrite of response encoding codes (result.c).
Includes reworked alias support and eliminates old suffix alias codes
(can be emulated using named alias).
Includes (untested) support for the Manage DSA IT control.
Works in LDAPv2 world.  Still testing in LDAPv3 world.
Added default referral (test009) test.
1999-07-16 02:45:46 +00:00
Kurt Zeilenga
7e4b3bc2e7 initial commit of idletimeout code... everything but the actual timeout. 1999-06-18 22:54:19 +00:00
Kurt Zeilenga
d738025d44 Add sizelimit/timelimit comments concerning ldap.conf (ITS#180). 1999-06-03 05:11:22 +00:00
Hallvard Furuseth
20f90f3031 ITS#118: Remove "delete" and add [self] in access levels for "defaultaccess" 1999-05-03 22:55:27 +00:00
Hallvard Furuseth
6e8a293acb Fix typo "-c" to "-H" 1999-05-03 22:34:02 +00:00
Kurt Zeilenga
01b967244d Make 'schemacheck on' the default. 1999-04-29 18:10:40 +00:00
Kurt Zeilenga
7ba980f0f6 Modify slapd set user/group support to use -u/-g instead -U/-G.
Moved -u (udp) to -c (connectionless).  Connectionless is depreciated
and undocumented.
Added tests for set{,e}{u,g}id to configure.  Use existance of
setuid/setgid to enable feature.  Use seteuid/setegid only if
they exist.
Fixed minor minor leak of username/groupname if specificied
more than once.  (This should actually be an error)
1999-04-21 00:40:20 +00:00
Kurt Zeilenga
d1cbc97c80 Add '-n' and '-s' to ldif2ldbm manpage (ITS$59). 1999-04-13 21:35:21 +00:00
Hallvard Furuseth
9ebd9a0289 Add -U and -G options to set user and group id.
Move socket setup to set_socket(), called before the uid/gid change.
1999-04-03 03:19:07 +00:00
Kurt Zeilenga
3550bc48c0 Add slapd -a address support. Allows you to bind to a specific
address.  Useful for running multiple servers in a virtual hosting
environment.
Modified test001-ldif2ldbm to verify this functionality.  Assumes
localhost is 127.0.0.1.
1999-03-17 03:56:25 +00:00
Hallvard Furuseth
79f7c85067 Add locale support (slapd.conf keyword "locale") to slapd if HAVE_LOCALE_H 1999-02-22 21:01:24 +00:00
Kurt Zeilenga
ae0df6f8f8 Update misleading statement about ldap_init(). It use is actually
preferred.  ldap_open is to be depreciated.
1999-01-28 01:23:04 +00:00
Kurt Spanier
68a8798594 Definition of slapd pid and args files as slapd.conf general parameters;
introduction of pid/agrs parameters to the test-suite slapd.conf files;
creation of sub-directory test/var for storage of pid/args files during test;
update of the slapd and slapd.conf man pages.
(The change reduces dependency on ldapconfig.h, since SLAPD_PIDEXT
 and SLAPD_ARGSEXT are deleted from the code.)
1999-01-21 15:53:54 +00:00
Kurt Zeilenga
eed7408e7e Update ldap_first_attribute/ldap_next_attribute to handle
BerElement argument per latest IETF ldapext draft c api spec.
That is, caller is solely responsible for freeing the BerElement
allocated and returned by ldap_first_attribute.
Update man pages accordingly.
Update applications accordingly.
1999-01-20 20:21:38 +00:00
Kurt Zeilenga
d14454aa0e Document fact that rootpw need not be cleartext. 1999-01-15 20:33:56 +00:00
Kurt Zeilenga
d66a450344 Update init and ldap.conf(5) to handle LDAPNOINIT, LDAPCONF, LDAPRC
environment settings.
1999-01-14 23:04:08 +00:00
Kurt Spanier
3e818315f2 Tiny fix to the description of the -l option. 1999-01-08 10:09:07 +00:00
Kurt Spanier
77c35c2bcc Description of the '-l syslog-local-user' option in the slapd manpage;
also description of .pid and .args files.
1999-01-08 09:59:09 +00:00
Kurt Zeilenga
668d6ecf11 Fix typo in dbcachenowsync description. 1998-12-30 20:15:14 +00:00
Kurt Zeilenga
654d3c0814 Fix minor formatting problem (missing .TP) with dbcachenowsync description. 1998-12-30 19:58:31 +00:00
Dave Storey
61b430be33 Add support for -P protocol_version. 1998-12-27 14:08:46 +00:00
Kurt Zeilenga
3a119bf1f7 Update man pages based upon required use of ldap_memfree() instead of free()
replace 'malloced' with 'dynamically allocated'
	State ldap_memfree(3) should be used instead of free()
	Still need ldap_memfree(3) man page.
1998-12-22 19:08:27 +00:00
Kurt Zeilenga
a3ac3be6a7 Added lber_get/set_option. Removed lber_debug/ldap_debug.
Updated other codes as needed.
1998-12-22 01:34:01 +00:00
Kurt Zeilenga
2d15a94d16 LDAP C-API changes
struct friendly (Friendly) changed to ldap_friendly (LDAPFriendly)
	  ldap_friendly friend prefix changed to 'lf_' from 'f_'
	removed mod_next field from LDAPMod (struct ldapmod)
	modified slapd to use new LDAPModList (struct ldapmodlist) struct.
Added LDAPv3 result codes to ldap.h
1998-12-21 00:21:58 +00:00
Dave Storey
5da5771bd9 Password prompting updates. <dave@tamos.net> 1998-12-12 05:56:46 +00:00
Dave Storey
40deee980f Addition of password prompting, salted password and auto-generation. 1998-12-12 05:55:26 +00:00
Kurt Zeilenga
7770b6f282 Apply patch from Dave with password prompting. 1998-12-06 20:12:02 +00:00
Kurt Zeilenga
9db922aa64 Man page updates from David E. Storey <dave@tamos.net> 1998-12-06 04:09:55 +00:00
Kurt Zeilenga
f0a32aed71 Add ldappasswd program contributed by David E. Storey <dave@tamos.net> 1998-12-06 03:44:28 +00:00
Kurt Zeilenga
ba84e23867 Add ldap.conf man page. 1998-11-29 20:58:40 +00:00
Kurt Zeilenga
edd464ee8f Update build environment:
default sysconfdir subdirectory is openldap instead of ldap.
    This removes conflicts with other ldap subsystems.  Should
    be configure option.
  *.conf files are now preserved.  A *.conf.default are always
    created with the latest conf.
  *.help and ldapfriendly are now placed in $(datadir)/$(ldap_subdir)
  updated man pages to reflect changes.
1998-11-29 19:48:28 +00:00
Kurt Zeilenga
1fc810bfe5 Added support for ldap.conf file. See ldap.conf(5) for details.
Modified clients to reduce use of ldapconfig.h.edit.
ldap_{get,set}_option support is relatively complete.  Needs
to be extended to support other "features" of OpenLDAP.
1998-11-10 23:37:30 +00:00
Kurt Zeilenga
3f1b97481c Make flush_writes the default. Change option to 'dbcachenowsync'.
Change backend struct option to li_dbcachewsync.
1998-11-07 02:25:32 +00:00
Hallvard Furuseth
07354ef9c2 Added ldap_explode_rdn() 1998-11-05 00:40:04 +00:00
Hallvard Furuseth
f81ee9b63e Added ldap_msgtype() and ldap_msgid() 1998-11-04 23:51:31 +00:00
Hallvard Furuseth
41e25b4041 Added ldap_explode_rdn() 1998-11-04 23:28:51 +00:00
Kurt Zeilenga
34c945b86d added ber_print_error() and renamed lber_bprint into ber_ namespace. 1998-10-27 07:50:07 +00:00
Kurt Zeilenga
2a869f5a99 merged with autoconf branch 1998-10-25 01:41:42 +00:00
Kurt Zeilenga
adc2134f03 Modified build environment to correctly support bin,sbin,libexec,etc
and setting of variables from Make-platform with defaults in Make-common.
1998-08-19 18:19:39 +00:00
Kurt Zeilenga
079f21c3ac Added LIBEXECDIR, SBINDIR and patched install rules and files as needed. 1998-08-19 02:38:35 +00:00
Kurt Zeilenga
df38bf83e8 apply FreeBSD changes to main branch 1998-08-09 01:35:58 +00:00
Kurt Zeilenga
04ff180cbf Modified make system to support CVS instead of RCS 1998-08-09 01:24:49 +00:00
Kurt Zeilenga
8b2170bcf4 Import of FreeBSD LDAP 3.3 Port 1998-08-09 01:05:15 +00:00
Kurt Zeilenga
42e0d83cb3 Initial revision 1998-08-09 00:43:13 +00:00