| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| | | |
| | | |
| | | |
| | | |
| | | | |
not aiming to produce a high performance parallel ldap server, so
better to reserve the extra CPUs on a SMP box for file serving.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
distinguisedName on templated objects.
In looking how to handle distinguishedName correctly on LDAP, I was
very glad to find it supported entryDN, and this adds another mapping.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
dnsRoot.
Fix to read the nETBIOSName from the correct result.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
difference between end of file and a blank line.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Syntaxes.
Generated by scripts that cross information from the Windows Schema and the
aggregate schema and cross verified by searching on the net
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This module has been created with the purpose of being used
for searches against ldap servers without the need to handle
the control manually
You can test it by passing -o modules:paged_searches to ldbsearch
The page search size is set to 500 objects.
Simo.
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add a talloc_steal to avoid a memory leak of the ldb_search result.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
OIDs and skip built-in attributes.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
utility.
We now read the objectClasses, and sort them into order, so that
OpenLDAP will load them. We do this by walking down the 'subClassOf'
chain. This should also be used in the objectClass module to sort the
objectClass list, and to populate the @SUBCLASS records.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
suite, which contains tests for the samba3sam and ldb_map modules,
with a lot of tests for search requests.
The tests add a small set of known records to the database, half of
them with only remote data, half of them split across the local and
remote backends, and test searching these records by DN, by attribute
and with a range of parse trees.
This suite should be extensive enough to ensure that behaviour of
search requests doesn't break.
|
| | | | |
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
configure check for the interfaces.
should fix the build on some old sun boxes
metze
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
Add attribute syntax mapping to the existing OpenLDAP -> AD tool.
Andrew Bartlett
|
| | | | |
|
| | | |
| | | |
| | | |
| | | | |
makes the discard_const stuff nicer)
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This is the Samba4 version of the ntlm_auth patch that was committed
to Samba3 in revision 17216.
The purpose of this patch is to return session key information, as
well as NTLMSSP negotiated flags to ntlm_auth's caller. This allows
the bulk data signing and sealing to be handled in a library, supplied
by the caller.
This also allows the caller to ask for features, so that the right
flags get negotiated.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
based on the wireshark information
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
when I don't use the DRSUAPI_SUPPORTED_EXTENSION_STRONG_ENCRYPTION
flag on DsBind
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
in
#define inline
if the compiler doesn't support it
This hopefully fix the build on some hosts,
however we should not start to use inline in our
code this is more to not need to touch imported files
from heimdal or popt.
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
truncate the value to INT_MAX...
So a AC_TRY_RUN test is needed here
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
shows the need for...
Martin Kuhl writes:
The ejs function `substitute_var' returns `undefined' when the first
argument ends in a pattern that should be substituted.
For that reason, the second assertion fails in the following test-case:
,----
| libinclude("base.js");
|
| var obj = new Object();
| obj.FOO = "foo";
| obj.BAR = "bar";
| var str1 = "${FOO}:${BAR}";
| var str2 = "${FOO}:${BAR} "; // note the space after the brace
| var sub1 = substitute_var(str1, obj);
| var sub2 = substitute_var(str2, obj);
|
| assert(str1 + " " == str2);
| assert(sub1 + " " == sub2);
`----
The problem is that the function `split' returns a single-element
array in both cases:
a) the string to split doesn't contain the split pattern
b) the string ends with the split pattern
To work around this, the following patch tests this condition and
returns `undefined' only if the string to split (`list[i]') really
didn't contain a closing brace.
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
tests, by mkhl.
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | | |
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | | |
samba3sam test cases for ldb_map, and to include this into our default
'make test'.
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
for objectClass=xyz. The code has been warning at me 'no
covert_operator set', and indeed this is the case. (It then proceeds to
strip this as a search expression)
In this commit, I have implemented a convert_operator for objectClass,
by pretending it is a simple MAP_CONVERT operator for the search
requests.
I also have changed the logic for when we should bail out. I can only
see reason to bail out on the search if we have both local and remote
trees. How can a remote-only search be un-splittable?
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
as $0,$1,$2,$3 may change in side the script
or included scripts.
This fixes the usage of SOCKET_WRAPPER on non linux
systems (tested on IRIX 6.4)
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
rep_inet_ntoa...
metze
|
| | | | |
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
default can work...
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
First step at fixing the build breakage with the groupmapping test. On Linux,
F_RDLCK is defined to 0, for example NetBSD has it at 1.
Still does not work fully though. Still investigating.
metze
|
| | | |
| | | |
| | | |
| | | | |
metze
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
This was another declaration before statement bug, in my just-committed code..
Andrew Bartlett
|
| | | |
| | | |
| | | |
| | | |
| | | |
| | | |
| | | | |
not used purely as ldb module helper functions. This now passes these
strings back as explicit parameters.
Andrew Bartlett
|