Howard Chu
2cc356588e
dirent emulation for MSVC
2006-09-14 08:01:05 +00:00
Pierangelo Masarati
b5e33f8de9
don't search past end of berval
2006-06-13 20:34:02 +00:00
Howard Chu
40f818daef
Fix tavl_delete for two-node trees
2006-05-25 05:03:56 +00:00
Howard Chu
2d97c1cae1
ITS#4549 add tavl_find3() to return closest match
2006-05-19 15:24:16 +00:00
Howard Chu
70de4ee403
Fix lutil_parsetime parsing fractional seconds
2006-04-28 01:26:05 +00:00
Pierangelo Masarati
716d1770a2
fix strtoul() odd interface
2006-04-25 15:46:44 +00:00
Hallvard Furuseth
581c1ff6c7
Cast ctype.h char arguments to unsigned char
2006-04-01 23:44:42 +00:00
Kurt Zeilenga
acbb5cf689
Happy new year!
2006-01-03 23:11:52 +00:00
Pierangelo Masarati
ad4a21f1a4
cleanup time unparsing (don't add trailing 0s if other multiples have already been used)
2006-01-02 08:14:55 +00:00
Howard Chu
341ac2a066
Fix prev commit again, relative paths are legal.
2005-11-26 22:34:23 +00:00
Howard Chu
b4b8f12439
ITS#4221 fix -r1.6
2005-11-26 21:56:58 +00:00
Pierangelo Masarati
d34fffcaf9
use lutil_ato*() whenever appropriate
2005-11-24 01:10:05 +00:00
Kurt Zeilenga
ec24e6293f
Another getpeerucred(3) fix.
2005-11-23 19:41:28 +00:00
Kurt Zeilenga
dc98982397
cleanup last commit
2005-11-23 19:40:08 +00:00
Kurt Zeilenga
7468c7fb58
Support Solaris 10's getpeerucred(3) (*** blind commit ***)
2005-11-23 18:55:31 +00:00
Kurt Zeilenga
54a921caa9
s/ACCRIGHTS/ACCRIGHTSLEN/
2005-11-23 18:47:52 +00:00
Pierangelo Masarati
25fe62efde
add support for error-handling number/time parsing functions; need to replace ato{il}/strto[u]l throughout the code
2005-11-23 12:46:33 +00:00
Hallvard Furuseth
6a778f99f5
Fix lutil_memrchr():
...
Avoid void* pointer arithmetic.
Convert int c to unsigned char, so c=<negative char value> will match.
Do not decrement pointer below start of array (even when value is not used).
2005-11-14 15:40:01 +00:00
Pierangelo Masarati
474dfbc8fd
don't trust strchr/strrchr with bervals
2005-11-13 22:26:53 +00:00
Pierangelo Masarati
a6453f28f8
silence warnings
2005-11-06 23:27:09 +00:00
Howard Chu
c82ae524b9
Make time counter zero based
2005-10-05 15:45:22 +00:00
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
Howard Chu
8c3e9ddb1c
avl_delete...
2005-09-26 08:57:19 +00:00
Howard Chu
4c89b0e80c
Tweak branches in avl_find
2005-09-26 08:21:10 +00:00
Howard Chu
dee98ccd47
Replace avl_insert/delete with iterative version
2005-09-26 08:15:55 +00:00
Howard Chu
53833c6ae6
Fix tavl_delete
2005-09-26 08:15:37 +00:00
Hallvard Furuseth
55fa9241a4
Remove unused variable
2005-09-26 04:36:19 +00:00
Howard Chu
3a018600d3
Revert prev commit
2005-09-23 06:27:16 +00:00
Howard Chu
e840a34fef
Fix end conditions for tavl_end and tavl_next
2005-09-23 06:25:13 +00:00
Howard Chu
0951e71df4
tavl_delete: copy balance factor
2005-09-22 01:16:28 +00:00
Howard Chu
495f7e5629
tavl_delete - swap whole structures, not the data pointers.
2005-09-21 19:18:40 +00:00
Howard Chu
fcac0626ad
Fix tavl_delete threading
2005-09-21 15:19:36 +00:00
Howard Chu
ecc5186955
Add testtavl, add tavl_end and tavl_next. tavl_delete still needs work.
2005-09-21 14:45:35 +00:00
Howard Chu
cbb86907a2
Add threaded AVL functions
2005-09-21 11:27:14 +00:00
Pierangelo Masarati
52cf1f5f0a
cleanup
2005-09-10 19:20:14 +00:00
Pierangelo Masarati
9129a2f7ee
silence warnings
2005-09-10 18:59:35 +00:00
Kurt Zeilenga
c6e4254b8f
Fix multicast bit
2005-09-04 09:01:46 +00:00
Kurt Zeilenga
f07015dad2
Update build tools based upon OPENLDAP_AC work
2005-08-25 20:09:26 +00:00
Howard Chu
6cfcae11f2
Improve check for schemes vs cleartext passwords
2005-08-24 03:52:00 +00:00
Kurt Zeilenga
f799a2e4ba
replace struct msghdr macros
2005-08-13 02:17:12 +00:00
Kurt Zeilenga
77173d35e9
Replace PW_GECOS/PASSWD macros
2005-08-12 22:28:17 +00:00
Hallvard Furuseth
2340954bd0
lmPasswd_to_key() arg1 was passed char*. Change it to that from unsigned char*.
2005-07-25 21:01:06 +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
Hallvard Furuseth
ab1ef34c51
size_t peercredlen -> socklen_t peercredlen in #if defined(SO_PEERCRED)
2005-07-18 04:42:28 +00:00
Howard Chu
6754d025f2
ITS#3847 silence warnings
2005-07-11 10:39:32 +00:00
Kurt Zeilenga
570126dc25
cleanup
2005-07-09 18:57:10 +00:00
Howard Chu
4b07f91511
Fix get_scheme to check length of scheme name
2005-07-08 05:46:08 +00:00
Hallvard Furuseth
7cc496fd25
Constify ldif_open() args
2005-07-06 10:50:03 +00:00
Howard Chu
9db1b9e8ea
Fix Win32 build using separate object directory
2005-05-12 04:03:31 +00:00
Howard Chu
54adc170e5
Fix prev commit
2005-05-12 02:56:11 +00:00
Howard Chu
c225c4af34
Updated ldif_read_record to support LDIF include: directive
2005-05-12 00:46:39 +00:00
Kurt Zeilenga
c833ff220c
type is no longer a char*
...
Fix suggested by Peter Marshall <peter@adpm.de>
2005-04-26 17:50:52 +00:00
Pierangelo Masarati
e94f1cd3f9
OID checks don't need to be case-insensitive
2005-04-10 16:01:24 +00:00
Pierangelo Masarati
58d4f7fc20
base64 encode passwords in back-config
2005-04-09 15:19:36 +00:00
Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Kurt Zeilenga
f33af81907
AIX getpeerid support
2005-03-16 02:22:46 +00:00
Kurt Zeilenga
f06ca8eb1f
cleanup
2005-03-15 03:11:24 +00:00
Kurt Zeilenga
d3ec485651
ITS#3583: memcmp replacement compilation error fix
2005-03-05 01:23:29 +00:00
Luke Howard
fd0b7e75b1
ITS#3439 (NetBSD support for getpeereid())
2005-02-03 09:36:25 +00:00
Kurt Zeilenga
70b5d06849
Remove extra rcsid
2005-01-24 21:59:06 +00:00
Howard Chu
67583f45eb
Added ldif_countlines()
2005-01-24 03:40:29 +00:00
Howard Chu
8fd686ada0
Restore avl_find code independent of avl_find2
2005-01-24 03:39:56 +00:00
Howard Chu
3ae4b383d5
ITS#3495 make sure lutil_passwd_init gets called
2005-01-20 00:23:36 +00:00
Howard Chu
8db476e664
More tweaks to ldif_parse_line2 for str2entry
2005-01-19 12:07:06 +00:00
Howard Chu
bd8a9989f4
Added ldif_parse_line2 to parse in-place
2005-01-19 05:05:53 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +00:00
Howard Chu
9fd1c81713
Add avl_find2 returning the Avlnode, allowing its data to be reset directly
...
instead of recycling thru avl_find/avl_delete/avl_insert
2004-11-19 23:33:46 +00:00
Howard Chu
ef76bcaf79
Add some more comments to time conversion
2004-09-28 12:36:34 +00:00
Howard Chu
76252251f5
Rename slap_tm to lutil_tm...
2004-09-28 12:22:22 +00:00
Howard Chu
1ca9556c1b
Move time parsers from ppolicy.c to liblutil; preserve greater precision
2004-09-28 12:12:13 +00:00
Kurt Zeilenga
3c310cab6c
rebuild
2004-09-26 23:42:16 +00:00
Kurt Zeilenga
e0a9ea2f50
Move MSVC port to the Attic
2004-09-04 04:37:41 +00:00
Howard Chu
7b9559805e
Hide WINAPI entry points from slapd/symdummy
2004-07-17 17:46:54 +00:00
Kurt Zeilenga
c15a31b673
Apply same fix (as last commit) to SMD5 as well
2004-06-02 20:29:21 +00:00
Kurt Zeilenga
8b5c9a764c
ITS#3169: fix safety checks to allow for varying salt lengths
2004-06-02 20:20:02 +00:00
Howard Chu
cbabd269a5
ITS#2457 Added LUTIL_SLASHPATH macro and func for converting
...
forward-slash paths to Windows back-slash format.
2004-03-19 08:06:42 +00:00
Pierangelo Masarati
daa29805ad
define error codes for lutil_passwd* funcs
2004-03-12 20:07:41 +00:00
Howard Chu
c558bd49bc
ITS#2992 Windows fixes from Alexey Melnikov
2004-03-05 12:24:06 +00:00
Howard Chu
6362951d6e
ITS#2993 fix prev commit
2004-03-03 15:58:57 +00:00
Howard Chu
8bac3b4ff7
Pass result berval to lutil_passwd_hash instead of returning it.
2004-03-02 21:59:24 +00:00
Howard Chu
9c6428b29e
Deleted Kerberos and Netscape support
2004-02-26 03:10:53 +00:00
Howard Chu
77dc2c479f
ITS#2899 NS-MTA-MD5 password len is exactly 64 bytes.
2004-01-25 10:39:32 +00:00
Kurt Zeilenga
c3674e92f9
Fix text == NULL bugs in last commit
2004-01-09 04:48:40 +00:00
Kurt Zeilenga
c8408d3c6a
ITS#2906: report invalid userPassword schemes, clarify documentation
2004-01-09 04:11:57 +00:00
Kurt Zeilenga
3c598e89fb
Happy new year
2004-01-01 19:15:16 +00:00
Howard Chu
39eb55b5f4
ITS#2869 fix decode length checks again
2003-12-11 13:24:06 +00:00
Luke Howard
98481ec449
Use gmtime_r() if HAVE_GMTIME_R is defined (need to add autoconf check)
2003-12-06 05:48:29 +00:00
Hallvard Furuseth
51f1b8ccd7
Avoid /* inside comments.
2003-11-29 17:29:44 +00:00
Kurt Zeilenga
74c7e200b3
From liblavl
2003-11-26 22:32:36 +00:00
Kurt Zeilenga
2c21fdcecb
move AVL routines into -llutil
...
update misc notices
2003-11-26 04:17:25 +00:00
Kurt Zeilenga
e3a4c4ec9c
Notice/Acknowledge updates
2003-11-26 02:58:56 +00:00
Kurt Zeilenga
6c0f8a7cc3
Move LDIF routines liblutil
2003-11-25 23:19:47 +00:00
Kurt Zeilenga
327880b984
Notice updates
2003-11-25 23:17:08 +00:00
Pierangelo Masarati
88e8caf3e1
fix tricky signed/unsigned comparison (ITS#2835)
2003-11-22 16:06:38 +00:00
Kurt Zeilenga
72cfae7264
Update csn format. Format now more inconsistent from the inconsistent
...
LDUP specifications. Once LDUP agrees on the format (let's hope they
choose GSER), this will need to be updated.
2003-11-18 22:10:12 +00:00
Kurt Zeilenga
3a8b3d9c1a
Fix SLAPD_NS_MTA_MD5 compile bug (ITS#2773)
2003-10-17 04:40:16 +00:00
Kurt Zeilenga
990346d0c8
ITS#2566: apply patch provided by Norbert to fix lmhash problems
...
- chk_lanman did not free result from hash_lanman
- copied code to generate hash from hash_lanman to chk_lanman,
this skips prepending "{LANMAN}"
- downcase stored password hash to ensure hex characters [a-f]
have the same case
2003-08-09 19:18:28 +00:00
Kurt Zeilenga
863a076919
ITS#2662: NS_MTA-MD5 hash check fix
2003-08-09 18:47:16 +00:00
Kurt Zeilenga
da3caafa7a
comment cleanup
2003-07-30 11:20:56 +00:00
Hallvard Furuseth
ca2a43b7b2
Handle !HAVE_LONG_LONG
2003-06-28 19:55:30 +00:00