Age | Commit message (Collapse) | Author | Files | Lines |
|
an attribute with ';' in the name.
Andrew Bartlett
(This used to be commit f4023b176eabfb3282fe9b999eac8db55a095ab0)
|
|
modules to provide an ops table directly rather than an initialization function.
(This used to be commit a71419a73a869c24121005ccbbcb4396f888888b)
|
|
(This used to be commit 13ae3108dad2f9f0f7a421d672751fa594f4e3fb)
|
|
and therefore further improve debug output.
Andrew Bartlett
(This used to be commit 5e93ca2ea16a7d10d63606ae539c0fdc4e224556)
|
|
Andrew Bartlett
(This used to be commit 6628d9f843d773ec1a5841f793b16f76910c39c4)
|
|
MMC uses.
It appears that the control value is optional, implying type 0 responses.
Failing to parse this was causing LDAP disconnects with 'unavailable
critical extension'.
Andrew Bartlett
(This used to be commit 833dfc2f2af84c45f954e428c9ea6babf100ba92)
|
|
Andrew Bartlett
(This used to be commit c3bfcf44a49c6a19579c85fb3660331177a436fb)
|
|
modules.
This will be useful when we start enforcing validity in base DNs.
Andrew Bartlett
(This used to be commit aa8348a27a6938a1a26d4a7ed3b7405966202ad8)
|
|
the arguments.
Andrew Bartlett
(This used to be commit af40b1cd88f0e932665f6fe90daae8e687a3dc0c)
|
|
(This used to be commit f42690a90c2f76e7fc130ebbdbd0f93fefacfad6)
|
|
Andrew Bartlett
(This used to be commit f4d733c3d00c90ac2e02fcc202240ae7c290463e)
|
|
(This used to be commit 4fd3770f0c3f9a3e586f1a03a759dab782e04ba7)
|
|
context caused by my objectclass module work.
Andrew Bartlett
(This used to be commit 2a835d900fee71e4461d5d18e39b4358fa6fdfba)
|
|
code,
which also does.
(This used to be commit 083b606496308741958bb9fc6b3e50a582857677)
|
|
Subclass support was designed to avoid needing to spell out the full
list of objectClasses that an entry was in. However, Samba4 now
enforces this restriction in the objectClass module, and the way
subclass matching was handled was complex and counter-intuitive in my
opinion (and did not match LDAP).
Andrew Bartlett
(This used to be commit f5ce04b904e14445a2a7e7f92e7e1f64b645c6f2)
|
|
metze
(This used to be commit 8f2db3c130ce85d38f805836a7df039822ede066)
|
|
(This used to be commit 917bd737cb07817664d9088860588d47525f5ff8)
|
|
modulesdir setting. Samba always sets this to lp_modulesdir()/ldb
(This used to be commit e672380d2156cf0421108a9c34f04f096c2afeed)
|
|
Andrew Bartlett
(This used to be commit 2ed782f7caa98003c524d70bcb97874002be57a2)
|
|
Andrew Bartlett
(This used to be commit c4c3afcdcb6ac5dc220f353b25689056484ac6c9)
|
|
is that when we all ldb_msg_add_empty(), we might realloc() the
msg->elements array. We need to ensure the source pointer (when
copying an element from the same msg) is still valid, or the data
copied.
Andrew Bartlett
(This used to be commit 0fbea30577233d00e7c6cdd4faaece0f99fc57b1)
|
|
(This used to be commit 40c0919aaa9c1b14bbaebb95ecce53eb0380fdbb)
|
|
(This used to be commit 84b468b2f8f2dffda89593f816e8bc6a8b6d42ac)
|
|
patch).
- samba3sam.js: rework the samba3sam test to not use objectCategory,
as it's has special rules (dnsName a simple match)
- ldap.js: Test the ordering of the objectClass attributes for the baseDN
- schema_init.c: Load the mayContain and mustContain (and system...) attributes when
reading the schema from ldb
- To make the schema load not suck in terms of performance, write the
schema into a static global variable
- ldif_handlers.c: Match objectCategory for equality and canonicolisation
based on the loaded schema, not simple tring manipuation
- ldb_msg.c: don't duplicate attributes when adding attributes to a list
- kludge_acl.c: return allowedAttributesEffective based on schema results
and privilages
Andrew Bartlett
(This used to be commit dcff83ebe463bc7391841f55856d7915c204d000)
|
|
in all other places too...
metze
(This used to be commit 4e32aafb9ebdcc70966aaa2e3891ec9a0959535d)
|
|
metze
(This used to be commit f6740c8b7abdaa65c8467220bf2d14e21fe71053)
|
|
supported by the system), thanks to libreplace.
(This used to be commit 1152a4f56d7402bf3aa00b5b108c5c6c668cec6b)
|
|
spotted by Volker
(This used to be commit e24812016f60f506f0df2cb5ba8c2c6987f7da40)
|
|
an attempt to work around this: Maybe it helps if we include other stuff
first.
This raises a question however: Do we want the DN handling to be locale
dependent? isalpha() can return different things depending on the
current locale.
(This used to be commit 75ba82dee052fa5f4141e66e1cb748101aa95d71)
|
|
(This used to be commit 1093875d59f1ea9b8bd82277d4f9d8366e584952)
|
|
not relative to the location of the sam.ldb, but instead
lp_private_dir().
This fixes that issue.
Andrew Bartlett
(This used to be commit c0fd6f63399d55a1938e31ae7b10689cc02ff2fa)
|
|
It *should* just be NULL from the initialisation above, but I've had
this not be the case...
Andrew Bartlett
(This used to be commit a2848dbf1fa9eafdef93bd914b12ff2f9f223a70)
|
|
where the error is from)
- Make default error string more consistant
Andrew Bartlett
(This used to be commit 7f115579d20a3112efd11444fafcbf78698fc9a1)
|
|
name the module.
Andrew Bartlett
(This used to be commit 2e85b1583b3da95db9b5b724b38748ff7d1f9efd)
|
|
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
(This used to be commit 3430d8c072407a1c33c32229095fc9db2142b6fa)
|
|
'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
(This used to be commit 2b3df7f38d7790358dbb4de1b8609bf794a351fb)
|
|
metze
(This used to be commit beb816fb78ec4a7816680611af6619740e159424)
|
|
metze
(This used to be commit f0bf86ed66f7f9995df35db55f2f3875e7dbacbe)
|
|
metze
(This used to be commit 224a31cdbf12a555b8c46786c9f83fec8e839c5a)
|
|
only in one place
metze
(This used to be commit dfdfdd6cefeac2974a4b3425a49e3dd93ad7e952)
|
|
metze
(This used to be commit b98ca57a6504c1b0fce015b1b2c3e4d228dd452e)
|
|
metze
(This used to be commit cfcd05adc03effeaf85dc776c2d5bb5244f0d6d4)
|
|
so call them
- reorder the request operations first all with explixit hooks
metze
(This used to be commit aababcbb05ad476507bba35723eaef01d18b4d4e)
|
|
metze
(This used to be commit 49c7da812c290e23bb65b98a2710fb90c4a0ece2)
|
|
Andrew Bartlett
(This used to be commit ef1ca30180b1b225579a8200b65a4853a135602f)
|
|
add ldb_get_config_basedn(), ldb_get_schema_basedn()
and ldb_get_root_basedn()
metze
(This used to be commit e28cb83904299fe01e8c0797f5429387f254ed1e)
|
|
simo,tridge: please check this.
found by the IBM checker
metze
(This used to be commit 5ac373c8b853d4527a095111253f3cb10522f5e8)
|
|
metze
(This used to be commit d20d1872d5ed1176928b85ef9811c6a5177d0148)
|
|
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
(This used to be commit 70c4a367433f8c54bdd940eb0a6a24ab976a4063)
|
|
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
(This used to be commit b97b8f5dcbce006f005e53ca79df3330e62f117b)
|