Commit Graph

641 Commits

Author SHA1 Message Date
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