1
0
mirror of https://github.com/samba-team/samba.git synced 2025-01-15 23:24:37 +03:00

114 Commits

Author SHA1 Message Date
Andrew Bartlett
45d60f5bd9 Always print the slapd startup command
(This used to be commit b1d05e7d14c65133e8ab0ff9d41a26fa7e3d41d3)
2008-07-28 20:18:17 +10:00
Andrew Bartlett
cff30c6da6 Remove unused function and make sensitive directories private.
(This used to be commit e23333d16397606d38e90684d2d916b5b967cde4)
2008-07-28 08:04:15 +10:00
Andrew Bartlett
1f285560bc Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-local
(This used to be commit b12dd8ee5443ebfc204d1684f541d68ffb351197)
2008-07-25 11:58:51 +10:00
Andrew Bartlett
11798902dc Complain if we are told to use an ldap backend, without the type
(This used to be commit e9c3c9ad8289ee48efa998ab6b486250dcd40b52)
2008-07-25 08:45:16 +10:00
Andrew Bartlett
c9c296b6bb Install'named.txt' to private/ as documentation.
This document is much more use when subbed with all the right things.

Andrew Bartlett
(This used to be commit 136a85599815670c807f212d7d4003ec53a13729)
2008-07-22 11:09:18 +10:00
Matthias Dieter Wallnöfer
fb3e663678 Improve DNS and Group poicy configurations.
- fixes bug #4813 (simplify DNS setup)
  - This reworks the named.conf to be a fully fledged include
  - This also moves the documentation into named.txt
 - improves bug #4900 (Group policy support in Samba)
   - by creating an empty GPT.INI
 - fixes bug #5582 (DNS: Enhanced zone file)
   - This is now closer to the zone file AD creates

committed by Andrew Bartlett
(This used to be commit 74d684f6b329d7dd573cdc55e16bb8e629474b02)
2008-07-22 11:06:47 +10:00
Andrew Bartlett
3408a2d18f Make a seperate template for the refint configuration too
(This used to be commit d2a527acc5ee6fe9b943657dc9c3ace920b2d619)
2008-07-18 18:58:56 +10:00
Andrew Bartlett
cfc2063f23 Put the memberof template into a seperate setup/ file.
Set a memberof-dn in a fruitless attempt to fix the ACL problem I'm
having with OpenLDAP

Andrew Bartlett
(This used to be commit 6d6e03834a1a77a8ceba41fbe8c9d49680065ba3)
2008-07-18 18:44:07 +10:00
Andrew Bartlett
fe9fa62a05 Reorder whitespace in generated slapd.conf
This helps us see the real groupings in the generated memberOf
handling.

Andrew Bartlett
(This used to be commit ec70ebb8310e563324233662f8e779c55fb87514)
2008-07-16 14:04:24 +10:00
Andrew Bartlett
e400b3ec4e Fix asking for credentials for non-LDAP provisions.
(This used to be commit 78416f4840df4f8d1f9cc5e46a48b19c86888050)
2008-07-15 18:44:58 +10:00
Andrew Bartlett
0f1eea2672 Rework provision to handle both simple and SASL binds.
Fedora DS is still setup for simple binds only, at this point.
(it also fails on other issues).

Andrew Bartlett
(This used to be commit b24c572d5a38c1f6906751c2ad2f809e1995b510)
2008-07-15 15:46:32 +10:00
Andrew Bartlett
a6b842f963 Connect to the LDAP backend with SASL credentials.
This reworks our LDAP backend code to move from anonymous access to a
shared-secret SASL-protected connection.  (SASL selects NTLM or
DIGEST-MD5 on my system).

To get this working, we must pre-populate the LDAP backend with a DN
to store ths SASL secret on, and we use back-ldif for this.

This gives us a reasonable basis to deploy a replicated OpenLDAP
backend solution.

Andrew Bartlett
(This used to be commit cd0745253c4a9ec59a035e830e54d74a05b71aaa)
2008-07-15 15:15:12 +10:00
Andrew Bartlett
9ea25cacf1 Add a blackbox test for the provision-backend script.
This test (as most tests do :-) found a few bugs, also fixed in this
commit.

Andrew Bartlett
(This used to be commit d96a6482dad54d1d27a87107865e833a9c32cf53)
2008-06-19 11:05:20 +10:00
Simo Sorce
370f95acfc Try to get a bit further with provisioning
(This used to be commit 649f6c0c1084828dda7d50bd2904208192de77da)
2008-06-16 17:52:50 -04:00
Jelmer Vernooij
2772871146 Fix samdb python test.
(This used to be commit 0e3d488cc108174ca0f875aab16b9771c2933f19)
2008-05-30 14:15:40 +02:00
Andrew Bartlett
b9babfe4cc Fix up provision and samdb tests.
This fixes up the provision to operate with a target directory - it
must override the smb.conf in this case.

