summaryrefslogtreecommitdiff
path: root/source4/dsdb/schema/schema_init.c
AgeCommit message (Collapse)AuthorFilesLines
2008-03-06Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).Andrew Bartlett1-6/+13
To make Samba4, using the python provision system, pass this test required some major rework. Untested code is broken code, and some of the refactoring for a seperate provision test (which also now passes) broke things. Similarly, the iconv work has compiled, but these codepaths have never been run (NULL pointer de-reference). In working to use a local, rather than global, loadparm context, and to support using a target directory, a few things needed to be reworked, particularly around path handling. Andrew Bartlett (This used to be commit 1169e8d7bee20477b0efbfea3534ac63c83fb3d6)
2008-02-19Fix accidently introduced bug - thanks metze.Jelmer Vernooij1-1/+1
(This used to be commit d0dfdab85ac751c62b0a6d6e6b1ff128940098ed)
2008-02-19Remove uses of global_loadparm.Jelmer Vernooij1-7/+7
(This used to be commit 138aaef0781e0754cc17b3ffdaa6062ba70c0c6a)
2008-01-08r26697: Leak less memory into the ldb context.Andrew Bartlett1-3/+15
(Trying to chase down memory leaks in provision) Andrew Bartlett (This used to be commit a0cf47c3359ca5dfab90c1a5831a73b89ff9f027)
2008-01-01r26639: librpc: Pass iconv convenience on from RPC connection to NDR ↵Jelmer Vernooij1-3/+3
library, so it can be overridden by OpenChange. (This used to be commit 2f29f80e07adef1f020173f2cd6d947d0ef505ce)
2008-01-01r26638: libndr: Require explicitly specifying iconv_convenience for ↵Jelmer Vernooij1-1/+1
ndr_struct_push_blob(). (This used to be commit 61ad78ac98937ef7a9aa32075a91a1c95b7606b3)
2007-12-21r26540: Revert my previous commit after concerns raised by Andrew.Jelmer Vernooij1-1/+1
(This used to be commit 6ac86f8be7d9a8c5ab396a93e6d1e6819e11f173)
2007-12-21r26539: Remove unnecessary statics.Jelmer Vernooij1-1/+1
(This used to be commit e53e79eebef3ece6978f0a2b4a1ee0a0814bb5d2)
2007-12-21r26528: dsdb: Fix a warning.Kai Blin1-4/+3
(This used to be commit 41a1f59850345c5a2944818a9a00bc6118d05c8a)
2007-12-21r26429: Avoid use of global_smb_iconv_convenience.Jelmer Vernooij1-1/+2
(This used to be commit d37136b7abfbba75ef2e5ab855eb3382b9648b8c)
2007-12-21r26412: Add comments and refactor to reuse common code.Andrew Bartlett1-10/+29
Andrew Bartlett (This used to be commit a8b0f5af9afcc19bd869ff19e1456dbe9d2713b6)
2007-12-21r26316: Use contexts for conversion functions.Jelmer Vernooij1-1/+1
(This used to be commit f6420d933b5b011d428974f3a2a57edf19e6f482)
2007-12-21r25920: ndr: change NTSTAUS into enum ndr_err_code (samba4 callers)Stefan Metzmacher1-14/+18
lib/messaging/ lib/registry/ lib/ldb-samba/ librpc/rpc/ auth/auth_winbind.c auth/gensec/ auth/kerberos/ dsdb/repl/ dsdb/samdb/ dsdb/schema/ torture/ cluster/ctdb/ kdc/ ntvfs/ipc/ torture/rap/ ntvfs/ utils/getntacl.c ntptr/ smb_server/ libcli/wrepl/ wrepl_server/ libcli/cldap/ libcli/dgram/ libcli/ldap/ libcli/raw/ libcli/nbt/ libnet/ winbind/ rpc_server/ metze (This used to be commit 6223c7fddc972687eb577e04fc1c8e0604c35435)
2007-12-21r25786: Add function required by linked_attributes module (We need a list ofAndrew Bartlett1-0/+20
all linked attributes in the schema, so we can try and find them). Andrew Bartlett (This used to be commit 9cc706e06079899e58d4806ec27f86ae019cff60)
2007-12-21r25749: Add function required by linked_attributes module.Andrew Bartlett1-0/+15
Andrew Bartlett (This used to be commit cd6409478744b9755c3a048d8d411dbe99f977f0)
2007-10-10r25553: Convert to standard bool type.Jelmer Vernooij1-65/+65
(This used to be commit b7371f1a191fb86834c0d586d094f39f0b04544b)
2007-10-10r24631: Fix up format warnings, found on my Fedora 7 x86_64 workstation.Andrew Bartlett1-2/+2
Andrew Bartlett (This used to be commit 3d74d178bfd89127ff387939e848b240e638cc35)
2007-10-10r24060: Fix bug #4806 by Matthias Wallnöfer <mwallnoefer@yahoo.de>: We need toAndrew Bartlett1-2/+6
include the attribute allowedChildClassesEffective for MMC to allow the creation of containers. This may need further refinement, but it seems to work for now. Andrew Bartlett (This used to be commit d053b8e218767cb12e20a00fb18995e30869db11)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23699: when we create the global schema, remember to set the ldb opaque so weAndrew Tridgell1-1/+3
can find it again (This used to be commit 968e70b2aa478cfd49321e3386b505fd00a81527)
2007-10-10r23695: By not using the NULL context for these large structures, we don'tAndrew Bartlett1-1/+1
falsely report them as leaked. Andrew Bartlett (This used to be commit e3eb6c2cf63edf50d93a87f656df3ae5aa6efc00)
2007-10-10r23560: - Activate metze's schema modules (from metze's schema-loading-13 ↵Andrew Bartlett1-4/+86
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)
2007-10-10r23419: initialize variable...Stefan Metzmacher1-0/+1
metze (This used to be commit d19293982bb534c9c4ebfe82f72224813e14bec9)
2007-10-10r22992: add a function to attach the dsdb_schema to a ldb_contextStefan Metzmacher1-2/+124
loaded from ldif files. The first file should contain the info's about the 'prefixMap' attribute in the first ldif chunk. The 2nd file should contain all attributes and classes. metze (This used to be commit 587f70e153f17bcb6695bed831d9cadf93522690)
2007-10-10r21839: add my email addressStefan Metzmacher1-1/+1
metze (This used to be commit e3be33c1d9f9e44ef37e6ef72a23576474f6e725)
2007-10-10r20766: when creating dsdb_attribute or dsdb_class structs from ldb, try the ↵Stefan Metzmacher1-8/+48
oid mapping if the dsdb_schema has mappings attached metze (This used to be commit 6ecd1342ded63b99b51250714127344a5304c47f)
2007-10-10r20764: fix some little bugsStefan Metzmacher1-4/+5
metze (This used to be commit 1c3d1723e9a386038aaf34a5df7c279afa7d48a2)
2007-10-10r20763: add function to get the oid mappings in drsuapi or ldb formStefan Metzmacher1-0/+65
metze (This used to be commit cab3acb9bbb617bd6450134399f5bd7ad2770454)
2007-10-10r20733: add a function to load the oid mappings from ldb_val'sStefan Metzmacher1-2/+47
metze (This used to be commit b7f681a8a144907fa8e0a6503345da7c391dd156)
2007-10-10r20576: add functions to get and set dsdb_schema on the ldb contextStefan Metzmacher1-0/+34
metze (This used to be commit 2e054be8e023e23420e7ddd8cd73497400a875f9)
2007-10-10r20523: match the lDAPDisplayName case insensitiveStefan Metzmacher1-2/+2
metze (This used to be commit c32ec0a10041dba50be23611f25e4aae8c45830c)
2007-10-10r20504: we handle the attribute values always as DATA_BLOB's andStefan Metzmacher1-33/+33
don't need the union with the attribute id as switch anymore metze (This used to be commit d47c81923d0731edd314215c6f0b2eb3d1ee252d)
2007-10-10r20484: get rid of the special case for DN stringsStefan Metzmacher1-2/+29
metze (This used to be commit 4c2addf2dd5b74fa0026249ce373ff4becaaef40)
2007-10-10r20477: get rid of the spcial case for unicode stringsStefan Metzmacher1-6/+22
metze (This used to be commit ececda44c74ae4ccbaa0492acb67a88aa5c05126)
2007-10-10r20476: get rid of extra case for uint32 valuesStefan Metzmacher1-3/+4
metze (This used to be commit 13ccd405b5dbb595e5ab67879260462e5a767a8b)
2007-10-10r20475: remove special case for GUID valuesStefan Metzmacher1-8/+16
metze (This used to be commit b7ab1c0039cd8000861cd89ca072d9d2b0bbf9de)
2007-10-10r20473: remove special case for boolean valuesStefan Metzmacher1-7/+13
metze (This used to be commit 8d80629c5dde44a06b597e1247ec96ef1cd3f2e1)
2007-10-10r20439: this should be const pointersStefan Metzmacher1-2/+2
metze (This used to be commit 1313b4774542fe5a0013d501225d5b4e8d585128)
2007-10-10r20416: fix compiler warningsStefan Metzmacher1-2/+2
metze (This used to be commit bfb0c04dffdff62a6535aa31b888db636ac2f8d5)
2007-10-10r20415: add a function to get the lDAPDisplayName for an objectClassStefan Metzmacher1-0/+20
or attribute metze (This used to be commit 437db390795be8d6a375f2d44240b66d4406e148)
2007-10-10r20410: add functions to access dsdb_attributes and dsdb_classes by oid, ↵Stefan Metzmacher1-0/+110
uint32_id or ldap name they will be optimized uing binary searches later... metze (This used to be commit e6a24c2172009b0225fa189b7107217838d286d3)
2007-10-10r20409: load the attribute syntax for the attributeStefan Metzmacher1-0/+10
metze (This used to be commit d042aac3f72ab2022479bee48e49a0ab289315f5)
2007-10-10r20408: fix cut'n'paste errorStefan Metzmacher1-1/+1
metze (This used to be commit af78a86d2cf0f05a048c5dfd86ea21c92a9d75b0)
2007-10-10r20382: systemAuxiliaryClass and auxiliaryClass are also multivalued attributesStefan Metzmacher1-16/+16
metze (This used to be commit 5440c0a99fd8dced9020a47af4dbee74df504219)
2007-10-10r20379: - make sure the schema info blob is 21 bytes longStefan Metzmacher1-0/+64
- add a function to verify the incoming mapping and schema info metze (This used to be commit 5f0da4a3ae4eae8a6f14f813a65583cef78e73e4)
2007-10-10r20331: the last entry in the oid mapping array which starts with 0xFFStefan Metzmacher1-3/+3
is the content of the schemaInfo attribute of the schema head object metze (This used to be commit bfb7756bb0f1bbd9a7a17c9689cf2ea351247116)
2007-10-10r20307: remove unused varsStefan Metzmacher1-4/+0
metze (This used to be commit 0352b7bbc659f3683355b793630fe44e9fd5b8cb)
2007-10-10r20306: remove the static oid mapping tableStefan Metzmacher1-119/+127
and attach the table to the dsdb_schema metze (This used to be commit df63995ec5f322d17145664c1f174783861e1723)
2007-10-10r20233: add functions to create a dsdb_attribute and dsdb_class fromStefan Metzmacher1-1/+263
a drsuapi_DsReplicaObject metze (This used to be commit 9168236ddd3d8ed9daa1e47be1e6b12d2bc348b6)
2007-10-10r20232: specify attribute name and structure element name always togetherStefan Metzmacher1-66/+81
there're a view elements where both values doesn't match LDAP-SCHEMA now successful loads the schema metze (This used to be commit 5d7827f45ec05acaca28c94fd6a5d25f148d011c)