summaryrefslogtreecommitdiff
path: root/source4/scripting
AgeCommit message (Collapse)AuthorFilesLines
2007-12-21r26006: Improve some dependencies.Jelmer Vernooij1-0/+11
(This used to be commit 28f05bb5ef9e727298f4b61e71c42a8703374b96)
2007-12-21r26003: Split up DB_WRAP, as first step in an attempt to sanitize dependencies.Jelmer Vernooij2-2/+1
(This used to be commit 56dfcb4f2f8e74c9d8b2fe3a0df043781188a555)
2007-12-21r25966: Don't force an 8 byte width to generated SIDs, as this can actuallyAndrew Bartlett1-1/+1
end up with a SID with a space in it. Andrew Bartlett (This used to be commit 7771f59eadf7045d852e60aa365036da230b41b9)
2007-12-21r25950: Enable seperate module to prevent subtree deletes.Andrew Bartlett1-0/+1
Andrew Bartlett (This used to be commit a71414ec3efd3e52a898b58bd2ea7d986518f531)
2007-12-21r25940: Rework the samldb and templates handling.Andrew Bartlett1-5/+7
Templates just don't belong in the sam.ldb, as they don't obey any of the other rules. This moves them to a seperate templates.ldb. In samldb, this patch reworks the duplicate SID and Name detection code, to use ldb_search_exp_fmt() rather than gendb_search. This returns far more useful errors, which we now handle and report better. The call to samdb_search_for_parent_domain() has been moved in samldb, to allow both the account and SID uniqueness checks to be in the same domain. This function also returns better errors. dcesrv_drsuapi.c is updated for the new prototype of samdb_search_for_parent_domain() Andrew Bartlett (This used to be commit f1ab90c88c782c693b41795d70368650806543b5)
2007-12-21r25936: provision/newuser: don't try to set the 'memberOf' attributeStefan Metzmacher1-1/+0
metze (This used to be commit c6d959e52cf4b86a52e46402392f32450d3c3635)
2007-12-21r25921: Now also listen on ldapi by default in the LDAP serverAndrew Bartlett1-0/+11
Create a phpLDAPadmin configuration file example to use ldapi to talk to Samba4 Andrew Bartlett (This used to be commit 54f4c8ba6127757fd272bd97e301188eb69977ed)
2007-12-21r25839: use nss_wrapper code in samba4 ifStefan Metzmacher1-0/+1
--enable-nss-wrapper or --enable-developer is given metze (This used to be commit f8bc6b9ad0eec60bff7fdc5653397efd9a044a29)
2007-12-21r25831: remove unused includeStefan Metzmacher1-1/+0
metze (This used to be commit 74f5a69022db89314762b4023dd8348cf93004d7)
2007-12-21r25752: use EJS_CHECK() instead of NDR_CHECK()Stefan Metzmacher1-12/+12
metze (This used to be commit d2726e7609be4916b159c1e0ff4daea5568cf393)
2007-12-21r25751: use EJS_CHECK() instead of NDR_CHECK() in ejs codeStefan Metzmacher1-0/+8
metze (This used to be commit 14ca6a8bf90bc73e1fdb0f510be795e28977601e)
2007-12-21r25750: Update the objectclass module to improve consistency in Samba4.Andrew Bartlett1-5/+16
The aim here is to ensure that if we have CN=Users,DC=samba,DC=example,DC=com that we cannot have a DN of the form cn=admin ,cn=useRS,DC=samba,DC=example,DC=com This module pulls apart the DN, fixes up the relative DN part, and searches for the parent to copy the base from. I've used the objectclass module, as I intend to also validate the placement of child objects, by reading the allowedChildClasses virtual attribute. In the future, I'll also force the attribute names to be consistant (using the case from the schema). Andrew Bartlett (This used to be commit c0a0c69ac5a81cfcb7c7d5ba38db59f8686c30ab)
2007-12-21r25747: Implement linked attributes, for add operations.Andrew Bartlett1-0/+1
Much more work is still required here, particularly to handle this better during the provision, and to handle modifies and deletes, but this is a start. Andrew Bartlett (This used to be commit 2ba99d58e9fe1f8e4b15a58a2fdfce6e876f99b4)
2007-12-21r25694: Move subtree_rename above the partitions module. The next step is toAndrew Bartlett1-3/+4
built a linked_attributes module under this. Andrew Bartlett (This used to be commit 4f47e687e579feeb10bb866d62f0c757e5389709)
2007-12-21r25693: Implement the rest of subtree renames, now that tridge waved his magicAndrew Bartlett1-2/+2
over the ldb_tdb part of the problem. Andrew Bartlett (This used to be commit daca0cfd2fc2ec3344415d2d31f399ee3bf16151)
2007-12-21r25691: make "server role" case insensitiveAndrew Tridgell1-7/+7
(This used to be commit f61a9b706894de4fa8916b55a24f330eed9f5b0c)
2007-12-21r25624: Remove ipv4_addr hack. Only causes 4 extra includes of ↵Jelmer Vernooij1-1/+2
system/network.h because we stripped down includes. (This used to be commit 262c1c23a61f1f4fae13e0a61179fe98b682cecf)
2007-10-10r25554: Convert last instances of BOOL, True and False to the standard types.Jelmer Vernooij10-37/+37
(This used to be commit 566aa14139510788548a874e9213d91317f83ca9)
2007-10-10r25536: Fix path for messaging - this code path doesn't appear to have a ↵Jelmer Vernooij1-1/+1
test, otherwise it would've caused a crash in the testsuite earlier... (This used to be commit 89c8fd8c02830051e0199e234cc3e3b15e8c9879)
2007-10-10r25462: Remove refernece to categories from js as well.Jelmer Vernooij1-25/+0
(This used to be commit 12d7cccd7c8c632e2d49e9c21e0e139366ffe2c3)
2007-10-10r25460: use common structure in param/generic.cJelmer Vernooij1-2/+2
(This used to be commit 01ce5448f44ddda7ec864d812fe23f0fa68d1561)
2007-10-10r25446: Merge some changes I made on the way home from SFO:Jelmer Vernooij4-7/+11
2007-09-29 More higher-level passing around of lp_ctx. 2007-09-29 Fix warning. 2007-09-29 Pass loadparm contexts on a higher level. 2007-09-29 Avoid using global loadparm context. (This used to be commit 3468952e771ab31f90b6c374ade01c5550810f42)
2007-10-10r25430: Add the loadparm context to all parametric options.Jelmer Vernooij1-2/+2
(This used to be commit fd697d77c9fe67a00939a1f04b35c451316fff58)
2007-10-10r25398: Parse loadparm context to all lp_*() functions.Jelmer Vernooij6-8/+10
(This used to be commit 3fcc960839c6e5ca4de2c3c042f12f369ac5f238)
2007-10-10r25392: Add loadparm context as argument in a couple more places.Jelmer Vernooij2-2/+2
(This used to be commit c62f51cc28a37959128e78a1f34cfd4c6d3ba069)
2007-10-10r25383: Patch from Amin Azez <azez@ufomechanic.net> to give better messageAndrew Bartlett1-0/+5
when a template file is missing. Andrew Bartlett (This used to be commit 5093ea1cef910fe01a249b2d7ef602e2374e2b35)
2007-10-10r25379: Use loadparm context parameter in a lot more places.Jelmer Vernooij1-3/+3
(This used to be commit 091961b13be665061c7e88ab4e2808c015bc403e)
2007-10-10r25348: Start working on another Python wrapper.Tim Potter1-1/+1
(This used to be commit 441a0404346ce2ff72e8262c5bf6ef94d3b9f331)
2007-10-10r25304: Thankyou to Amin Azez <azez@ufomechanic.net> for pointing out that IAndrew Bartlett1-3/+3
used subobj.ROLE and not subobj.SERVERROLE as the rest of the code does. Andrew Bartlett (This used to be commit dd1cb33591819c3d4263e594c7a80de899def223)
2007-10-10r25299: Modify the provision script to take an additional argument: ↵Andrew Bartlett1-8/+39
--server-role This must be set to either 'domain controller', 'domain member' or 'standalone'. The default for the provision now changes to 'standalone'. This is not because Samba4 is particularlly useful in that mode, but because we still want a positive sign from the administrator that we should advertise as a DC. We now do more to ensure the 'standalone' and 'member server' provision output is reasonable, and try not to set odd things into the database that only belong for the DC. Andrew Bartlett (This used to be commit 4cc4ed7719aff712e735628410bd3813c7d6aa40)
2007-10-10r25266: Fix case.Jelmer Vernooij2-7/+7
(This used to be commit 935ac3189d93e53841dc47c0f9c7fcca5661a2bb)
2007-10-10r25214: use talloc_strndup_append() instead of talloc_append_string()Stefan Metzmacher1-20/+4
and ugly hacks to handle the string termination. metze (This used to be commit 32bb276920d3f6987427613c6f1bc71557d8893e)
2007-10-10r25175: Change to talloc_asprintf_append_buffer().Jeremy Allison1-5/+5
Jeremy. (This used to be commit 0844dbf597191b3e4d35a696695b229e986daec4)
2007-10-10r25113: fix compiler warningStefan Metzmacher1-1/+1
metze (This used to be commit d0ada02532d10e8b31c390ee191b94c2f2299cb0)
2007-10-10r25051: Move SWAT back to the old-style form-submit modal.Andrew Bartlett2-47/+0
The Web 2.0, async client tools were really interesting, but without developer backing they remain impossible to support into a release. The most interesting app was the LDB browser, and I intend to replace this with phpLdapAdmin, preconfigured for Apache during provision. This also removes the need to 'compile' SWAT on SVN checkouts. Andrew Bartlett (This used to be commit cda965e908055d45b1c05bc29cc791f7238d2fae)
2007-10-10r25035: Fix some more warnings, use service pointer rather than service ↵Jelmer Vernooij2-8/+9
number in more places. (This used to be commit df9cebcb97e20564359097148665bd519f31bc6f)
2007-10-10r25027: Fix more warnings.Jelmer Vernooij9-23/+23
(This used to be commit 5085c53fcfade614e83d21fc2c1a5bc43bb2a729)
2007-10-10r25026: Move param/param.h out of includes.hJelmer Vernooij5-1/+5
(This used to be commit abe8349f9b4387961ff3665d8c589d61cd2edf31)
2007-10-10r25000: Fix some more C++ compatibility warnings.Jelmer Vernooij2-8/+9
(This used to be commit 08bb1ef643ab906f1645cf6f32763dc73b1884e4)
2007-10-10r24994: Fix some C++ warnings.Jelmer Vernooij1-1/+1
(This used to be commit 925abf74fa1ed5ae726bae8781ec549302786b39)
2007-10-10r24911: Make better use of substituted variables in example named.confAndrew Bartlett1-0/+2
Andrew Bartlett (This used to be commit 9f18a9711771a88be7c38bc26ae6e59fb98f93dd)
2007-10-10r24793: The subtree_rename module is a work of fiction. An resemblance to aAndrew Bartlett1-1/+0
working module, live or dead, is purely co-incidental. Andrew Bartlett (This used to be commit 64cc31642fd2ded149631d07bc022213f19595b8)
2007-10-10r24761: Permit subtree renames in Samba4.Andrew Bartlett1-0/+1
The module is scary: On a rename, it does a search for all entries under that entry (including itself), and fires off a seperate rename call for each result. This will fail miserably on an LDAP backend, but I'll need to work on using hdb for OpenLDAP, and hope Fedora DS can implement subtree renames at some point. Andrew Bartlett (This used to be commit 13908a8cb4dd810503213203efb8d51f77f1f379)
2007-10-10r24760: Ensure we base64 encode any password being put into LDIF, to avoidAndrew Bartlett1-0/+7
provision failures when some of the random password values are illigal LDIF. Andrew Bartlett (This used to be commit 876003f6c6466bfd37ec9b05c9a1f1cc83dd9898)
2007-10-10r24729: First try and publishing a DNS service account, for folks to play with.Andrew Bartlett1-0/+3
The keytab in dns.keytab should (I hope) do the job. Andrew Bartlett (This used to be commit af4d331eef91ef7699d179d15e7337fff1eff7bb)
2007-10-10r24712: No longer expose the 'BOOL' data type in any interfaces.Jelmer Vernooij1-3/+3
(This used to be commit 1ce32673d960c8b05b6c1b1b99e1976a402417ae)
2007-10-10r24703: Use standard registry diff files when provisioning rather thanJelmer Vernooij3-8/+100
LDIF files for the registry files. (This used to be commit 67ad556b7388e5d82756e0a3cfc596e44136329c)
2007-10-10r24667: Finally merge the registry improvements that Wilco Baan Hofman and I ↵Jelmer Vernooij1-2/+0
have been working on for at least half a year now. Contains the following improvements: * proper layering (finally!) for the registry library. Distinction is now made between 'real' backends (local, remote, wine, etc) and the low-level hive backends (regf, creg, ldb, ...) that are only used by the local registry backend * tests for all important hive and registry operations * re-enable RPC-WINREG tests (still needs more work though, as some return values aren't checked yet) * write support for REGF files * dir backend now supports setting/reading values, creating keys * support for storing security descriptors * remove CREG backend as it was incomplete, didn't match the data model and wasn't used at all anyway * support for parsing ADM files as used by the policy editor (see lib/policy) * support for parsing PREG files (format used by .POL files) * new streaming interface for registry diffs (improves speed and memory usage for regdiff/regpatch significantly) ... and fixes a large number of bugs in the registry code (This used to be commit 7a1eec6358bc863dfc671c542b7185d3e39d7b5a)
2007-10-10r24640: Add a suggested BIND configuration snippit, to help with DNS ↵Andrew Bartlett1-1/+6
configuration. When we sort out GSS-TSIG on the server, we can expand this to have the 'right stuff'. Andrew Bartlett (This used to be commit 8f02ade1b2cc164f64f4ea8a371c107ccf6a81b3)
2007-10-10r24606: move librpc/rpc/table.c -> librpc/ndr/ndr_table.cStefan Metzmacher1-2/+2
and rename the containing functions to have a ndr_ prefix metze (This used to be commit cb234d43ae693af5d8a921a15c9bcac3c6f0359a)