1
0
mirror of https://github.com/samba-team/samba.git synced 2025-12-12 12:23:50 +03:00
Commit Graph

15 Commits

Author SHA1 Message Date
Jelmer Vernooij
6ac86f8be7 r26540: Revert my previous commit after concerns raised by Andrew. 2007-12-21 05:52:06 +01:00
Jelmer Vernooij
e53e79eebe r26539: Remove unnecessary statics. 2007-12-21 05:52:05 +01:00
Jelmer Vernooij
174aa15837 r26521: Fix newlines. 2007-12-21 05:51:40 +01:00
Andrew Bartlett
1dc771f903 r26284: Rather than just debug, push the error back up the stack as the error
string, if we fail to load the schema.

Andrew Bartlett
2007-12-21 05:48:08 +01:00
Andrew Bartlett
d3894c90f3 r25942: Make various ldb modules handle an LDB backend that enforces validity
of Base DNs in searches (returning an error of LDB_ERR_NO_SUCH_ENTRY).

We need to handle this if ldb_tdb is to behave correctly compared with
LDAP, as well as if we are using an LDAP backend.

In doing so, I realised that subtree_rename and subtree_delete
(prevention) need rather different wait loops, so it seemed easier to
split it out into it's own module.

I've fixed the licence on both of these modules to be GPLv3.

Andrew Bartlett
2007-12-21 05:45:11 +01:00
Andrew Bartlett
e5fdcda2a1 r24247: Remove extra newlines from ldb_debug() calls - it already adds one.
Andrew Bartlett
2007-10-10 15:01:30 -05:00
Andrew Tridgell
fcf38a38ac r23792: convert Samba4 to GPLv3
There are still a few tidyups of old FSF addresses to come (in both s3
and s4). More commits soon.
2007-10-10 14:59:12 -05:00
Andrew Bartlett
dcff83ebe4 r23560: - Activate metze's schema modules (from metze's schema-loading-13 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
2007-10-10 14:53:27 -05:00
Stefan Metzmacher
e3be33c1d9 r21839: add my email address
metze
2007-10-10 14:49:35 -05:00
Stefan Metzmacher
cd32613407 r20957: a value of FF0000000000000000000000000000000000000000 isn't stored as schemaInfo
so we need to use it as value if nothing is stored

metze
2007-10-10 14:44:02 -05:00
Stefan Metzmacher
308f9cf822 r20871: implement the validFSMOs constructed attribute on the rootdse
for the schema, domain naming and pdc fsmo roles

infrastructure and rid manager will be added later,
when we have module for them

metze
2007-10-10 14:43:43 -05:00
Stefan Metzmacher
63f4634443 r20866: - fix debug messages missing new lines
- use LDB_DEBUG_WARNING in some places
- debug if we're the schema master

metze
2007-10-10 14:43:42 -05:00
Stefan Metzmacher
c42dab21fb r20780: keep a dsdb_schema_fsmo struct as private data
and remember if we're the schema master

metze
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
0ef90769b4 r20778: we don't need a talloc_steal here
metze
2007-10-10 14:40:53 -05:00
Stefan Metzmacher
d78de0fb68 r20771: add an ldb module which will force the Schema FSMO Role Owner
constraints and it also loads the dsdb_schema at startup.

currently it only loads the dsdb_schema

metze
2007-10-10 14:40:51 -05:00