summaryrefslogtreecommitdiff
path: root/testprogs/ejs/minschema.js
AgeCommit message (Collapse)AuthorFilesLines
2008-08-15Generate the subSchema in cn=AggregateAndrew Bartlett1-40/+1
This reads the schema from the in-memory structure, when the magic attributes are requested. The code is a modified version of that used in the ad2oLschema tool (now shared). The schema_fsmo module handles the insertion of the generated result. As such, this commit also removes these entries from the setup/schema.ldif Metze's previous stub of this functionality is also removed. Andrew Bartlett (This used to be commit c7c32ec7b42bdf0f7b669644516438c71b364e60)
2008-03-04Don't hardcode objectCategory into the schema, even in the schema.Andrew Bartlett1-3/+0
We now load the schema early enough that we can generate this too! Andrew Bartlett (This used to be commit 1adc74c65a3219fc110964ccdf9a9d60a84831da)
2007-10-10r23558: MMC seems to ask for this, so I think we need to include it in our ↵Andrew Bartlett1-0/+1
schema. Andrew Bartlett (This used to be commit ef1899054e2532c8975d03810b52a0636d2d5f8c)
2007-10-10r21351: Change ldb ejs bindings return codes.Simo Sorce1-27/+27
We were returning just true/false and discarding error number and string. This checking probably breaks swat, will fix it in next round as swat is what made me look into this as I had no way to get back error messages to show to the users. Simo. (This used to be commit 35886b4ae68be475b0fc8b2689ca04d766661261)
2007-10-10r21000: add some options to control what ldif is dumpedStefan Metzmacher1-5/+43
default is dump everything metze (This used to be commit 4ceb12f5d3c750273bb6ad58cefb1fd1b47643d4)
2007-10-10r20999: - update the list of attributes for classSchema and atttributeSchema ↵Stefan Metzmacher1-28/+74
objects - use ${SCHEMADN} instead of CN=Schema,CN=Configuration,${BASEDN} - do not include autogenerated values: instanceType, cn and name in the ldif output - take care of the systemOnly attribute and a resulting NO-USER-MODIFICATION metze (This used to be commit 30a0e8b26e4b49927d733ac05e6032350fe22e9f)
2007-10-10r17839: do not reference possibleInferiors we have not extractedSimo Sorce1-9/+81
trim duplicate may attributes (This used to be commit 4975659fd70abdbae42ee378b7be766102f4df55)
2007-10-10r17662: some more enhancements to our schema extraction tool,Simo Sorce1-1/+27
with a nasty hack in minschema.js that I really hate (This used to be commit 74c40719f2965e2bc055e539f0933d95df070fbf)
2007-10-10r17648: update minschema.jsSimo Sorce1-11/+37
this version returns also oMSyntax and oMObjectClass and also use the right value for the objects CNs add a nasty hack to ejs' mprLdbMessage() to handle binary blobs situations (This used to be commit 8dd1c1c05bc592d76d6e34b303048faf05c0fa6e)
2007-10-10r17646: Use authentication if specified.Andrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 67c9cd508ed9b28b4d605b79f6de421071177fa7)
2007-10-10r11467: yay! mmc now accepts our schema. The trick was to get all the OIDAndrew Tridgell1-0/+14
mappings right for the attributeTypes field of the aggregate schema now to add the display specifiers and I won't need the proxy module any more (This used to be commit 69264362bd408f493487482a8d5e9779d9a0d475)
2007-10-10r11463: more progress on the schema generator. mmc now accepts all partsAndrew Tridgell1-3/+23
except the attributeTypes fields of the Aggregrate record. Proxying just that field and the display specifiers gives us a working mmc client hopefully i'll work out what it doesn't like about the attributeTypes field soon (This used to be commit 3af867a3f4a5fd702089400d1687e2aff017f48a)
2007-10-10r11436: this is work in progress for generating the schema we need for our ADSAndrew Tridgell1-18/+507
ldap server. It's still not quite right, and I'm chasing down a few errors that mmc throws up, but its a lot closer than it was. I had to change the approach quite substantially over the last couple of days, but this approach now seems to be working out. (This used to be commit 38ea11510c8824285d072fe0e03e443d9d584271)
2007-10-10r10990: the beginnings of a program designed to work out the minimal schemaAndrew Tridgell1-0/+112
needed to represent all the current records on a ADS LDAP server. The idea is we will use something based on this code to work out exactly what schema elements we will need for our initial ADS schema. I plan on expanding this code to automatically work out attribute properties, and write out a schema file that we can load into ldb. Interestingly, it looks like we only need 43 objectclasses and around 200 attributes to represent all records of a newly installed w2k3 ADS server. (This used to be commit 7b0ae77757d347d2b0f5bac3a49e915e24c3ab78)