1
0
mirror of https://github.com/samba-team/samba.git synced 2025-11-28 12:23:49 +03:00
Commit Graph

978 Commits

Author SHA1 Message Date
Kai Blin
21fcf7c419 provision: Remove backup group mapping
Some distros seem to neither have a backup nor a staff group.
2008-04-03 00:01:34 +02:00
Kai Blin
206b7d387c provision: Set up id mappings in the idmap db, only map Administrator. 2008-04-02 23:07:53 +02:00
Jelmer Vernooij
8c3591d98f Merge branch 'v4-0-test' of ssh://git.samba.org/data/git/samba into openchange 2008-04-02 14:33:56 +02:00
Jelmer Vernooij
47ffbbf674 Install public header files again and include required prototypes. 2008-04-02 04:53:27 +02:00
Andrew Bartlett
d3336684f0 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
2008-04-02 12:03:03 +11:00
Andrew Kroeger
8585a3c77d provision: Add support for IPv6 (bz #4593). 2008-04-01 19:51:24 -05:00
Andrew Bartlett
c5b287c056 Remove references to setting the host GUID, as the repl_meta_data
module prohibits it anyway.

Andrew Bartlett
2008-04-02 11:38:58 +11:00
Jelmer Vernooij
c46b7e90e3 Rename libsamba-config to libsamba-hostconfig. 2008-04-01 15:08:30 +02:00
Andrew Bartlett
e906ae041a 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
2008-03-29 17:17:56 +11:00
Andrew Bartlett
727ef40c2b Fix and test python scripts and kerberos
This fixes up the python credentials interface in a number of areas,
with the aim of supporting '-k yes' as a command line option.  (This
enables the use of kerberos).

As such, I've had to change the get_credentials call to take a
loadparm context, so that the credentials can be initialised
correctly.

The test_kinit script has been modified to prove that this continues
to work, as well as to provide greater code coverage of the kerberos
paths.

Andrew Bartlett
2008-03-28 21:57:15 +11:00
Andrew Kroeger
ebe5e83994 Convert some more files to GPLv3. 2008-03-28 01:08:49 -05:00
Andrew Bartlett
fbcaa622bd Make the setup/newuser and setup/setpassword scripts actually work...
These need a testsuite, but this will come soon.

Andrew Bartlett
2008-03-28 12:08:54 +11:00
Jelmer Vernooij
b6c61bee64 Merge branch 'v4-0-local' of git://git.id10ts.net/samba into v4-0-test 2008-03-28 01:00:48 +01:00
Andrew Bartlett
b1829da8f7 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
2008-03-28 10:38:12 +11:00
Andrew Kroeger
ee9ad77009 provision: Increase max NetBIOS name length from 13 to 15.
Issue originally reported by user Julsa-FR on IRC.
2008-03-27 16:30:18 -05:00
Jelmer Vernooij
f47df57615 Remove define that appears to cause configure test breakage on Julien's machine. 2008-03-27 22:26:37 +01:00
Kai Blin
19c29f4738 provision: Initialize uninitialized variables if "targetdir" is not
defined and there is no smb.conf file
2008-03-27 17:49:56 +01:00
Andrew Bartlett
95ac786136 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
2008-03-15 19:03:04 +11:00
Stefan Metzmacher
08b41e1069 swig: regenerate _wrap.c files
metze
2008-03-14 14:33:55 +01:00
Stefan Metzmacher
17997dd9bc build: we don't rely on bash yet:-) '==' should be just '='
metze
2008-03-13 15:56:39 +01:00
Stefan Metzmacher
9391f6f804 configure: when detecting python we should disable pyconfig.h
This fixes the detection on HP-UX where the pyconfig.h contains
bogus defines.

metze
2008-03-13 14:28:50 +01:00
Andrew Bartlett
bda6a38b05 Rework to have member server 'domains' be CN=NETBIOSNAME
This reworks quite a few parts of our provision system to use
CN=NETBIOSNAME as the domain for member servers.

This makes it clear that these domains are not in the DNS structure,
while complying with our own schema (found by OpenLDAP's schema
validation).

Andrew Bartlett
2008-03-13 11:36:58 +11:00
Andrew Bartlett
b2d9b03ba3 Update the provision scripts and selftest for LDAP
This should allow us to provision onto an OpenLDAP backend again.

Also ensure we always have a sysvol and netlogon share in the selftest
environment.

Andrew Bartlett
2008-03-13 09:55:06 +11:00
Andrew Bartlett
fd99b7719b Don't talloc_free() the UUID before we return.
This error caused us to put a 0x80 byte at the end of GUID, which was
only detected by OpenLDAP's schema checking.

Andrew Bartlett
2008-03-13 09:53:32 +11:00
Andrew Bartlett
a0754c2a85 Upgrade provision-backend to python.
This required a large rework of the provision code, so as to move much
of the 'guess' logic into subprocedures, rather than just inline in
the provision code.

Andrew Bartlett
2008-03-13 08:08:05 +11:00
Andrew Bartlett
b4da374a99 Fix provision script to work without smb.conf location specified.
Andrew Bartlett
2008-03-11 14:41:10 +11:00
Andrew Bartlett
d331bc400f Try to fix up part of the upgrade test.
There are still problems with the upgrade test, but these are not
related to the provision system.

Andrew Bartlett
2008-03-07 19:20:39 +11:00
Andrew Bartlett
0923de1228 Rework provision scripts for more testing
This fixes up some issues with testdir (was not honoured) and
increases test coverage.

We now check all the major provision modes.  In doing so, to make it
possible to call from the multiple layers of 'sh', I have allowed 'dc'
to alias 'domain controller' and 'member' to alias 'member server'.
Fighting shell quoting in the test system was just too hard...

Also fix upgrade.py

Andrew Bartlett
2008-03-07 10:57:52 +11:00
Andrew Bartlett
a6997c333c Merge branch 'v4-0-test' of git://git.samba.org/samba into 4-0-local 2008-03-07 07:38:44 +11:00
Andrew Bartlett
e462a107d3 Start to rework provision for LDAP backends
This is the start of the rework of the provision script to handle an
LDAP backend correctly.  For example, we must not set the 'tdb
modules' against an LDAP backend such as OpenLDAP that handles subtree
renames.

Andrew Bartlett
2008-03-07 07:33:14 +11:00
Andrew Bartlett
1169e8d7be Make Samba4 pass the NET-API-BECOMEDC test against Win2k3 (again).
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
2008-03-06 21:55:26 +11:00
Andrew Bartlett
272eb765b8 Fix failure to re-provision.
Somewhere in the conversion from ejs we lost calling the 'delete
partitions' code.  However, we have to be careful not to wipe
partitions when we are the second client connecting to an LDAP server.

Andrew Bartlett
2008-03-03 13:03:19 +11:00
Douglas VanLeuven
62536750ae Fix member server provision
Can't add "member server" because the script aborts with null
reference when no match on serverrole.  This is fixed by checking for
the keyword "member server".
2008-03-03 11:08:59 +11:00
Jelmer Vernooij
b30fd477ff Fix typos, avoid DEPEND_LIST from growing with empty elements. 2008-02-29 14:32:37 +01:00
Jelmer Vernooij
d54421a9ee use gmake to handle .py file copies. 2008-02-29 13:42:59 +01:00
Jelmer Vernooij
16f36ce499 Remove sDefault as static variable. 2008-02-28 20:04:58 +01:00
Jelmer Vernooij
6cbb241c05 Merge branch 'v4-0-trivial' into v4-0-test 2008-02-28 18:27:29 +01:00
Andrew Bartlett
16378219fb Reorder modules to have rdn_name before objectclass.
This ensures the relative DN is placed in the correct case into the
DB.

Andrew Bartlett
2008-02-28 08:39:45 +11:00
Jelmer Vernooij
a16c9a2129 Remove uses of global_loadparm. 2008-02-25 12:51:55 +01:00
Jelmer Vernooij
184988866f Introduce mprLpCtx() similar to mprMemCtx() for loadparm_context used by
all EJS code.
2008-02-21 18:21:44 +01:00
Kai Blin
6ac6de8476 idmap: Handle uid->SID mapping 2008-02-21 11:21:59 +01:00
Jelmer Vernooij
d45c6b5574 Avoid python2.2-specific types. 2008-02-20 11:32:56 +01:00
Jelmer Vernooij
92c1c0e913 Fix static module list generation for ldb. 2008-02-20 03:40:44 +01:00
Jelmer Vernooij
0e1d0a874a Rename include to mkinclude to emphasize it is different from make's include. 2008-02-18 20:04:18 +01:00
Jelmer Vernooij
269cbf84d8 Get rid of 'INTEGRATED' build of modules - now replaced by 'MERGED_OBJ' 2008-02-18 19:06:17 +01:00
Jelmer Vernooij
bc0fab89e3 Formatting fixes. 2008-02-16 15:23:26 +01:00
Jelmer Vernooij
4b9d5bc57c Use struct for provision parameters since there are so many of them. 2008-02-15 15:14:55 +01:00
Jelmer Vernooij
8b33860954 Initial work on a test for samba.tests.samdb 2008-02-13 02:18:45 +01:00
Jelmer Vernooij
bd0ef811c4 Fix invalid symbol. 2008-02-13 01:21:06 +01:00
Jelmer Vernooij
7911308dbc Fix subunit runner exit codes. 2008-02-12 22:10:25 +01:00