Commit Graph

641 Commits

Author SHA1 Message Date
dmose%mozilla.org
e777587477 More minor updates & reorg. 2000-05-18 08:50:50 +00:00
dmose%mozilla.org
23b2545cad Lots of updates; many related to today's checkin of async code. 2000-05-18 08:48:07 +00:00
dmose%mozilla.org
9f9a4819d7 channel now runs async on a worker thread 2000-05-18 02:37:42 +00:00
dmose%mozilla.org
c0800f2ac2 initial work to convert nsLDAPOperation, Message, and Connection to implement and use XPCOM interfaces 2000-05-17 22:48:50 +00:00
dmose%mozilla.org
6b38a9662c created an nsILDAPConnection interface, and set up nsLDAPConnection to implement it so that we can use XPCOM proxies for cross-thread marshalling, and so we get JS access as well 2000-05-13 01:38:38 +00:00
dmose%mozilla.org
cb59429f00 a couple of shutdown related things: added an mThreadRunning member, and made thread PR_JOINABLE 2000-05-13 01:36:25 +00:00
dmose%mozilla.org
04c16f2618 Made the warning at the top of the file less drastic. 2000-05-10 04:02:30 +00:00
dmose%mozilla.org
1d7b0efa4d updated a bit 2000-05-10 04:01:42 +00:00
dmose%mozilla.org
8558692d2c Split out and added detail to XPCOMification info. 2000-05-10 00:08:26 +00:00
dmose%mozilla.org
0cd87d3ee9 Cleaned up a bit. Added some top-priority tasks to the top of the housecleaning section. 2000-05-10 00:07:22 +00:00
dmose%mozilla.org
7d71bd6ee4 Added more verbiage about the instability of the code. 2000-05-10 00:06:46 +00:00
dmose%mozilla.org
5894ddd3a8 Move prototype outside of #ifdef DEBUG so that non-DEBUG builds don't die. 2000-05-09 23:41:32 +00:00
dmose%mozilla.org
f6824e5426 LDAP XPCOM components + infrastructure 2000-05-09 01:09:11 +00:00
miodrag%netscape.com
e722950b27 Disbale unconditional debug statments 2000-05-08 20:58:49 +00:00
miodrag%netscape.com
870ce16988 Updates for LDAPJDK 4.1 2000-05-06 19:36:18 +00:00
miodrag%netscape.com
38b29a6764 Pass className rather than mechanismName to DynamicInvoker (391585) 2000-04-10 17:47:02 +00:00
miodrag%netscape.com
3798b49d72 Just return the raw bytes rather than a string in getCredentials (391585) 2000-04-10 17:45:59 +00:00
miodrag%netscape.com
d81d58cada 4.07 main dev tree synch up 2000-02-08 02:39:50 +00:00
leif%netscape.com
c81ab876a3 First major cleanup, mostly finished. 2000-01-14 22:25:29 +00:00
leif%netscape.com
1f2a6163a4 *** empty log message *** 2000-01-12 06:27:00 +00:00
leif%netscape.com
ad03158c1a *** empty log message *** 2000-01-12 06:15:45 +00:00
miodrag%netscape.com
276d1ca762 Updated ldapjdk 4.05 1999-11-12 06:34:14 +00:00
dmose%mozilla.org
cca325f64a updating license boilerplate 1999-11-02 01:46:24 +00:00
dmose%mozilla.org
6d9aa97c7b updating license boilerplate in all files; checkin approved by leif@netscape.com 1999-10-27 21:02:24 +00:00
miodrag%netscape.com
c70ee47bb7 Fixed a bad link 1999-09-28 19:58:15 +00:00
miodrag%netscape.com
f7cc26e68a Changed JAVACLASSPATH 1999-09-15 20:27:10 +00:00
miodrag%netscape.com
a070d4dca9 Version bumped to 4.04 for RTM 1999-09-15 20:09:35 +00:00
miodrag%netscape.com
47c496f8a5 4.0 RTM main dev tree synch up 1999-09-15 18:42:45 +00:00
miodrag%netscape.com
4b1816dced 4.0 RTM main dev tree synch up 1999-09-15 18:32:21 +00:00
miodrag%netscape.com
ed4535ef97 4.0 RTM main dev tree synch up 1999-09-15 17:03:19 +00:00
miodrag%netscape.com
a695f4e4b4 Removed manifest.mf dependency 1999-08-29 21:01:12 +00:00
miodrag%netscape.com
6ce40d4e24 Main dev tree synch up 1999-08-27 16:09:54 +00:00
miodrag%netscape.com
7af53d1c82 Synch up with the main dev tree 1999-08-27 15:58:58 +00:00
miodrag%netscape.com
6369dd1a38 Bumped version to 4.03 for Mozilla synch up 1999-08-27 15:49:53 +00:00
leif%netscape.com
7f74a541d7 *** empty log message *** 1999-08-24 22:31:51 +00:00
leif%netscape.com
689f6d1cbf Merged v1.3.x to trunk, for v1.4 release 1999-08-24 22:30:55 +00:00
miodrag%netscape.com
30e7eed2a6 Synch up with the main dev tree, sdk version = 4.02 1999-08-11 17:20:23 +00:00
chuckb%netscape.com
c33e5d92b5 Merge from LDAPJavaSDK_40beta_19990802_BRANCH. Some files removed. Some added 1999-08-04 02:03:56 +00:00
miodrag%netscape.com
58fb1f6e3f Updates for JNDI LDAP service provider 1999-06-05 01:14:50 +00:00
miodrag%netscape.com
b8e4bc8655 JNDI LDAP Service Provider 1999-06-05 01:05:59 +00:00
miodrag%netscape.com
5f14e72099 Java LDAP SDK 4.0 update 1999-06-05 00:53:02 +00:00
gbeasley%netscape.com
e4117ac6fb ldap jdk 3.1 version updated 1999-04-08 20:46:32 +00:00
leif%netscape.com
e3d0d00521 *** empty log message *** 1999-03-30 01:35:42 +00:00
leif%netscape.com
80defa04f2 - Bugfix for my() statements.
- Bugfix for modifyRDN()
- Bugfix for @vals in update().
1999-03-30 01:16:45 +00:00
leif%netscape.com
4af8739868 *** empty log message *** 1999-03-22 04:13:25 +00:00
leif%netscape.com
9364df10ca - Added support for add()'ing entries from a hash array.
- Preserve attribute orders.
- Bug fixes...
1999-03-22 04:12:41 +00:00
leif%netscape.com
17248c1ebb - Added new() method.
- Added DESTROY method, to solve memory leaks.
- Tons of changes for handling save/modified/delete states.
- Added the attrClean() method, which is used from Conn.pm
- Bug-fixes galore.
1999-03-22 04:04:56 +00:00
chuckb%netscape.com
1557daf996 Fix for http://bugzilla.mozilla.org/show_bug.cgi?id=3231 Thanks to lentz@process.com 1999-03-16 20:14:19 +00:00
chuckb%netscape.com
ece79bcaf7 Merge from NSCP repository (prior to rsync) 1999-03-16 19:57:34 +00:00
leif%netscape.com
8daa0e16dd Merged v1.1 development branch to trunk, v1.1 released 1999-01-21 23:52:52 +00:00
chuckb%netscape.com
c366d5e1d6 two bug fixes. 1998-12-02 10:56:43 +00:00
chuckb%netscape.com
532b9f2ba3 Parsers for controls returned by password policy 1998-12-01 11:16:37 +00:00
chuckb%netscape.com
cd7f049aff removeValue does not work 1998-12-01 11:12:11 +00:00
chuckb%netscape.com
831a10d21d bug fix 1998-12-01 11:08:34 +00:00
chuckb%netscape.com
8f3ebdd17a Parsers for controls returned by password policy 1998-12-01 11:06:52 +00:00
chuckb%netscape.com
c319e08cd3 Generic parser for a control containing only a string 1998-12-01 11:06:26 +00:00
chuckb%netscape.com
3c4c31a870 Merge from LDAPCSDK_19981015_BRANCH 1998-11-22 22:03:18 +00:00
chuckb%netscape.com
7c5d109bc7 added new files with 3.06 from internal cvs server 1998-10-19 06:24:19 +00:00
chuckb%netscape.com
587ed0958d Merged 3.06 changes from internal cvs server 1998-10-19 06:15:58 +00:00
chuckb%netscape.com
7972897eda added readme for 9.28 1998-09-29 05:33:50 +00:00
chuckb%netscape.com
8584101c6c Java LDAP SDK 3.5 update 1998-09-29 05:16:18 +00:00
chuckb%netscape.com
264a7aab20 Java SDK build instructions 1998-08-19 20:57:12 +00:00
leif%netscape.com
8ea4a0e7f4 *** empty log message *** 1998-08-18 22:35:57 +00:00
leif%netscape.com
16823a5a5f *** empty log message *** 1998-08-18 22:26:44 +00:00
leif%netscape.com
708350beb2 Added the setDefaultRebindProc() function back... 1998-08-18 22:26:30 +00:00
leif%netscape.com
8dc62fd3bc *** empty log message *** 1998-08-17 19:24:50 +00:00
leif%netscape.com
23bbd8ddb5 *** empty log message *** 1998-08-17 19:24:04 +00:00
leif%netscape.com
dbe39548a7 *** empty log message *** 1998-08-17 19:21:33 +00:00
leif%netscape.com
66807acdf1 *** empty log message *** 1998-08-14 22:10:29 +00:00
leif%netscape.com
90214f1e18 *** empty log message *** 1998-08-14 22:03:08 +00:00
leif%netscape.com
fa5f8d1457 *** empty log message *** 1998-08-14 21:45:39 +00:00
uid402
6a6206f740 Changed the install instructions in the README slightly. 1998-08-14 20:36:55 +00:00
uid402
42e565bbbd Perl script to install the Perl binaries without the Makefile. Platform
independent.
run: perl install-bin
1998-08-14 20:32:35 +00:00
leif%netscape.com
1cfacc3c6a Added instructions for using CVS. 1998-08-14 00:18:56 +00:00
leif
b07161330f *** empty log message *** 1998-08-13 23:34:50 +00:00
leif
788149688a First version. 1998-08-13 23:34:45 +00:00
leif
9e42c7d6c5 Cleanup. 1998-08-13 23:34:09 +00:00
leif
225099bf16 Fixed the automated installs stuff... 1998-08-13 23:33:49 +00:00
leif
22daa71d47 *** empty log message *** 1998-08-13 22:41:10 +00:00
leif
1d840864ed *** empty log message *** 1998-08-13 22:40:53 +00:00
leif
9d65689b21 *** empty log message *** 1998-08-13 22:03:42 +00:00
leif
0446a265f4 *** empty log message *** 1998-08-13 21:32:50 +00:00
clayton
fb75875e86 This version contains the ldap_set_default_rebind function. 1998-08-13 13:10:24 +00:00
leif
4020aaf47f *** empty log message *** 1998-08-13 12:05:09 +00:00
leif
148c18b0fe Fixed bug with ldap_modify(). 1998-08-13 12:02:27 +00:00
leif
8640e91469 Tons of smaller changes... 1998-08-13 11:02:56 +00:00
leif
cfa7c37c3a This actually works now... 1998-08-13 11:02:40 +00:00
leif
85626f6057 Updated docs, minor changes... 1998-08-13 11:02:28 +00:00
leif
8e606f27ef *** empty log message *** 1998-08-13 11:02:16 +00:00
leif
c29c69695b Lots of minor changes... 1998-08-13 11:02:11 +00:00
leif
fcca9a1b2f *** empty log message *** 1998-08-13 09:56:03 +00:00
leif
15567d41c8 *** empty log message *** 1998-08-13 09:35:23 +00:00
leif
e30dc9a68b *** empty log message *** 1998-08-13 09:28:05 +00:00
leif
85160bbee9 *** empty log message *** 1998-08-13 09:15:00 +00:00
clayton
1c55aaf8d0 Removed a few stale files
Updated the MANIFEST to reflect these removals
Made a few minor changes to the top bits of test_api
1998-08-13 04:40:02 +00:00
clayton
43db33bc18 Release Notes 1998-08-13 04:34:42 +00:00
clayton
ae36fc1653 Fixed the documentation a bit. Still needs lots of work. 1998-08-13 04:11:20 +00:00
leif
eb02bf2f05 *** empty log message *** 1998-08-12 20:56:38 +00:00
chuckb%netscape.com
0b865f92d5 Mac project 1998-08-12 10:54:12 +00:00
chuckb%netscape.com
ee1178cd52 Manifest file 1998-08-12 10:52:51 +00:00
chuckb%netscape.com
7b391966a5 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge 1998-08-12 10:44:46 +00:00
chuckb%netscape.com
cce6818b05 DIRECTORY_C_SDK_30_BRANCH to TRUNK merge 1998-08-12 10:35:35 +00:00
clayton
9ff3585a96 Added a first draft of POD documentation for the API commands. I wrote a
script to generate most of it and am going back to fix the pieces that
couldn't be automatically generated.  I've gotten through ldap_compare
so far and will be done with all API docs by Tuesday night.
1998-08-10 21:56:09 +00:00
leif
f3fb22c106 - Lots of modifications, minor changes etc.
- Updated all documentation.
- Added a few new functions.
1998-08-09 01:16:55 +00:00
leif
daff017216 *** empty log message *** 1998-08-04 03:50:56 +00:00
clayton
81a0d52032 Fixed relatively stupid error on my part in the avref2berptrptr function.
This broke binary modifies.  Tested fix on Solaris and NT.  Works fine
without leaking memory or dumping core on both platforms.
1998-08-04 02:28:12 +00:00
leif
89092c5d23 *** empty log message *** 1998-08-03 19:25:03 +00:00
leif
ba6b6491fb Now handles no extra arguments, and also weird arguments like \@foo. 1998-08-03 19:23:01 +00:00
leif
024e4ba306 *** empty log message *** 1998-08-03 08:12:21 +00:00
leif
6ceb063e20 *** empty log message *** 1998-08-03 07:54:08 +00:00
leif
1b21600ba6 First version, mainly ported to the new API. Also merged in some code from
LdapUtils.pm so that this file is more self sustained.
1998-08-03 07:53:31 +00:00
leif
3d18ff4978 Fixed the modifyRDN function. 1998-08-03 07:50:54 +00:00
leif
7ade74b52d Removed the DESTROY method. 1998-08-03 06:58:21 +00:00
leif
1e8343bd8c * Added getLD() function.
* Fixed the getErrorCode() function, and added support for (optionally)
retrieving the match and extra error strings.

