Age | Commit message (Collapse) | Author | Files | Lines |
|
Martin Kühl
<mkhl@samba.org>.
Martin took over the work done last year by Jelmer, in last year's
SoC. This was a substanital task, as the the ldb modules API changed
significantly during the past year, with the addition of async calls.
This changeset reimplements and enables the ldb_map ldb module and
adapts the example module and test case, both named samba3sam, to the
implementation.
The ldb_map module supports splitting an ldb database into two parts
(called the "local" and "remote" part) and storing the data in one of
them (the remote database) in a different format while the other acts
as a fallback.
This allows ldb to e.g. store to and load data from a remote LDAP
server and present it according to the Samba4 schema while still
allowing the LDAP to present and modify its data separately.
A complex example of this is the samba3sam module (by Jelmer
Vernooij), which maps data between the samba3 and samba4 schemas.
A simpler example is given by the entryUUID module (by Andrew
Bartlett), which handles some of the differences between AD and
OpenLDAP in operational attributes. It principally maps objectGUID,
to and from entryUUID elements. This is also an example of a module
that doesn't use the local backend as fallback storage.
This merge also splits the ldb_map.c file into smaller, more
manageable parts.
(This used to be commit af2bece4d343a9f787b2e3628848b266cec2b9f0)
|
|
pre-processed last, and get AIX and some other hosts to pass make test
again (I think the macros were being over-overridden).
Andrew Bartlett
(This used to be commit 650b99b19d3ede84848ebe747f8afbf2cce9d7e2)
|
|
pain.
Andrew Bartlett
(This used to be commit 2a604480f8dd17d52c1338e32356e9f63dec6385)
|
|
Andrew Bartlett
(This used to be commit a30d312b503c16bd1497752428c178f39dd6227f)
|
|
an error than if we don't have it. We might not be on a volume that
can store/return such a GUID.
(Try to fix one of the build farm failures).
Andrew Bartlett
(This used to be commit 73d6651f3c06d0d3bbfd9fe1a9d0f76fe19ba4af)
|
|
Andrew Bartlett
(This used to be commit 55bac30e1f7fdf8f2e81d29f8d29a269ceefb0d2)
|
|
to do
(This used to be commit ad75cf869550af66119d0293503024d41d834e02)
|
|
(This used to be commit 5f7864515008a596bbf92163ef8bd48dc8269b09)
|
|
helper function to set them.
(This used to be commit 260868bae56194fcb98d55afc22fc66d96a303df)
|
|
statements
(This used to be commit c57b6420aa4a220257df714aaccb016acb4bae24)
|
|
HAVE_PREAD_DECL/HAVE_PWRITE_DECL
and common/io.h already defines pread and pwrite as static if they are not.
remove unneded defines
(This used to be commit 941f680453a081d51f6499f9b5dc06c7e6640334)
|
|
(This used to be commit 6520e3c83acfbb7b6aa63d1cbebe8f8801db292f)
|
|
gidNumber attributes instead
Do not change unixName right now, we don't have an attribute to use in the posixGroup class,
and I think we should remove its usage altogether and look up users and groups by their uid/gid only.
Simo.
(This used to be commit d57b521aadf24a277152ec1ff1dac3210bd14316)
|
|
(This used to be commit 8c6efd7b55e4ad45e1bd10519a1b91285a4e0347)
|
|
This causes things to operate as just one transaction (locally), and
to make a minimum of TCP connections when connecting to a remote LDAP
server.
Taking advantage of this, create another file to handle loading the
Samba4 specific schema extensions. Also comment out 'middleName' and
reassign the OID to one in the Samba4 range, as it is 'stolen' from a
netscape range that is used in OpenLDAP and interenet standards for
'ref'.
Andrew Bartlett
(This used to be commit 009d0905947dec9bab81d8e6de5cb424807ffd35)
|
|
metze
(This used to be commit 0b552dadaa60cae8988cb17da95c71b3d1443f17)
|
|
metze
(This used to be commit 5609ab2116e3568e4f1a82b3ae781f17a6ffb645)
|
|
metze
(This used to be commit 785c46ed375b99f5765c2d8a2c7c1aaf400119f8)
|
|
metze
(This used to be commit bb1e4954f9aa60858a2c5b2f798f10fd75849b42)
|
|
metze
(This used to be commit 408e507f0f333c01c74747ffca2d8458b970cdbc)
|
|
metze
(This used to be commit d3e2e1af80c419ca0008e400b3d8899f2e0d0d83)
|
|
metze
(This used to be commit b9920f8ac5caee5acdecd1cf1f6410fd95b4c26e)
|
|
- and add torture tests also based on the rfc's
metze
(This used to be commit d48930a02f9560640697fd57e4bba03dc0abe284)
|
|
more fair to each of the fields (ie. don't create new code at midnight
after a long day...).
This will be useful for testing multiple changes at once and verifying
correctness. A few testing runs already demostrated some missing pieces.
rafal
(This used to be commit 809c9cca965841e8bce84f4b4ecf804ce793d807)
|
|
simultaneous async clients. This code is based on concept from Mathias Dietz <mdietz@de.ibm.com>
(This used to be commit 7e6253a5f930645baa842b887d80ea06739bca3f)
|
|
Andrew Bartlett
(This used to be commit c016db2187120991e8ad779b9df35480d7c19400)
|
|
function.
Andrew Bartlett
(This used to be commit bed17cc579d82f04e44ce3c3d1e74d999c2ab867)
|
|
rafal
(This used to be commit 04c94e4a52b9253c6d2ae6e8376338f0b20dd070)
|
|
user modify routines.
rafal
(This used to be commit dbd34fe08270ac6fbb99733273cf1a3b965209c3)
|
|
rafal
(This used to be commit a3ef0d051ac6e4a389a294ca6001338e3da23938)
|
|
to more complex form.
rafal
(This used to be commit e68e296cbea5d2a40b56f6dd7d60410e0306b838)
|
|
rafal
(This used to be commit 8d9330c490470127f192949efa9201225136edb1)
|
|
rafal
(This used to be commit 8fa1cd62ec6ce3b37700cf5ffa5c47b8c8cff977)
|
|
objectclass
metze
(This used to be commit af1efa0c790a86f68bd7f761b22478895bfdaaea)
|
|
metze
(This used to be commit 3e2d923e17544020255b7181219ca26878f6c164)
|
|
metze
(This used to be commit 246c35e008fb0cc167cdd1b13db6a50046e3f991)
|
|
(This used to be commit 9f79714389373735807c1ed8ec9f2fddaa77a9dc)
|
|
(This used to be commit 7dffabc744271b0ab98d00c0cc23600d1b536d29)
|
|
they all have rangeLower=16 rangeUpper=16
and attribute syntax 2.5.5.10
metze
(This used to be commit 932f8bec21a64be3ca84c32a2ceaea98e2ceecf9)
|
|
metze
(This used to be commit 96259f0f24b114e505241c9d2deb702a8b40f1b6)
|
|
metze
(This used to be commit 40dc7c1787c16bfc15ac87fee81d2d2d1f3d2fde)
|
|
metze
(This used to be commit 84e74a759cfa49ebc8b4ba1b8e729d6d920fc55a)
|
|
with this you can limit a search to a specific partitions
or a search over all partitions without getting referrals.
(Witch is the default behavior on the Global Catalog Port)
metze
(This used to be commit 4ccd0f8171f3748ee6efe1abd3f894d2cdf46bf4)
|
|
metze
(This used to be commit 23759a1e9b05c4fde475a9016cb0b7447656d7e7)
|
|
Volker
(This used to be commit 5cffd35fecb85e3c1407f6e6d91e846b17a7c917)
|
|
this attriute is used to group multiple attribute
to a propertySet for access control.
metze
(This used to be commit 96e9d46091c9fb4fd92782a42fcd9f2c510e9b56)
|
|
because the handlers are called within the async callbacks
in side the main search.
Also it makes no sense to give the sddl encoder the sid of the primary
domain when we need a description of a real security_descriptor,
this only makes sense for the defaultSecurityDescriptor...
metze
(This used to be commit 92f133f1ef1cd4064c9b328244d3be3351c5bab9)
|
|
metze
(This used to be commit e15a015a1d9aa3872271c0c5542e7d055a6f673a)
|
|
top->level1->level2->level3
level3 has a deny destructor
talloc_free(level1)
result: top->level3
metze
(This used to be commit 3be930b81d2caf5e13105efa02280c4fc45181cb)
|
|
(This used to be commit 300d6e724d1ce386ad53852c0645fa8de374625a)
|