Commit Graph

31 Commits

Author SHA1 Message Date
Brent Cook 90766ceceb remove more unusual raise RuntimeError patterns 2017-11-01 05:59:12 -05:00
Brent Cook f69b4a330e handle Ruby 2.4 Fixnum/Bignum -> Integer deprecations 2017-01-22 10:20:03 -06:00
OJ 1d617ae389 Implement first pass of architecture/platform refactor 2016-10-28 07:16:05 +10:00
Brent Cook ab4a416958 comment out duplicate keys that can only be used for reference
ruby is ignoring all but the second instances, and 2.2 still throws a
warning
2015-02-24 08:50:02 -06:00
Meatballs 5d18de2ebf Fix legacy railgun LDAP implementation 2014-12-13 18:26:26 +00:00
HD Moore c9b6c05eab Fix improper use of host-endian or signed pack/unpack
Note that there are some cases of host-endian left, these
are intentional because they operate on host-local memory
or services.

When in doubt, please use:

```
ri pack
```
2014-06-30 02:50:10 -05:00
James Lee 0179faa66f Fix yardoc for Post::Windows::LDAP
Also fix some style issues and warnings.
2014-02-21 13:25:11 -06:00
Meatballs 5c8af63063 Fix regression 2014-02-18 17:41:35 +00:00
jvazquez-r7 1bc94b8a9d Merge for retab 2014-02-17 19:19:47 -06:00
jvazquez-r7 61563fb2af Do minor cleanup 2014-02-13 09:10:04 -06:00
Meatballs 76f0783eef Raise error if no domain found or specified 2014-02-08 12:16:48 +00:00
Meatballs 33da3a414b Remove unnecessary options 2014-01-25 13:52:52 +00:00
Meatballs 27a434205c More flexible domain and DN 2014-01-25 13:17:00 +00:00
Meatballs 08885bde19 Always forget debugging stuff 2014-01-24 23:45:12 +00:00
Meatballs be1da0e8a8 Move print statement 2014-01-24 23:37:20 +00:00
Meatballs cb53ca261f Tidyup logic
ADSI doesn't care about distinguished names or domain and can take
either, but legacy API needs a domain for binding and a dn for
searching.

Send nil if we dont know the domain rather than a ptr to an empty
string.
2014-01-24 23:28:08 +00:00
Meatballs ae13d1f3e6 Grab the default domain to improve ldap 2014-01-24 16:36:37 +00:00
Meatballs 23ba52641b Revert ldap 2014-01-24 16:25:48 +00:00
Meatballs 9fce617462 Fixup railgun utils
Implement DsGetDcNamea to return current domain using example
railgun utils techniques.
2014-01-24 16:22:05 +00:00
Meatballs 4b21672b60 Remove hardcoded string 2014-01-23 23:55:09 +00:00
Meatballs 790e4d7559 Move options to mixin 2014-01-23 23:47:46 +00:00
Meatballs 398e8463b1 Add more informative errors 2014-01-23 23:19:00 +00:00
Meatballs 80452767c8 Comments 2014-01-22 10:24:24 +00:00
Meatballs 156e3c046e Dont lookup twice 2014-01-22 10:14:56 +00:00
Meatballs 6d6d1e1033 No need to fiddle with naming context 2014-01-22 10:06:36 +00:00
Meatballs 3bf728da61 Dont store in DB by default 2014-01-07 12:20:44 +00:00
Meatballs 62ef810e7c Use Extapi if available 2013-12-19 18:18:47 +00:00
Meatballs 737154c2fe Update to use extapi 2013-12-19 16:46:09 +00:00
Meatballs e7dfda00db Documentation 2013-11-23 22:03:43 +00:00
Meatballs becc521406 Constants, yey 2013-11-23 21:46:11 +00:00
Meatballs 699d13eef1 Share the wealth
Move LDAP methods to a Post mixin.
2013-11-23 21:42:09 +00:00