| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
| |
not relative to the location of the sam.ldb, but instead
lp_private_dir().
This fixes that issue.
Andrew Bartlett
|
|
|
|
|
|
|
| |
It *should* just be NULL from the initialisation above, but I've had
this not be the case...
Andrew Bartlett
|
|
|
|
|
|
|
|
| |
where the error is from)
- Make default error string more consistant
Andrew Bartlett
|
|
|
|
|
|
| |
name the module.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
| |
few authentication tests. Now that the tests correctly 'fail', I was
able to fix the credentials subsystem to honour USER and PASSWD.
To get --machine-pass working, I needed ldb to always load it's static
modules, so I put this in ldb_connect().
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
'phantom_root' flag in the search_options control
- Add in support for LDB controls to the js layer
- Test the behaviour
- Implement support for the 'phantom_root' flag in the partitions module
- Make the LDAP server set the 'phantom_root' flag in the search_options control
- This replaces the global_catalog flag passed down as an opaque pointer
- Rework the string-format control parsing function into
ldb_parse_control_strings(), returning errors by ldb_errorstring()
method, rather than with printf to stderr
- Rework some of the ldb_control handling logic
Andrew Bartlett
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
| |
only in one place
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
so call them
- reorder the request operations first all with explixit hooks
metze
|
|
|
|
| |
metze
|
|
|
|
| |
Andrew Bartlett
|
|
|
|
|
|
|
| |
add ldb_get_config_basedn(), ldb_get_schema_basedn()
and ldb_get_root_basedn()
metze
|
|
|
|
|
|
|
|
| |
simo,tridge: please check this.
found by the IBM checker
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
| |
to not conflict with the one that maybe added via the @ATTRIBUTES object
this is just to make the test-tdb-feature.sh torture test happy
There's still a bug when a attribute is registered multiple time
without removing old ldb_schema_attribute instances. But this bug
was there before my changes too and was just triggered by my changes
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
to a ldb_schema_syntax struct.
the default attribute handler is now registered dynamicly as "*"
attribute, instead of having its own code path.
ldb_schema_attribute's can be added to the ldb_schema given a
ldb_schema_syntax struct or the syntax name
we may also need to introduce a ldb_schema_matching_rule,
and add a pointer to a default ldb_schema_matching_rule
in the ldb_schema_syntax.
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
| |
Never commit before testing
Never commit before testing
:-)
|
|
|
|
|
| |
This functions adds support of a memory context to hook the results to
and a printf style exp_fmt partameter to easily build expressions at once.
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
| |
this works now against w2k3:
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<GUID=44087590-dd95-435c-adc1-ec20a50807be>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<SID=S-1-5-21-769185814-1958994947-1641909093-513>" -s base
bin/ldbedit -U administrator%test -H ldap://w2k3-101/ -b "<WKGUID=AB8153B7768811D1ADED00C04FD8D5CD,DC=w2k3,dc=vmnet1,dc=vm,dc=base>" -s base
and we should try to implement this in the server too...
metze
|
| |
|
| |
|
|
|
|
| |
use a binary search to get the right handler
|
|
|
|
| |
remove unneded overhead of a function call
|
| |
|
|
|
|
|
| |
list more DN attributes as part of samba attribute handlers
(nCName moved here)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
act like this again...
also when we already have a casefoled value we should not call ldb_dn_casefold_internal()
metze
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
- ldb_dn_get_linearized
returns a const string
- ldb_dn_alloc_linearized
allocs astring with the linearized dn
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This patch changes a lot of the code in ldb_dn.c, and also
removes and add a number of manipulation functions around.
The aim is to avoid validating a dn if not necessary as the
validation code is necessarily slow. This is mainly to speed up
internal operations where input is not user generated and so we
can assume the DNs need no validation. The code is designed to
keep the data as a string if possible.
The code is not yet 100% perfect, but pass all the tests so far.
A memleak is certainly present, I'll work on that next.
Simo.
|
|
|
|
|
|
| |
remove old unused schema module
metze
|
|
|
|
| |
metze
|
|
|
|
| |
metze
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
attributes to backend (remote) attributes.
We can't do a reverse mapping safely where the remote attribute may be
a source for multiple local attributes. (We end up with the wrong
attributes returned).
In doing this, I've modified the samba3sam.js test to be more
realistic, and fixed some failures in the handling of primaryGroupID.
I've added a new (private) helper function ldb_msg_remove_element() to
avoid a double lookup of the element name.
I've also re-formatted many of the function headers, to fit into
standard editor widths.
Andrew Bartlett
|
|
|
|
|
|
|
|
|
|
| |
as it's ugly when it free's the callers memory on failure!
- only steal the controls on a LDB_REPLY_EXTENDED, LDB_REPLY_DONE
and ignore them on LDB_REPLY_ENTRY, LDB_REPLY_REFERRAL as we currently
have not way to return them in a ldb_result (we should fix this!)
metze
|
|
|
|
| |
metze
|
| |
|
|
|
|
|
|
| |
libraries
works again now, by specifying --enable-dso to configure.
|
| |
|