summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4-selftest: silence warnings about bind chownAndrew Tridgell2010-10-021-2/+2
|
* s4-test: silence the Failed to chown message in make testAndrew Tridgell2010-10-021-3/+5
|
* s4-getopt.py: Make Anonymous creds when no credentialsKamen Mazdrashki2010-10-031-2/+7
| | | | | are supplied on command line and caller doesn't want us to guess credentials from environment
* s4-python-test: Common implementation for getting environment variable valueKamen Mazdrashki2010-10-031-0/+11
| | | | | Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run
* s4-python-samba: Remove trailing ';'sKamen Mazdrashki2010-10-032-29/+29
|
* s4-python-test: Implement global connect_samdb() functionKamen Mazdrashki2010-10-031-0/+46
| | | | | This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections
* s4-samba.samdb: Fix masking names from outer contextKamen Mazdrashki2010-10-031-17/+17
| | | | | - 'filter' is built-in - 'ldb' is a module name we imported
* s4-python-samba: 'file' is a built-inKamen Mazdrashki2010-10-031-3/+3
|
* s4-samba.samdb: Fix leading indention and trailing ';'Kamen Mazdrashki2010-10-031-10/+10
|
* s4-python-samba: Fix few cosmeticsKamen Mazdrashki2010-10-031-4/+3
| | | | | - we have sys module already imported - _glue module is part of samba package so be more precise how to import
* s4-provision: wipe the old keytabs when provisioningAndrew Tridgell2010-09-302-7/+29
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytabAndrew Tridgell2010-09-301-2/+5
| | | | | | we need to fetch the msDS-keyVersionNumber from the writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-drsutils: expose DsBind() call in drs_utils.pyAndrew Tridgell2010-09-291-37/+38
| | | | this will be used by samba_spnupdate
* s4-provision: fixed the generation of the krb5.conf for vampireAndrew Tridgell2010-09-271-6/+6
| | | | we need a correct krb5.conf for nsupdate from bind9
* s4 provision: start with gpo of version 0 and be consistent between ↵Matthieu Patou2010-09-261-1/+1
| | | | different policies
* s4 provision: Make GPO folder group writableMatthieu Patou2010-09-261-3/+3
| | | | | | 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 ...)
* upgradeprovision: use the same case for hostname in reference provision as ↵Matthieu Patou2010-09-261-1/+1
| | | | | | | 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
* s4-provision: switch to dns-HOSTNAME instead of dnsAndrew Tridgell2010-09-261-7/+23
| | | | | | | | | 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>
* s4-net: added --ipaddress option to net commandsAndrew Tridgell2010-09-256-6/+13
| | | | | | | this allows override of server IP address, bypassing NBT or DNS name resolution of DCs Pair-Programmed-With: Stefan Metzmacher <metze@samba.org>
* s4:provision - rootdse - remove static "ldapServiceName" attributeMatthias Dieter Wallnöfer2010-09-241-3/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision - rootdse - remove static "dnsHostName" attributeMatthias Dieter Wallnöfer2010-09-241-1/+0
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision.py - support still not fully provisioned trees regarding the ↵Matthias Dieter Wallnöfer2010-09-241-2/+11
| | | | | | | | rootDSE module We simply override the NTDS settings path manually Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:provision.py - make more use of "names.serverdn" on NTDS settings locationMatthias Dieter Wallnöfer2010-09-241-2/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:python/samba/join.py - add a comment to point out that NCs have to be ↵Matthias Dieter Wallnöfer2010-09-241-0/+1
| | | | | | | | assigned dynamically We could also have DNS partitions (only to make one example). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:python/samba/join.py - use constant for DC function levelMatthias Dieter Wallnöfer2010-09-241-1/+2
| | | | Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell2010-09-231-1/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-selftest: Move credentials tests to standard python directory.Jelmer Vernooij2010-09-221-0/+100
|
* s4-selftest: Move samba3sam test to standard python directory.Jelmer Vernooij2010-09-221-0/+1092
|
* selftest: Fix idlist running.Jelmer Vernooij2010-09-222-41/+65
|
* s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2010-09-222-2/+5
|
* s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2010-09-222-6/+4
| | | | memory leaks.
* pygensec: Implement start_mech_by_name().Jelmer Vernooij2010-09-221-3/+10
|
* ndrdump: Move blackbox test to standard python namespace.Jelmer Vernooij2010-09-223-0/+41
|
* s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij2010-09-218-4/+394
|
* selftest: Fix run for systems without testtools installed.Jelmer Vernooij2010-09-212-2/+1
|
* rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij2010-09-201-7/+4
|
* pytestrpc: Be more verbose.Jelmer Vernooij2010-09-201-4/+6
|
* testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij2010-09-201-18/+32
| | | | more verbose.
* pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij2010-09-201-1/+1
|
* s4-rodc: override client site from cldap responseAndrew Tridgell2010-09-191-0/+2
|
* s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell2010-09-191-0/+3
|
* s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell2010-09-191-2/+3
| | | | | we should normally get the rodc flag by looking at the database, not by forcing it in the database connect
* s4-pydrs: fix for python 2.4Andrew Tridgell2010-09-161-1/+1
| | | | thanks to Kamen and David Gonzalez for spotting this
* s4-pyjoin: use new pynet finddc interfaceAndrew Tridgell2010-09-161-1/+4
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-finddc: use NBT lookup for a 1C name if joining a short domain nameAndrew Tridgell2010-09-151-3/+0
| | | | | | | 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>
* s4-join: give a clear error when using short domain formAndrew Tridgell2010-09-151-1/+4
| | | | | | we now require the full domain name, for the DNS/CLDAP lookup Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4-rodc: use python finddc code to avoid the need for --serverAndrew Tridgell2010-09-151-6/+12
| | | | | | The DC is now found via DNS/CLDAP Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:fsmo.py - fix an obvious typoMatthias Dieter Wallnöfer2010-09-121-1/+1
|
* s4:provision: remember the setup directory if it wasn't the defaultStefan Metzmacher2010-09-101-0/+8
| | | | | | This fixes make test without a make install. metze
* s4-rodc: cope with missing searchFlagsAndrew Tridgell2010-09-091-3/+4
| | | | this can be missing after the schema tests