Jelmer Vernooij
f033c221f8
policy/python: Move python binding tests to standard location.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Tue Mar 6 02:26:29 CET 2012 on sn-devel-104
2012-03-06 02:26:29 +01:00
Jelmer Vernooij
122374e999
kcc: Improve formatting of Python code to be more consistent with our other code.
2012-03-04 18:02:06 +01:00
Matthias Dieter Wallnöfer
a66d0f33ee
s4:samba-tool domain level raise command - reference SAMDB object correctly
...
https://bugzilla.samba.org/show_bug.cgi?id=8787
Reviewed-by: Jelmer
Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org>
Autobuild-Date: Sat Mar 3 12:54:21 CET 2012 on sn-devel-104
2012-03-03 12:54:20 +01:00
Amitay Isaacs
0c77422041
samba-tool: dns: Add support for handling TXT records
2012-03-02 00:24:50 +11:00
Amitay Isaacs
f025d788d0
samba-tool: dns: Copy string data when creating DNS_RPC_RECORD
2012-03-02 00:24:50 +11:00
Amitay Isaacs
bcaa278e32
provision: dns: TXT Records need a list of strings as input
2012-03-02 00:24:50 +11:00
Amitay Isaacs
00a5366fdb
s4-provision: Use "state directory" from lp, as it is always set
...
This fixes new provisions when --targetdir is not provided.
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Thu Mar 1 11:41:02 CET 2012 on sn-devel-104
2012-03-01 11:41:02 +01:00
Jelmer Vernooij
47c62eeb68
upgradehelpers: Simplify transaction handling.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 27 05:25:04 CET 2012 on sn-devel-104
2012-02-27 05:25:04 +01:00
Jelmer Vernooij
8008228b94
samba.xattr: Massively simplify copytree_with_xattrs.
2012-02-27 03:52:05 +01:00
Jelmer Vernooij
f40c9ac7ac
samba.xattr: Split copying of tree with extended attributes out into separate module.
2012-02-27 03:52:05 +01:00
Jelmer Vernooij
687e065036
provision: Write configuration without help of templates.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Mon Feb 27 00:52:46 CET 2012 on sn-devel-104
2012-02-27 00:52:46 +01:00
Jelmer Vernooij
852418133e
provision: Simplify make_smbconf a bit.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
3bfccdfbc8
provision: Fix order for error formatting.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
e27e519bb8
provision: Raise proper error when shares are missing rather than AssertionError.
2012-02-26 23:19:07 +01:00
Jelmer Vernooij
411119db50
provision: Share more code for determine_netbios_name() with samba.valid_netbios_name().
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 26 22:24:42 CET 2012 on sn-devel-104
2012-02-26 22:24:42 +01:00
Jelmer Vernooij
d5485a1e56
provision/backend: Properly close all opened files.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
6b320d63f3
provision: Properly close opened files.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
171dc5ad4f
provision: Reuse determine_netbios_name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
3b738a5914
provision: Add tests for determine_netbios_name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
16a4fa9704
provision: Factor out determination of new netbios name.
2012-02-26 20:52:05 +01:00
Jelmer Vernooij
d09764e180
join: Don't print provision results when they're just noise.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sun Feb 26 17:56:57 CET 2012 on sn-devel-104
2012-02-26 17:56:57 +01:00
Jelmer Vernooij
6664541156
provision: Split out result reporting for backends.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
eeb5f66d90
provision: Put adminpass details in ProvisionResult.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
3e6fa054f9
provision/tests: Test for phpldapadminconfig path.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
21f443eb82
provision: Leave result reporting up to caller.
2012-02-26 16:27:06 +01:00
Jelmer Vernooij
fe3274d9cb
provision: Start splitting out provision result reporting from actual provisioning.
...
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Feb 25 22:13:10 CET 2012 on sn-devel-104
2012-02-25 22:13:10 +01:00
Jelmer Vernooij
2fd10469c1
provision: Properly close ldb transactions.
2012-02-25 20:39:05 +01:00
Jelmer Vernooij
9ecc68abe7
'samba-tool gpo': Properly close transaction.
2012-02-25 20:39:05 +01:00
Jelmer Vernooij
08a3d6d6ad
ntacl: There is no 'secrets database' configuration option.
2012-02-25 20:39:05 +01:00
Jelmer Vernooij
d06eeb7949
Factor out sanitize_server_role.
2012-02-25 20:39:05 +01:00
Jelmer Vernooij
66f13ea1e9
Partially revert 1f0298dd1b1a939cb215e7b474178b217f8347f4
...
It's fine to catch keyboard interrupts and other kinds of errors when it's done just for resource management, where the error is reraised later.
Autobuild-User: Jelmer Vernooij <jelmer@samba.org>
Autobuild-Date: Sat Feb 25 17:29:34 CET 2012 on sn-devel-104
2012-02-25 17:29:34 +01:00
Jelmer Vernooij
f5d706b0ee
provision: Remove unused imports.
2012-02-25 15:58:07 +01:00
Andrew Bartlett
c623b4bbb8
s4-provision: Fix typo in 9b9fdeefb47f2657c9bb4c2f48318550da510209
...
This was not found to to a bug in the selftest system.
Andrew Bartlett
2012-02-23 19:19:54 +11:00
Amitay Isaacs
6daf04eb6e
s4-provision: dns: Add txt DNS record
2012-02-21 23:08:35 +11:00
Amitay Isaacs
597449235e
s4-provision: dns: Do not re-calculate ntdsguid, use from names
2012-02-21 23:08:35 +11:00
Amitay Isaacs
9b9fdeefb4
s4-provision: dns: Refactor population of dns data code
...
Code is split in 4 functions
- create_dns_legacy
- fill_dns_data_legacy
- create_dns_partitions
- fill_dns_data_partitions
This is useful to upgrade dns provision from file based DNS backend
to AD based DNS backend.
2012-02-21 23:08:35 +11:00
Amitay Isaacs
4bba5fcecd
samba-tool: dns: Update the copyright
...
Autobuild-User: Amitay Isaacs <amitay@samba.org>
Autobuild-Date: Tue Feb 21 09:55:07 CET 2012 on sn-devel-104
2012-02-21 09:55:07 +01:00
Amitay Isaacs
61d4d74145
samba-tool: dns: Fix the output display of DNS records
2012-02-21 18:24:30 +11:00
Amitay Isaacs
b45d6a6d69
samba-tool: dns: Add extra references for string objects as workaround
...
This is a workaround for bug in pidl generated python bindings, where
C object hold a pointer to python string without increasing reference
count in python. So when the python string goes out of scope, the
C pointer loses the value.
2012-02-21 18:24:30 +11:00
Amitay Isaacs
a8a6b27e06
samba-tool: dns: Add support to add/update/delete MX and SRV records
2012-02-21 18:24:30 +11:00
Amitay Isaacs
28b12827b6
samba-tool: dns: Convert dns data into a dns record for comparison
...
and compare two dns records directly. Refactor dns name comparision
as dns_name_equal().
2012-02-21 18:24:30 +11:00
Amitay Isaacs
4272a76075
samba-tool: dns: Convert dns data in a string to DNS record
2012-02-21 18:24:30 +11:00
Amitay Isaacs
1fc2fb5de1
samba-tool: dns: Add MXRecord type to add/update mx records
2012-02-21 18:24:30 +11:00
Jelmer Vernooij
a977de9fdf
s4-python: Various formatting fixes.
2012-02-18 23:59:48 +01:00
Jelmer Vernooij
c29e0258e0
samba.web_server: Fix use of whitespace.
2012-02-18 23:54:38 +01:00
Matthias Dieter Wallnöfer
fa89f2756f
s4:samba-tool fsmo * - fix missing "takes_optiongroups"
...
This has been reported in bug #8755 .
Reviewed-by: Jelmer
2012-02-17 21:36:56 +01:00
Michael Adam
8ca39dfbe1
s4:provision: only print the adminpass if it was generated (not user-provided)
2012-02-16 12:07:50 +01:00
Michael Adam
09b865b2f0
s4:provision: generate the adminpass provision() instead of provision_fill()
...
so that the adminpass can be logged at the end
(otherwise we get "None")
2012-02-16 12:07:49 +01:00
Michael Adam
32cf164d99
s4:provision: don't log the ldap admin password - it is internal only
2012-02-16 12:07:49 +01:00
Björn Baumbach
ea27879dd0
s4-scripting: samba-tool: Fix domain info usage message
...
Signed-off-by: Michael Adam <obnox@samba.org>
2012-02-16 12:07:32 +01:00