Andrew Bartlett
(This used to be commit 89fc39f7edb214065aff461bc225f41443eae3c7)
2008-05-30 14:26:47 +10:00
Andrew Bartlett
b7c8e020a6 Print prefixMap in a human-readable format.
This should allow the prefixMap to be edited, until we find the right
way to autogenerate it.

Andrew Bartlett
(This used to be commit 24ae9a55ec326807afd8d5bfa0a422a6668bd7c3)
2008-05-29 18:38:17 +10:00
Andrew Kroeger
815c0ef2ed provision: Add missing string parameter token when assigning ldap_backend.
(This used to be commit 7d26145a7fba22b2e1c7c57053aab3180a22089d)
2008-05-28 22:43:25 -05:00
Jelmer Vernooij
73b789b6d2 Add docstrings to a couple more python modules.
(This used to be commit b4560c90e5e8d3a35367d3a21d361dc4c9c0de23)
2008-05-24 04:01:57 +02:00
Jelmer Vernooij
a203ee1ab1 Fix indentation, add docstring in provisioning script.
(This used to be commit 86a8a085496c292b390c0d6362e3e4d9980df83f)
2008-05-23 16:43:26 +02:00
Jelmer Vernooij
e3d000f3bf Some more PEP improvements.
(This used to be commit 015ca850df9b4c8112b033130023909b1d0b78b7)
2008-05-23 16:29:08 +02:00
Jelmer Vernooij
cceac63aaa Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into v4-0-wsgi
Conflicts:

	source/scripting/python/samba/provision.py
(This used to be commit d27de633656f8a699222df77c4c58326890889a2)
2008-05-23 16:24:07 +02:00
Jelmer Vernooij
c401aa9357 Use restructuredText formatting for docstrings.
(This used to be commit 0cc58decd74d20f3d7dff93ddef1c8bce4d49ad0)
2008-05-23 00:37:22 +02:00
Andrew Kroeger
bf3f3af926 provision: Generate krb5.conf template separate from named.conf template.
(This used to be commit ebf130e9e57b640129cf0d05dbd7d210b71ea371)
2008-05-21 20:46:15 -05:00
Andrew Kroeger
25ea110c38 provision: Create instructions for enabling DNS GSS-TSIG updates.
Added code to the python provisioning to create the named.conf file that was
previously generated by the EJS provisioning.

Updated the named.conf template to provide the additional details necessary
to get things working.
(This used to be commit 0b7a6bfcba1b906dc4d461882b4c3fe3c91c44e0)
2008-05-18 01:54:57 -05:00
Jelmer Vernooij
251f6bd991 make sure to always use string version of uuid rather than object.
(This used to be commit bcd5fc7dc9899deb9fa84fdeeb21ed2ddb921308)
2008-05-11 04:36:37 +02:00
Jelmer Vernooij
5319d9620b Use consistent function names with the standard Python uuid module that is available in >= 2.4.
(This used to be commit 60d458e3195eef6baf655fee0da7c3f68517e8e6)
2008-05-11 03:31:26 +02:00
Andrew Bartlett
2ddd23a875 Re-add 'db' subdirectory for LDAP backend provision
Andrew Bartlett
(This used to be commit 19890c0d15adf4f099365f276a4bfdd3f4de52b6)
2008-04-15 17:10:47 +02:00
Andrew Bartlett
f8f4856ab7 Fix provision-backend script
Andrew Bartlett
(This used to be commit ee6e4f8da229ddeca856a6db94236367aae06f63)
2008-04-15 15:52:52 +02:00
Andrew Bartlett
e44f0e7b75 Don't reopen the sam.ldb again
Andrew Bartlett
(This used to be commit b51b8a2d846284de4dff736fc18cf747c188de96)
2008-04-11 19:33:52 +10:00
Andrew Bartlett
393007315d Far less cryptic traceback when you have an existing smb.conf
When the user has an existing smb.conf, but no [netlogon] or [sysvol]
share, the provision script would trigger a traceback.  While we still
need to abort in this situation, we do so now with a useful error.

Andrew Bartlett
(This used to be commit 10a8b7ea487f9725f69b02c4dd9cf5e1f67a23ab)
2008-04-11 19:04:43 +10:00
Andrew Bartlett
ae977ef247 Fix merge errors on C provision interface after jelmer's good work.
Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into 4-0-abartlet

Conflicts:

	source/torture/local/torture.c