* Fixed reference bug in the add() method.
1998-08-03 06:58:01 +00:00
leif
95a82cb592 Fixed the ldap_get_lderrno() function so that it now supports:
ldap_get_lderrno($ld, undef, undef);
ldap_get_lderrno($ld, \$match, undef);
ldap_get_lderrno($ld, undef, \$msg);
ldap_get_lderrno($ld, \$match, \$msg);


I think this should work ok, but a code review is probably a good idea.
1998-08-03 06:53:23 +00:00
leif
9a03b53fcc *** empty log message *** 1998-08-03 04:26:32 +00:00
clayton
325d9e4e20 Whoops...These files were last checked in after editing in VIM under NT.
Usually VIM detects UNIX format files (LF), but this time it seems to have
used CR/LF.  I've fixed this problem and checked in working versions.
1998-08-03 02:35:26 +00:00
clayton
6a1c426cdb Updated version number to 1.00 to prepare for release version. Still need
to add 'all' to the EXPORT_TAGS and test.
1998-08-03 00:29:25 +00:00
clayton
589657a425 Makefile.PL - Changed it quite a bit. Asks less stupid questions...now works
with LDAPv2 and LDAPv3 SDKs.

README - Write a skeleton version.  Needs lots of work.
1998-08-03 00:27:51 +00:00
clayton
8ca115e86b API.xs - Added missing functions (bind/bind_s)
api.pl - Made a few misc changes...minor... (removed system calls/fixed rebind)

