Howard Chu
2da2336ac6
Reorganiza SLAPD_CRYPT and SLAPD_SPASSWD support for better reentrancy
2005-03-18 06:06:38 +00:00
Howard Chu
3ae4b383d5
ITS#3495 make sure lutil_passwd_init gets called
2005-01-20 00:23:36 +00:00
Kurt Zeilenga
dc0eacd40b
Happy New Year!
2005-01-01 20:49:32 +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
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
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
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
15fa161b8f
ITS#2562: add missing arg to hash_lanman
2003-06-01 23:32:47 +00:00
Hallvard Furuseth
5ee9264465
Fix assignment of <char/int>* to unsigned <char/int>* and vice versa.
2003-05-02 13:29:28 +00:00
Howard Chu
7e2273b30e
Added errmsg arg to lutil_passwd_{check,hash} functions
2003-04-30 07:52:05 +00:00
Howard Chu
62f7394f8c
Fix up lutil_passwd stuff to avoid struct berval definition
2003-03-12 23:07:09 +00:00
Howard Chu
bbad1de8e1
Added lutil_passwd_init, _destroy, _add for dynamically adding passwd
...
schemes. Declarations in lutil.h require lutil.h never be included before
lber.h, always after.
2003-03-11 05:58:53 +00:00
Kurt Zeilenga
03b35cc621
ITS#2159: don't crash on malformed userPassword
2003-01-20 23:46:35 +00:00
Kurt Zeilenga
6939c53170
Happy new year
2003-01-03 20:20:47 +00:00
Kurt Zeilenga
ba6d2c5cc0
ITS#1502: fix NS-MTA-MD5 typo
2002-09-24 21:21:35 +00:00
Kurt Zeilenga
11761fa6ca
Add NT-MTA-MD5 Support.
...
Based, in part, from ITS#1502 submission from John Morrissey.
Copyright 2001, John Morrissey (jwm at horde dot net), All rights reserved.
This is free software; you can redistribute and use it under the same terms
as OpenLDAP itself.
2002-09-07 01:51:12 +00:00
Howard Chu
4c69827b15
ITS#2016 possibly better macro test for this fix
2002-08-10 00:32:25 +00:00
Howard Chu
66d9bf404b
ITS#2016 Don't include <openssl/des.h> if we're also including <krb.h>.
2002-08-10 00:22:52 +00:00
Howard Chu
6226684204
Eliminate an unnecessary malloc/free
2002-08-07 00:47:57 +00:00
Kurt Zeilenga
7592a9b9c7
make sure we don't test against stored values starting with "{"
2002-07-10 22:04:14 +00:00
Kurt Zeilenga
56bbe05490
Add {CLEARTEXT} password-hash support
2002-06-12 00:43:34 +00:00
Howard Chu
491d2ae5b9
ITS#1720 chk_sasl for Cyrus SASL 2
2002-04-16 04:05:51 +00:00
Howard Chu
bb17493d31
ITS#1732 signed/unsigned fixes
2002-04-11 08:47:37 +00:00
Kurt Zeilenga
0e2af54a3f
Update copyright statements
2002-01-04 21:17:25 +00:00
Howard Chu
e5eb270e6c
from jon@symas.com - misc Windows cleanup
2001-12-17 22:42:55 +00:00
Kurt Zeilenga
7ee53eb12e
Remove const from salt_format
2001-06-14 02:20:05 +00:00
Kurt Zeilenga
ff993c7ddb
Misc updates to password codes / docs
2001-06-13 05:40:24 +00:00
Kurt Zeilenga
8d4c20cd6d
Adding crypt(3) salt format (ITS#1202) from Jeff Costlow <j.costlow@f5.com>
...
with minor changes by committer
---
Copyright 2001, F5 Networks, Inc, All rights reserved.
This software is not subject to any license of F5 Networks.
This is free software; you can redistribute and use it
under the same terms as OpenLDAP itself.
2001-06-13 03:47:17 +00:00
Kurt Zeilenga
9ed2b33e2b
optional SHA1
2001-05-02 19:49:44 +00:00
Kurt Zeilenga
7f91ee936f
Clean up header inclusion
2001-03-15 03:09:52 +00:00
Gary Williams
36880023b6
fix NT build by moving unistd.h
2001-02-02 16:07:12 +00:00
Kurt Zeilenga
90c9d543a8
Provide extra salt for crypt(3)
2001-01-20 01:15:28 +00:00
Kurt Zeilenga
319a75ef39
Fix LMPASSWD code
...
Move <ac/unistd.h> and <ac/crypt.h> behind SLAPD_CRYPT
2001-01-18 00:35:09 +00:00
Kurt Zeilenga
df7804debc
ITS#899 LANMAN password contribution from Norbert Klasen
2000-11-22 20:18:50 +00:00
Kurt Zeilenga
7fad68f7b4
remove lint
2000-10-18 00:29:21 +00:00
Kurt Zeilenga
f319444df0
MIT Kerberos and krb5_free_creds_contents (ITS#715)
...
fix suggested by Norbert Klasen <klasen@zdv.uni-tuebingen.de>
2000-09-06 18:21:39 +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