Commit Graph

117 Commits

Author SHA1 Message Date
Kurt Zeilenga
9449c5709e ITS#4021: add new {CLEARTEXT} kludge as bv_len=0 kludge no
longer works well.
2005-09-29 20:30:09 +00:00
Kurt Zeilenga
741029dc87 cannot ignore old password when setting sasl password 2005-09-29 08:05:38 +00:00
Kurt Zeilenga
68ae7408dc ITS#4049: oldPassword cannot be ignored, error for now
Add tests to confirm proper behavior
2005-09-29 08:00:33 +00:00
Kurt Zeilenga
e1029524b6 Refuse empty old and/or new passwords 2005-09-29 07:49:15 +00:00
Pierangelo Masarati
e066ec210e merge sml_managing into sml_flags (SLAP_MOD_MANAGING) 2005-08-18 08:48:10 +00:00
Pierangelo Masarati
9487629061 zero out sml_managing any time a Modifications is built (use calloc?) 2005-08-18 08:12:26 +00:00
Hallvard Furuseth
9873eb7ab0 Add missing Statslog() statements (loglevel stats/stats2):
"ABANDON", "STARTTLS", "CANCEL", "WHOAMI", "PASSMOD", "EXT", "INTERM",
  "TLS established", SASL and Extended Response "RESULT".
In Statslog output "conn=xx fd=yy closed", append the reason in
  "()" unless client or server closed the connection after Unbind.
Still missing Statslog output from a number of failed requests.
2005-08-14 00:14:58 +00:00
Luke Howard
71d76fbeba slap_mods2entry() should not zero pointers into the modifications
list because checking is performed on these, rather than the entry.

slap_mods_free() now takes an extra argument indicating whether to
free the values or not.
2005-08-01 02:16:02 +00:00
Hallvard Furuseth
81ecb0b153 assert expects int. (int)<nonnull ptr/long> can be 0. Use assert(arg!=0/NULL). 2005-07-18 06:22:33 +00:00
Pierangelo Masarati
b00f3fa77f fix ITS#3805 2005-06-28 15:58:33 +00:00
Howard Chu
8f58409749 Add SLAP_MOD_INTERNAL flag to Modifications, allow internal ops to bypass
ACL checks when modifying user-modifiable attributes as non-root user.
2005-06-04 09:44:39 +00:00
Pierangelo Masarati
4914ea313d fix ITS#3753 2005-05-30 14:49:47 +00:00
Howard Chu
f77233d2ea Fix slapd_crypt declaration 2005-03-18 06:12:54 +00:00
Howard Chu
afe12db0d1 Cleanup prev commit 2005-03-18 06:12:27 +00:00
Howard Chu
2da2336ac6 Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy 2005-03-18 06:06:38 +00:00
Pierangelo Masarati
dec4c2197a avoid potential deadlock related to ACLs checking 2005-03-18 00:10:10 +00:00
Howard Chu
f955f17076 ITS#3576 use actual backend (not glue instance) for restriction and
update/referral checks
2005-03-17 04:29:31 +00:00
Howard Chu
86ef29b5e7 ITS#3596 partial fix - allow abandoning a locked operation 2005-03-14 00:12:48 +00:00
Kurt Zeilenga
f9b2a8a1d2 ITS#3557: {SSHA} not default due to missing include 2005-02-27 16:46:45 +00:00
Pierangelo Masarati
7348603a53 fix ITS#3484 2005-01-12 23:22:56 +00:00
Pierangelo Masarati
6f2ffa30ed fix ACL value checking for bind (ITS#3446) 2005-01-07 13:50:38 +00:00
Kurt Zeilenga
dc0eacd40b Happy New Year! 2005-01-01 20:49:32 +00:00
Howard Chu
916e931065 Always exclude subordinates from top-level ops so glue overlay can
intercept. Now a single syncprov works over the entire glued context.
2004-12-04 19:26:22 +00:00
Howard Chu
e6dd9ec8a2 More Opheader fixes 2004-11-26 10:10:29 +00:00
Howard Chu
90cc409325 Split Operation into Opheader and op 2004-11-25 22:59:00 +00:00
Howard Chu
7e87f54716 Revert ITS#3353 patch, it needs to be reworked. 2004-10-06 05:51:38 +00:00
Howard Chu
fda3d6260e ITS#3353 consolidate slapd globals into a single struct 2004-10-01 07:33:16 +00:00
Jong Hyuk Choi
5c0581b184 Modified @oc supprot code to the share anlist routines; Revised anlist routines 2004-09-23 02:48:14 +00:00
Jong Hyuk Choi
98dc97bcb9 memory leak fixes 2004-09-11 02:02:09 +00:00
Kurt Zeilenga
d611a4b49a unifdef -UNEW_LOGGING 2004-09-04 04:54:28 +00:00
Pierangelo Masarati
dbb4593d75 rework passwd_extop to comply with rwm requirements... 2004-07-20 00:22:05 +00:00
Pierangelo Masarati
a11dc61e05 rework be_isupdate accordingly to be_isroot 2004-04-06 09:42:40 +00:00
Kurt Zeilenga
37ef5350bd Rework return of update referrals 2004-04-06 00:47:21 +00:00
Pierangelo Masarati
0f867b9577 revert erroneous commit; cure the test the right way 2004-04-05 23:47:17 +00:00
Pierangelo Masarati
0b37fb4eb1 check in portions of code is done on length rather than pointer 2004-04-05 17:25:22 +00:00
Howard Chu
54fba01be2 ITS#3036 check for syncrepl 2004-03-25 09:40:02 +00:00
Kurt Zeilenga
45332097a6 password always replaces old passwords 2004-03-17 22:21:21 +00:00
Howard Chu
71bc8817e6 Revert "delete old" change; doesn't work for salted hashes. 2004-03-16 04:24:39 +00:00
Howard Chu
075137b8dd Fix prev commit 2004-03-16 03:24:08 +00:00
Howard Chu
db52f51943 Preserve old slap_passwd_hash() signature, add slap_passwd_hash_type() 2004-03-15 20:58:41 +00:00
Howard Chu
0c9b308781 Delete old password if provided 2004-03-15 19:52:17 +00:00
Pierangelo Masarati
2d8467d480 declarations must occur before instructions 2004-03-08 11:01:52 +00:00
Howard Chu
4504b48c6b default_passwd_hash now takes a list of schemes
passwordModify exop will generate all the configured hashes
2004-03-02 22:12:23 +00:00
Howard Chu
b480d7c9ff Added pwdexop request structure to avoid redundant parsing 2004-02-29 19:04:34 +00:00
Pierangelo Masarati
1dd604fb04 fix ITS#2900 2004-01-05 18:32:27 +00:00
Kurt Zeilenga
3c598e89fb Happy new year 2004-01-01 19:15:16 +00:00
Howard Chu
e933f076cc Better fix for ITS#2512. Use callback to invoke replog before sending
result to client.
2003-12-25 15:01:53 +00:00
Howard Chu
4c1ce5a02a Fix prev commit 2003-12-24 23:48:07 +00:00
Howard Chu
d31230f859 Fix replog sequencing - assign sequence numbers at beginning of operation,
instead of getting a timestamp at the end. This makes it possible for
slurpd to sort the log later.
2003-12-23 18:48:36 +00:00
Howard Chu
be1a728c5b Added sc_next and sc_cleanup to slap_callback 2003-12-07 08:51:23 +00:00