constant.h - Completely changed this file to streamline response.
    Might still want to move SUCCESS, SCOPE, and a few others out of the
    new switch/case thing.
1998-08-03 00:26:38 +00:00
clayton
63d71dc7b7 Makefile.PL - Fixed a build problem with NT and Perl 5.005
- Added define for LDAPV3.
            - Needs gobs of work before release
               o LDAPv2 Library Support
               o Better UI
               o Consistent environment variable usage.
1998-07-31 21:18:29 +00:00
clayton
8e3c949ca2 Fixed the 'use' line in the examples. Removed a few lines from api.pl
and added a configuration option to set the number of adds.
1998-07-31 21:16:32 +00:00
leif
84749ba813 *** empty log message *** 1998-07-31 02:22:50 +00:00
leif
1e70993569 Changed all hardcoded index references, e.g. 0 to $[. 1998-07-30 22:12:24 +00:00
leif
ef98a0cd97 - Changed all hardcoded index numbers (from 0 to $[).
- Added modifyRDN, not tested yet...
1998-07-30 22:12:02 +00:00
leif
664ffb1e78 *** empty log message *** 1998-07-30 10:14:41 +00:00
leif
23fe882537 This mostly works now. 1998-07-30 10:13:23 +00:00
leif
1f43641cfa This actually works now, mostly... 1998-07-30 10:08:31 +00:00
leif
8599963834 Fixed references to normalizeDN. 1998-07-30 10:08:00 +00:00
leif
1d1baafa19 - Bug fixes in normalizeDN, because of calling convention changed.
- Added the answer function, from our LdapUtils.pm module.
1998-07-30 10:06:56 +00:00
leif
35317d1397 *** empty log message *** 1998-07-30 09:55:12 +00:00
leif
4cb879ad55 *** empty log message *** 1998-07-30 09:52:33 +00:00
leif
ca6ee837e9 Minor changes. 1998-07-30 09:52:19 +00:00
leif
df3888d5cc * Bug fixes.
* Changed the update code, works.

* Added some debug code for the LDAPMod code.
1998-07-30 09:51:35 +00:00
leif
14161ed396 *** empty log message *** 1998-07-30 09:22:15 +00:00
leif
dec1a20a3f *** empty log message *** 1998-07-30 09:02:33 +00:00
leif
eb7277ff78 Added unixCrypt. This is non-portable, since it doesn't exist on
Windows...
1998-07-30 08:43:06 +00:00
leif
70b58e640d *** empty log message *** 1998-07-30 08:42:31 +00:00
chuckb%netscape.com
aeaf3ae5cb Small fix for killing connections 1998-07-30 07:35:57 +00:00
leif
51adb1448b *** empty log message *** 1998-07-30 06:49:18 +00:00
leif
70c8a04f72 This is the first version, of a script originally implemented at Netscape. 1998-07-30 06:49:03 +00:00
leif
b31492fcb1 *** empty log message *** 1998-07-30 05:26:08 +00:00
leif
09582fe89a *** empty log message *** 1998-07-30 03:08:03 +00:00
leif
d602fa87a6 Added ChangeLog for main and example directories. 1998-07-29 09:14:06 +00:00
leif
18b5781875 Added monitor.pl 1998-07-29 09:13:21 +00:00
leif
1ac0b7d6db First version, this actually works as well. 1998-07-29 09:12:37 +00:00
leif
424108e78c *** empty log message *** 1998-07-29 09:09:20 +00:00
leif
49eb2981e0 *** empty log message *** 1998-07-29 09:01:12 +00:00
leif
3aadc360b3 Added support for passing a hash array of arguments, as returned by the
ldapArgs() function.
1998-07-29 09:00:51 +00:00
leif
1691ac7607 First working version. 1998-07-29 08:59:14 +00:00
leif
8069bfe005 Changed to not import the Utils name space into this object. Bad Leif. 1998-07-29 08:41:39 +00:00
leif
631736405e Minor changes, to look better. 1998-07-29 08:36:45 +00:00
leif
8344ee9a92 Added more functions. 1998-07-29 08:29:07 +00:00
leif
0fb359792c Minor change, to do regex match on osname=MSwin. 1998-07-29 08:27:00 +00:00
leif
e48caed39a Changed some of the "reserved" hash indexes, to make sure they all both
start and end with the "_". This makes it easy to isolate them, with the
regexp /^_.*_$/.
1998-07-29 08:25:57 +00:00
leif
fc7f5196b6 * Got it to work.
* Changed some of the error handling functions, this needs to be tested.
* Converts attribute values from arrays to pointers to arrays.
* Changed the bind API calls.
1998-07-29 08:23:53 +00:00
leif
d4495bbb50 Changed to use Exporter::export_ok_tags(). 1998-07-29 08:21:44 +00:00
leif
7d57b53fcf *** empty log message *** 1998-07-29 08:19:12 +00:00
leif
352eb5c5c0 *** empty log message *** 1998-07-29 05:56:54 +00:00
leif
c7a4a428c9 *** empty log message *** 1998-07-29 03:53:52 +00:00
clayton
f80c8d06f3 MANIFEST - Changed Connection.pm to Conn.pm
Makefile.PL - Added Interactive and Automatic Makefile creation
test.pl - Added Automatic Testing through use of environment variables.
1998-07-29 03:43:34 +00:00
leif
de91de60b6 *** empty log message *** 1998-07-29 03:30:26 +00:00
leif
09abc6238c Fixed the #include for <ldap.h> 1998-07-29 02:58:54 +00:00
leif
6361531ed2 Changed this file to be Conn.pm. 1998-07-29 02:45:53 +00:00
leif
3362235fb3 *** empty log message *** 1998-07-29 02:41:11 +00:00
leif
834f052dd7 *** empty log message *** 1998-07-28 23:28:53 +00:00
leif
dd3e05a7a3 *** empty log message *** 1998-07-28 23:28:29 +00:00
leif
5415a3c9a5 *** empty log message *** 1998-07-28 23:28:18 +00:00
leif
71929f909b First version, migrated from my Netscape source. 1998-07-28 23:27:17 +00:00
chuckb%netscape.com
682fee080e Java LDAP SDK 1998-07-28 00:58:49 +00:00
clayton
e3203378d4 Fixed some constant handling for constants that return strings or other
non-numeric data.  Fixes problem with LDAP_OPT_ON/LDAP_OPT_OFF.
1998-07-24 22:31:03 +00:00
clayton
cdbd4dce21 - Moved everything from @EXPORT to @EXPORT_OK and %EXPORT_TAGS
- Removed references to 'donley@cig.mot.com' substituted 'donley@wwa.com'
1998-07-24 19:01:51 +00:00
clayton
b21a56a6c9 Adding write.pl test program - again... 1998-07-24 15:35:52 +00:00
clayton
cbbfeb1b15 Actually adding the files that were under t/ 1998-07-24 15:32:08 +00:00
clayton
e48c7a1619 Moved t to test_api, as 't' is a special use directory for running multiple
automated tests.  Perhaps we will change our tests to run this way in
   the future, but until then, it breaks 'make test'.
1998-07-24 15:21:41 +00:00
clayton
ca030a4f4e Fixed conflicts from last checkin. 1998-07-24 15:19:10 +00:00
clayton
7913947939 Fixed memory leak in hash2mod
Fixed segfault in avref2*
Replaced calls to av2modvals with avref2*
1998-07-23 12:34:32 +00:00
leif
312da26de6 *** empty log message *** 1998-07-23 11:05:59 +00:00
leif
be692e043a *** empty log message *** 1998-07-23 05:31:22 +00:00
leif
22f50e14db *** empty log message *** 1998-07-23 05:25:09 +00:00
leif
c96d81bfb0 *** empty log message *** 1998-07-22 22:49:55 +00:00
leif
9ceb9a80f1 *** empty log message *** 1998-07-22 22:38:38 +00:00
leif
2346e1f961 *** empty log message *** 1998-07-22 22:35:46 +00:00
leif
91fd8061ca *** empty log message *** 1998-07-21 02:43:28 +00:00
leif
6f5311dbdd Added the MPL license to all files. 1998-07-21 02:42:38 +00:00
leif
0ebe7c4490 *** empty log message *** 1998-07-21 02:32:13 +00:00
cboatwri
93bf370e96 Added additional tcp-ip stuff for mac project 1998-05-29 23:08:33 +00:00
cboatwri
43c2d9516e Added build instructions 1998-05-29 22:40:40 +00:00
cboatwri
510e324526 Added makefile for unix 1998-05-29 22:33:50 +00:00
cboatwri
518ae2d8fd Added Directory (ldap) SDK source files for public release 1998-05-28 04:29:26 +00:00
cboatwri
987f3c0d58 Added Directory (ldap) SDK source files for public release 1998-05-28 04:23:42 +00:00