(This used to be commit 5bf1c89cf8af08fbcf4f5089079920840daad7b8)
2008-04-11 11:11:42 +10:00
Jelmer Vernooij
ad8e3e4192 Add infrastructure for returning ProvisionResult in C provision code.
(This used to be commit 98c3d34eb233be284e8c8994cca337be25c72968)
2008-04-10 05:23:17 +02:00
Andrew Bartlett
b202b6e7d4 Fix up provision to specify SERVERDN in more places.
Andrew Bartlett
(This used to be commit d01d542502f25d6c731204ecb3d33720a1706581)
2008-04-09 15:32:49 +10:00
Andrew Bartlett
9d2948f4bd Don't fill in the secrets DB unless we make the entries.
Leave filling in (we still initialise it) the secrets DB for the join
or vampire code.

Andrew Bartlett
(This used to be commit c93208c13ce91b334eadf0ea02fa41354e761e97)
2008-04-09 14:57:57 +10:00
Jelmer Vernooij
ac10ac62c1 Add docstring, PEP8.
(This used to be commit f8cac3735c9a19baa313c4b61abee144da303ce1)
2008-04-09 03:51:41 +02:00
Andrew Bartlett
b2805c50ee Re-add support for the --ldap-backend-port option to provision-backend
This option allows Fedora DS multi-master replication to work.  I've
tried to update the wiki and scripts to the largely consistant with
each other.

Andrew Bartlett
(This used to be commit 42393c830733b2cc99ebccdafe944fcf3d82734f)
2008-04-08 17:28:25 +10:00
Jelmer Vernooij
7c7880695b More PEP8 compliancy.
(This used to be commit d16b30d005933c9cc73f9196a3b77829d23687a0)
2008-04-06 00:40:01 +02:00
Jelmer Vernooij
3e97aa73c2 Simplify some code, fix style.
(This used to be commit 1c983e4e4dfb93387791c36dc96696c4fffcfeb7)
2008-04-05 16:32:28 +02:00
Jelmer Vernooij
14e443b868 Improve PEP8 (Python code style) compliancy a bit.
(This used to be commit c7d388a6e2153234fe67daf1af094fc346e1da61)
2008-04-05 16:13:42 +02:00
Andrew Bartlett
c764791100 Clean up provision and rootdse module to hard-code less stuff.
In particular, allow for the server DN to be in a different site
(possible outcome of a DRS replication).

Andrew Bartlett
(This used to be commit 9ee4e39fe178317f42fd9a0adceea24b55dfe0f1)
2008-04-04 12:25:19 +11:00
Kai Blin
c26387a473 provision: Remove backup group mapping
Some distros seem to neither have a backup nor a staff group.
(This used to be commit 21fcf7c419658b3ae296428ca7a4ccf2288c17fe)
2008-04-03 00:01:34 +02:00
Kai Blin
8ac91d9132 provision: Set up id mappings in the idmap db, only map Administrator.
(This used to be commit 206b7d387c6d17e5cc40fd45b489abac9235a7a4)
2008-04-02 23:07:53 +02:00
Andrew Bartlett
4ccb384327 Fix merge of my host GUID removal and the IPv6 addition to provision
Merge branch 'v4-0-ipv6' of git://git.id10ts.net/samba into 4-0-abartlet

Andrew Bartlett
(This used to be commit d3336684f084f984500dd0893dd01bcfc5be0ab1)
2008-04-02 12:03:03 +11:00
Andrew Kroeger
3c0c6acc59 provision: Add support for IPv6 (bz #4593).
(This used to be commit 8585a3c77d5dfe97bca3f08716fc06ac2819f578)
2008-04-01 19:51:24 -05:00
Andrew Bartlett
2ab6dd9ea5 Remove references to setting the host GUID, as the repl_meta_data
module prohibits it anyway.

Andrew Bartlett
(This used to be commit c5b287c056855892f30fbbf32efe7d65da31ce91)
2008-04-02 11:38:58 +11:00
Andrew Bartlett
238a1a52f1 Rework 'compleated' message in provision to be more useful.
In particular, this should draw attention to accidential 'standalone'
server provisions and therefore cause less frustration.

Andrew Bartlett
(This used to be commit e906ae041a2b589ffceff97b74f7c4b01386382a)
2008-03-29 17:17:56 +11:00
Andrew Bartlett
4ddce8c28c Don't specify what should be a default option in the generated smb.conf
Instead, sub in "", so that the default continued to come from the code.

Andrew Bartlett
(This used to be commit b1829da8f75175fcc569a3a9195f2358731055a9)
2008-03-28 10:38:12 +11:00
Kai Blin
677dc6aa89 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
(This used to be commit 19c29f473883be0a17fa740de9feb226f347df4a)
2008-03-27 17:49:56 +01:00
Andrew Bartlett
d7299d82c3 Rework memberof handling in slapd.conf (used for OpenLDAP backend)
Instead of using an include file, put the generated configurationd
directly into slapd.conf.

Andrew Bartlett
(This used to be commit 95ac786136aebfe5ededeb3fb81cbd4e296e3988)
2008-03-15 19:03:04 +11:00