Ian Yang
f102f50d9c
Do not add controls when it is empty. Fixed #17
...
Some LDAP servers, such as ApacheDS, consider as invalid protocol, if controls
is an empty array.
2011-08-10 20:18:27 +08:00
dulanov
c9bd8b4b3d
fix incorrect respone with return_result=false
2011-05-27 18:24:52 +04:00
Austin Ziegler
028cdeebbd
Really fixing #modify this time.
...
Didn't call the right method before, even though the method itself was
fixed properly.
2011-03-25 21:58:24 -04:00
Austin Ziegler
d6ad919717
Bumping these additional versions.
2011-03-23 21:19:00 -04:00
Austin Ziegler
57a356d556
Bugfix requiring a 0.2.1 release.
...
Modify operations were broken, but now aren't. This version fixes the
changes cleanly.
2011-03-23 21:17:51 -04:00
Jamstah
001608e3a0
Add to history re escaping in filters.
...
Remove extra UTF-8 header.
2011-03-20 20:32:53 +00:00
Austin Ziegler
2a63ae72b9
Merge branch 'filter_escaping' of https://github.com/Jamstah/ruby-net-ldap into Jamstah-filter_escaping
2011-03-17 22:37:44 -04:00
Austin Ziegler
7ae8e28550
Merge branch 'filter_single_clauses' of https://github.com/Jamstah/ruby-net-ldap into jamstah-filter_single_clauses
2011-03-17 22:33:16 -04:00
Austin Ziegler
013c13f7e1
Merge branch 'paging_control' of https://github.com/Jamstah/ruby-net-ldap into jamstah-paging_control
2011-03-17 22:28:47 -04:00
Austin Ziegler
393b57405d
Formatting changes to the DN class.
2011-03-17 22:25:22 -04:00
Austin Ziegler
f50ba57e99
Merge branch 'dn_escaping' of https://github.com/Jamstah/ruby-net-ldap into jamstah-dn_escaping
2011-03-17 22:08:07 -04:00
Austin Ziegler
fedd290adf
Adding utf-8 encoding headers to all lib files.
2011-03-17 21:51:52 -04:00
Austin Ziegler
84e42ceb78
Merging an ugly set of changes I had forgotten about.
2011-03-17 21:37:17 -04:00
Austin Ziegler
3b0a8223b0
Fixing Ruby 1.9.2 -wW2 warnings (bug #28588 )
...
[#28588 ] Regexp warning under Ruby 1.9.2-p0.
2011-03-16 19:33:54 -04:00
Rory O'Connell
af6c595793
Merge remote-tracking branch 'larstobi/master'
2011-03-16 15:15:43 -05:00
Kaspar Schiess
203e4e752d
- removes comments that would appear nonsensical in sdoc
...
These comments would appear as documentation for the Net module, which is bogus. _and_ the formatting was off. Removing them makes rdoc appear more clear.
2011-02-24 11:54:17 +01:00
Lars Tobias Skjong-Børsting
36b06f46df
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
...
Made modify_ops a method to allow for unit testing of it.
Added unit tests for add, delete and replace.
2011-01-28 14:50:54 +01:00
Lars Tobias Skjong-Børsting
aeda4020f2
Fix undefined method 'to_ber' for nil:NilClass. Convert unless nil.
2011-01-26 19:09:03 +01:00
Jamstah
91a201ca4d
DN Class to escape and parse DNs.
2011-01-11 16:27:45 +00:00
Jamstah
0b0688d434
Add correct filter characters.
2011-01-11 14:23:40 +00:00
Jamstah
f3204bde6d
Accept filters with only one clause to an & or |
2011-01-06 14:06:31 +00:00
Jamstah
51f2c95df8
Merge remote branch 'upstream/master' into paging_control
2011-01-05 14:12:24 +00:00
Jamstah
756529b3ae
Only add the paging control if the server supports it. This is partly to work around a bug where a server will not allow all users to page, and will return insufficient access instead of ignoring the control.
2011-01-05 14:07:36 +00:00
Kaspar Schiess
36904e208a
+ Rewrote tests as specs. Ruby1.9 compatible escape code.
2010-12-30 13:44:17 +01:00
Jamstah
a696aa89a0
Add a method to escape filter strings, and some convenience method for creating some common filter patterns, that are automatically escaped.
2010-12-30 13:14:15 +01:00
Kaspar Schiess
ee58580a53
! Reference to self fixed
2010-10-08 16:56:46 +02:00
Kaspar Schiess
cd866c0109
+ Patch from Sean Cashin that fixes filter behaviour
...
Filters would not accept apostrophes, now they do.
Thanks Sean Cashin (http://github.com/scashin133 )!
2010-10-08 16:47:24 +02:00
Rory O'Connell
7143490850
Fix merge artifacts because I'm a dummy dumb head
2010-09-25 15:27:59 -05:00
Rory O'Connell
a3dcb965db
Merge branch 'master' of github.com:RoryO/ruby-net-ldap
2010-09-25 15:05:06 -05:00
Rory O'Connell
43d50d6498
Merge remote branch 'tonyheadford/master'
...
Conflicts:
lib/net/ldap.rb
2010-09-25 15:02:34 -05:00
Austin Ziegler
f46c68dce3
Merge branch 'master' of github.com:RoryO/ruby-net-ldap
2010-09-25 00:06:31 -04:00
Erik Hetzner
85a137c71f
Fix reference to Net::LDAP (make absolute).
2010-09-21 08:08:33 +08:00
Erik Hetzner
09e6267fdd
Fix reference to StartTlsOid constant.
2010-09-21 08:08:33 +08:00
Derek Harmel
4159643c3d
Fixes for mysterious 'constant not missing' errors
2010-09-07 01:15:28 +08:00
tonyheadford
1761db89e9
Added new_superior arg to Net::LDAP rename method. This enables moving an entry in the tree by specifying the new parent container in addition to the rename entry functionality. Added a unit test file test_rename.rb for this method.
2010-07-19 20:52:10 +01:00
Kouhei Sutou
d778139d75
Net::LdapPdu -> Net::LDAP::PDU.
2010-07-20 00:05:45 +08:00
Austin Ziegler
054ead158d
Bumping the version for release.
2010-04-19 01:57:13 -04:00
Austin Ziegler
59dac76d47
Cleaning up Net::LDAP documentation.
2010-04-19 01:54:25 -04:00
Austin Ziegler
5f5031b853
Suppressing the Net::SNMP documentation.
2010-04-19 01:54:07 -04:00
Austin Ziegler
42100871c5
Cleaning up the Net::BER documentation.
2010-04-19 01:53:39 -04:00
Austin Ziegler
b4c2bfe0f9
Cleaning up the Net::BER core extension docs.
2010-04-19 01:53:32 -04:00
Austin Ziegler
64bcdd0912
Removing a stub file, lib/net/ldif.rb.
...
There is no value provided by this stub.
2010-04-19 01:52:39 -04:00
Rory O'Connell
cc55227083
Merge remote branch 'halostatue/ldap-psw-cleanup' into ldap-psw-cleanup
2010-04-15 17:07:41 -05:00
Rory O'Connell
0fce1048a5
Merge branch 'ldap-pdu-cleanup', remote branch 'halostatue/ldap-pdu-cleanup' into ldap-pdu-cleanup
2010-04-15 17:05:40 -05:00
Rory O'Connell
896eaa533c
Merge branch 'ldap-cleanup', remote branch 'halostatue/ldap-cleanup' into ldap-cleanup
2010-04-15 16:27:08 -05:00
Rory O'Connell
f42773569f
Merge branch 'ber-cleanup', remote branch 'halostatue/ber-cleanup' into ber-cleanup
...
Conflicts:
test/test_ber.rb
2010-04-15 16:19:33 -05:00
Kaspar Schiess
483af95ccd
! Fixes references to various classes
...
I had to prefix all accesses to LdapPdu, AsnSyntax and Filter with
Net::LDAP or Net:: respectively. We should rethink the module
decomposition to make this more natural.
2010-04-05 18:33:35 +02:00
Austin Ziegler
5ae087dd1b
Cleaning up Net::LDAP::Password, including file rename.
2010-03-27 15:36:31 -04:00
Austin Ziegler
6eaf87dc56
Cleaning up Net::LDAP::PDU (including object rename.
2010-03-27 15:33:32 -04:00
Austin Ziegler
06ea324055
Cleanup of Dataset and Entry.
2010-03-27 14:51:01 -04:00