Andrew Bartlett
ba864cfd7c
Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local
2008-02-28 10:33:54 +11:00
Andrew Bartlett
447d5a7954
Users and computers now share the same template.
...
Slowly work away at the samldb module again, it is clear that AD does
not use much of a templating system. samAccountType is managed, as
far as I can tell, when groupType or userAccountControl changes.
Andrew Bartlett
2008-02-28 08:43:10 +11:00
Matthias Dieter Wallnöfer
d2eb404ba1
Fix cases, add version number. ( #4935 )
2008-02-27 13:47:34 +01:00
Kai Blin
6ac6de8476
idmap: Handle uid->SID mapping
2008-02-21 11:21:59 +01:00
Jelmer Vernooij
a0a05c5a3d
Make setup/provision the name of the python provision script now that that is the default.
2008-02-21 01:22:20 +01:00
Andrew Bartlett
b1d2584277
Be consistant about --ldap-backend-type
...
Make the EJS provision and the selftest scripts both use the new
syntax for speicifying the ldap backend type.
Andrew Bartlett
2008-02-21 10:43:13 +11:00
Jelmer Vernooij
f70aef8e51
Add python version of newuser.py.
2008-02-13 01:22:09 +01:00
Jelmer Vernooij
42466d960c
Add blackbox test for provisioning code to make sure it can be run more than once in a row.
2008-02-12 01:39:31 +01:00
Jelmer Vernooij
d4fb8b0d86
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-trivial
2008-02-09 03:11:04 +01:00
Jelmer Vernooij
b173fa6bd2
Fix provision python test.
2008-02-09 03:09:56 +01:00
Andrew Bartlett
a466dda118
From a request from Peter Huang, include IPsec sechema.
...
(We may need to include more defaults in the template, but I want to
start small for now).
Andrew Bartlett
2008-02-09 09:59:45 +11:00
Andrew Bartlett
c8b0a8a196
Remove unused parameter from provision()
...
Andrew Bartlett
2008-02-08 17:12:54 +11:00
Jelmer Vernooij
66df250ff3
python/provision: Create private dir if it didn't exist yet.
2008-01-25 01:41:06 +01:00
Jelmer Vernooij
688adcbb63
python/provision: Reconcile code partitions-only provisioning and generic provisioning, some other minor refactoring of the provisioning.
...
Pair-programmed by Andrew and me using obby :-)
2008-01-25 01:02:13 +01:00
Andrew Bartlett
ae2ea1bd0c
Make the repl_meta_data module the default for domain controllers.
...
Andrew Bartlett
2008-01-24 16:17:45 +11:00
Andrew Bartlett
e9bb130d63
Kill another sub that the modules will handle for us.
2008-01-24 11:33:37 +11:00
Andrew Bartlett
f65e5c1644
Remove useless subs from the ejs provision
...
The less things we manually place into the templates, the easier the
conversion to python will be.
Andrew Bartlett
2008-01-24 11:26:21 +11:00
Jelmer Vernooij
b3afde0f00
python: Add convenience function for getting command line loadparm context
...
and default to using system smb.conf.
2008-01-23 23:38:57 +01:00
Andrew Bartlett
c2f2e01357
Remove default 'showInAdvancedViewOnly' values.
...
This means we only show and set the values when they are not the
values the schema and objectclass module would impose.
Andrew Bartlett
2008-01-18 18:10:18 +11:00
Andrew Bartlett
e9003feb1b
Don't set 'name' in the LDIF, this is handled by the rdn_name module.
...
Andrew Bartlett
2008-01-18 17:08:34 +11:00
Andrew Bartlett
f6dbdf34e8
Don't manually specify instanceID in the template files.
...
The instanceid module creates this automaticlly, so we don't need this
any more.
Andrew Bartlett
2008-01-18 13:30:20 +11:00
Andrew Bartlett
ffb12aad8a
Use syncrepl on all OpenLDAP databases (creates contextCSN attribute)
...
This module needs to be loaded on each database, not just the main
partition. We use it to create the usn for the entries.
Andrew Bartlett
2008-01-18 13:28:52 +11:00
Andrew Bartlett
d822dfa017
Remove --ldap-base from the python provision script
...
(This is a merge from the ejs script)
Andrew Bartlett
2008-01-18 13:25:01 +11:00
Andrew Bartlett
e77375758d
provision: simplfy by removing old code to manually create baseDNs.
...
Previously, we would create the first record in the DB as an LDIF
file, with the expectation that the administrator would use slapadd to
create the database.
We now do everything over LDAP, which is far simpler, and allows the
LDB module chain to do its work, without special cases.
Also fix naming of the output schema when suggesting the comamnd line
to run ad2oLschema in provision-backend.
Andrew Bartlett
2008-01-17 12:00:27 +11:00
Andrew Bartlett
4c869c54c2
OpenLDAP backend: Place the refint overlay after the memberof overlay
...
This still doesn't work for me, but is the recommended order.
Andrew Bartlett
2008-01-17 10:35:08 +11:00
Andrew Bartlett
f7f765c29b
Start generating a configuration for the refint overlay. This
...
OpenLDAP module should ensure that after a subtree rename, attributes
are still consistant.
Andrew Bartlett
2008-01-16 09:26:14 +11:00
Andrew Bartlett
e3a76be047
Add in new module to normalise DNs being returned from OpenLDAP. This
...
fixes the case of the attribute in teh DN.
Fix option spelling for example re-provision
Andrew Bartlett
2008-01-11 10:44:49 +11:00
Andrew Bartlett
48dc07902f
Make Samba4 and Fedora DS happier
...
Recent changes to Samba4 have made the Fedora DS backend fail. This
is a start on fixing that.
Andrew Bartlett
2008-01-11 09:54:22 +11:00
Jelmer Vernooij
fdd2ba336b
r26691: registry: Add subkeys required for Server Manager Alerts and Peplication. See bugs 4934 and 4935.
2008-01-07 16:42:02 -06:00
Andrew Bartlett
51cd93344d
r26686: Fix bug 5143 by Jason Tarbet. This prevented an easy cut-and-paste of
...
the provision options used.
Andrew Bartlett
2008-01-06 23:57:02 -06:00
Andrew Bartlett
3b6f461e9a
r26636: Remove useless 'backend' parameter, and make the memberof overlay use global.
...
Andrew Bartlett
2007-12-31 22:06:01 -06:00
Andrew Bartlett
f2731fddf0
r26635: The OpenLDAP folks have been very accommodating, and their memberof plugin allows the error being returned to be adjusted.
...
Andrew Bartlett
2007-12-31 21:33:05 -06:00
Jelmer Vernooij
3ee6209407
r26622: python: Update license version, clarify copyright.
2007-12-28 10:33:02 -06:00
Jelmer Vernooij
46580d51d3
r26621: vampire: Add simple Python-based vampire script
2007-12-28 10:33:01 -06:00
Andrew Bartlett
5a4a2d10bc
r26610: Write out a memberof.conf, to run the memberof plugin on all linked
...
attributes, as found in the schema.
Index 'cn', as otherwise exact match searches on this attribute always
fail (need to figure out what is so special about cn in OpenLDAP).
Andrew Bartlett
2007-12-26 22:21:01 -06:00
Jelmer Vernooij
d649f73431
r26598: Simplify the way Python tests are run.
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
2227fb6df6
r26596: Fixed upgrade.py.
...
Added blackbox tests for provision and upgrade Python scripts.
Clean up temporary files created by the Python tests.
2007-12-26 11:57:08 -06:00
Jelmer Vernooij
150cf39fbd
r26593: - More work on the python versions of samba3dump and the samba3sam tests.
...
- Initial work converting the upgrade code to Python.
- Removed the old EJS upgrade code because it has been broken for a long time.
2007-12-26 11:57:07 -06:00
Jelmer Vernooij
b07ca944ba
r26562: Fix provisioning using Python.
2007-12-24 01:51:00 -06:00
Jelmer Vernooij
40bf88c8a7
r26535: Get rid of all-knowing ProvisionSettings object.
2007-12-21 05:51:56 +01:00
Jelmer Vernooij
af28f0c56d
r26526: Fix argument value.
2007-12-21 05:51:49 +01:00
Jelmer Vernooij
ac1083178f
r26523: Refactor provisioning code.
2007-12-21 05:51:44 +01:00
Jelmer Vernooij
a8b1fe15ac
r26520: More Python updates.
2007-12-21 05:51:31 +01:00
Jelmer Vernooij
7a15b486ba
r26517: Add functions for setting and getting parameters on a LoadParm.
...
Pass loadparm context along to Ldb contexts.
Other minor Python improvements.
2007-12-21 05:51:23 +01:00
Jelmer Vernooij
b4ae4cbfe5
r26509: Don't make boolean options eat the next argument.
2007-12-21 05:51:14 +01:00
Jelmer Vernooij
73bd4a9566
r26506: Start running (really trivial) tests for upgrade script.
2007-12-21 05:51:12 +01:00
Jelmer Vernooij
d240225166
r26505: Add python bindings for some samdb-related functions, improve provisioning in python.
2007-12-21 05:51:09 +01:00
Jelmer Vernooij
1b89311e5f
r26503: Change order of arguments in param interface so it's easier to make the
...
section name optional. Fix several smaller bits and pieces in the Python code.
2007-12-21 05:51:06 +01:00
Jelmer Vernooij
dbebb4ef47
r26475: Add ldb.set_credentials function.
2007-12-21 05:50:35 +01:00
Andrew Bartlett
1ffada95d2
r26424: Patch and hits from Howard Chu <hyc@symas.com> for our automated setup
...
of OpenLDAP.
This makes it consistant with the Fedora DS setup, and doesn't mix
both hdb and bdb.
Andrew Bartlett
2007-12-21 05:49:51 +01:00