67a04613e9
s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytab
...
we need to fetch the msDS-keyVersionNumber from the writeable DC
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-30 14:36:12 -07:00
739a4e4e23
s4-drsutils: expose DsBind() call in drs_utils.py
...
this will be used by samba_spnupdate
2010-09-29 03:55:04 +00:00
93be0d6178
s4-provision: fixed the generation of the krb5.conf for vampire
...
we need a correct krb5.conf for nsupdate from bind9
2010-09-27 01:53:45 +00:00
a8f8f277ff
s4 provision: start with gpo of version 0 and be consistent between different policies
2010-09-26 06:22:43 +04:00
dfa468fd08
s4 provision: Make GPO folder group writable
...
The group of this folder is domain administrator and it seems sensible
that all domain administrators have the right to modify the gpo (they
have it at the NT ACLs level ...)
2010-09-26 06:22:43 +04:00
69ef2b3705
upgradeprovision: use the same case for hostname in reference provision as in the current provision
...
Autobuild-User: Andrew Tridgell <tridge@samba.org >
Autobuild-Date: Sun Sep 26 01:21:52 UTC 2010 on sn-devel-104
2010-09-26 01:21:52 +00:00
b8444b64a3
s4-provision: switch to dns-HOSTNAME instead of dns
...
We now use a host specific account name for the DNS account, which is
the account used for dynamic DNS updates. We also setup the
servicePrincipalName for automatic update, and add both DNS/${DNSDOMAIN}
and DNS/${DNSNAME} for compatibility with both the old and new SPNs
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-26 01:21:49 +00:00
c53210bf06
s4-net: added --ipaddress option to net commands
...
this allows override of server IP address, bypassing NBT or DNS name
resolution of DCs
Pair-Programmed-With: Stefan Metzmacher <metze@samba.org >
2010-09-25 10:38:45 -07:00
76c346dfc1
s4:provision - rootdse - remove static "ldapServiceName" attribute
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:43 +10:00
ccc67a03d6
s4:provision - rootdse - remove static "dnsHostName" attribute
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:43 +10:00
65ca9e691b
s4:provision.py - support still not fully provisioned trees regarding the rootDSE module
...
We simply override the NTDS settings path manually
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:42 +10:00
439d7ff935
s4:provision.py - make more use of "names.serverdn" on NTDS settings location
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:42 +10:00
f45848e33a
s4:python/samba/join.py - add a comment to point out that NCs have to be assigned dynamically
...
We could also have DNS partitions (only to make one example).
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:42 +10:00
8223342e50
s4:python/samba/join.py - use constant for DC function level
...
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-24 09:25:42 +10:00
c0ff93b033
s4-drs: we don't need to decode to utf8 in python dcerpc strings any more
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-23 07:17:57 +00:00
7378b6d2a2
s4-selftest: Move credentials tests to standard python directory.
2010-09-22 22:29:09 -07:00
cc5b673e18
s4-selftest: Move samba3sam test to standard python directory.
2010-09-22 22:29:09 -07:00
3d0e6db9dc
selftest: Fix idlist running.
2010-09-22 22:29:09 -07:00
1c3c9a483b
s4-param: Fix more memory leaks, invalid memory context.
2010-09-22 17:48:24 -07:00
3fea9df85a
s4-param: Check type when converting python object to lp_ctx, fix some
...
memory leaks.
2010-09-22 17:48:23 -07:00
63031a2a78
pygensec: Implement start_mech_by_name().
2010-09-22 17:48:23 -07:00
5a75fb194a
ndrdump: Move blackbox test to standard python namespace.
2010-09-22 17:48:23 -07:00
e12e661f35
s4-selftest: Move more tests to scripting/python, simplifies running of tests.
2010-09-21 22:54:38 -07:00
118c6548bb
selftest: Fix run for systems without testtools installed.
2010-09-21 22:54:37 -07:00
58cfbc510c
rpc_talloc: Update test now that we create fewer references.
2010-09-20 22:40:47 -07:00
7fc40d2ed3
pytestrpc: Be more verbose.
2010-09-20 22:40:47 -07:00
f161fa3ac8
testrpc: Convert from a single unit test to a simple test script, be
...
more verbose.
2010-09-20 22:40:46 -07:00
a7393449eb
pidl: Fix segfault when accessing unicode objects.
2010-09-20 22:40:46 -07:00
01371d968e
s4-rodc: override client site from cldap response
2010-09-19 13:36:02 -07:00
e72a1e2055
s4-pydsdb: added am_rodc() method on samdb
2010-09-19 11:29:32 -07:00
2666cc9c16
s4-pydsdb: don't force am_rodc unless it is set by caller
...
we should normally get the rodc flag by looking at the database, not
by forcing it in the database connect
2010-09-19 11:29:32 -07:00
eeafe1eb65
s4-pydrs: fix for python 2.4
...
thanks to Kamen and David Gonzalez for spotting this
2010-09-16 16:08:45 +10:00
aabd89d8f7
s4-pyjoin: use new pynet finddc interface
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-16 07:24:01 +10:00
59d415f43f
s4-finddc: use NBT lookup for a 1C name if joining a short domain name
...
once we get the 1C lookup reply, use a CLDAP query to find the details
for the server
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-15 15:39:36 +10:00
4e9f449106
s4-join: give a clear error when using short domain form
...
we now require the full domain name, for the DNS/CLDAP lookup
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-15 15:39:36 +10:00
011978eb1b
s4-rodc: use python finddc code to avoid the need for --server
...
The DC is now found via DNS/CLDAP
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-15 15:39:35 +10:00
64af772b38
s4:fsmo.py - fix an obvious typo
2010-09-12 19:23:04 +02:00
0ad2890c4e
s4:provision: remember the setup directory if it wasn't the default
...
This fixes make test without a make install.
metze
2010-09-10 17:21:31 +02:00
3d420ea2bb
s4-rodc: cope with missing searchFlags
...
this can be missing after the schema tests
2010-09-09 21:39:25 +10:00
b9c0b59034
s4-rodc: get the domain name from the partitions DN
...
don't rely on the netbios domain name being the first part of the
realm
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-09 21:39:24 +10:00
c44bdbc01d
s4-provision: fixed error format string
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-09 21:39:24 +10:00
54e86d881d
s4-pydsdb: expose samdb_partitions_dn() as get_partitions_dn() in python
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-09-09 21:39:24 +10:00
0bc53f7d9f
pidl: Keep only a single copy of samba.dcerpc.base.ClientConnection.
2010-09-03 02:39:38 +02:00
39599e949b
s4-pidl: added a test for all generated rpc interfaces
...
this tries to instantiate all types in all generated python RPC
interfaces, then checks that all attributes can be read, written and
compared.
2010-09-02 13:37:07 +10:00
9f5dcb2235
s4-net: use CommandError() in net rodc
...
this integrates better with the net command
Pair-Programmed-With: Jelmer Vernooij <jelmer@samba.org >
2010-09-02 13:37:07 +10:00
896553a1a8
s4:provision Allow OpenLDAP backend to provision again
...
OpenLDAP does not have any post-setup requirements at the moment.
Andrew Bartlett
2010-09-02 10:40:34 +10:00
9aae50443d
s4:provision Improved error handling in provisionbackend
...
When using OpenLDAP as a backend with Samba4 we get failure during
provision and this patch will help better determining the real error.
Signed-off-by: Andrew Bartlett <abartlet@samba.org >
2010-09-02 10:40:34 +10:00
057a47130d
s4-net: fixed docstring on spn command
...
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-08-26 22:50:20 +10:00
d8f48c7ffc
s4-net: added "net rodc preload" command
...
this command will preload the credentials for an account from the full
domain controller
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org >
2010-08-26 22:50:20 +10:00
da366ba221
s4-drs: split out drs utility python functions
...
these will be re-used by other net commands
2010-08-26 22:50:20 +10:00