summaryrefslogtreecommitdiff
path: root/source4/scripting/python
AgeCommit message (Collapse)AuthorFilesLines
2010-10-19s4:samdb.py - use a more standard way to get to the domain realm/dns nameMatthias Dieter Wallnöfer1-1/+2
We do always use the canonical name as a base if we don't have it around yet.
2010-10-19Addition of userPrincipalName attribute when new account is createdLukasz Zalewski1-0/+2
2010-10-19s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett2-54/+60
This is added to make the 'existing' LDAP backend class more useful, and to allow debuging of our OpenLDAP backend class with wireshark, by forcing the traffic over loopback TCP, which is much easier to sniff. Andrew Bartlett
2010-10-19s4-provision Remove serverdn parameter from Schema()Andrew Bartlett3-12/+6
We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
2010-10-10wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij1-19/+19
2010-10-10wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij1-9/+9
applicable. Allow using both pyembed and pyext, to prevent unresolved symbols. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 10 03:54:01 UTC 2010 on sn-devel-104
2010-10-05s4-provision: Reset "debuglevel" after "provision" take placeKamen Mazdrashki1-7/+9
Otherwise "provision" resets our current debug level and we don't get debug messages we may expect onwards Autobuild-User: Kamen Mazdrashki <kamenim@samba.org> Autobuild-Date: Tue Oct 5 11:32:50 UTC 2010 on sn-devel-104
2010-10-03s4:dsdb python stuff - introduce also here the "show_recycled" controlMatthias Dieter Wallnöfer1-2/+2
But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-10-02s4-selftest: silence warnings about bind chownAndrew Tridgell1-2/+2
2010-10-02s4-test: silence the Failed to chown message in make testAndrew Tridgell1-3/+5
2010-10-03s4-getopt.py: Make Anonymous creds when no credentialsKamen Mazdrashki1-2/+7
are supplied on command line and caller doesn't want us to guess credentials from environment
2010-10-03s4-python-test: Common implementation for getting environment variable valueKamen Mazdrashki1-0/+11
Unit-test based python tests require certain input parameters to be set in environment, otherwise they can't be run
2010-10-03s4-python-samba: Remove trailing ';'sKamen Mazdrashki2-29/+29
2010-10-03s4-python-test: Implement global connect_samdb() functionKamen Mazdrashki1-0/+46
This helper makes proper ldb url to connect to and is a shorthand for test to create SamDB connections
2010-10-03s4-samba.samdb: Fix masking names from outer contextKamen Mazdrashki1-17/+17
- 'filter' is built-in - 'ldb' is a module name we imported
2010-10-03s4-python-samba: 'file' is a built-inKamen Mazdrashki1-3/+3
2010-10-03s4-samba.samdb: Fix leading indention and trailing ';'Kamen Mazdrashki1-10/+10
2010-10-03s4-python-samba: Fix few cosmeticsKamen Mazdrashki1-4/+3
- we have sys module already imported - _glue module is part of samba package so be more precise how to import
2010-09-30s4-provision: wipe the old keytabs when provisioningAndrew Tridgell2-7/+29
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-30s4-rodc: fixed the keyVersionNumber on the RODC account in secrets.keytabAndrew Tridgell1-2/+5
we need to fetch the msDS-keyVersionNumber from the writeable DC Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-29s4-drsutils: expose DsBind() call in drs_utils.pyAndrew Tridgell1-37/+38
this will be used by samba_spnupdate
2010-09-27s4-provision: fixed the generation of the krb5.conf for vampireAndrew Tridgell1-6/+6
we need a correct krb5.conf for nsupdate from bind9
2010-09-26s4 provision: start with gpo of version 0 and be consistent between ↵Matthieu Patou1-1/+1
different policies
2010-09-26s4 provision: Make GPO folder group writableMatthieu Patou1-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 ...)
2010-09-26upgradeprovision: use the same case for hostname in reference provision as ↵Matthieu Patou1-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
2010-09-26s4-provision: switch to dns-HOSTNAME instead of dnsAndrew Tridgell1-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>
2010-09-25s4-net: added --ipaddress option to net commandsAndrew Tridgell6-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>
2010-09-24s4:provision - rootdse - remove static "ldapServiceName" attributeMatthias Dieter Wallnöfer1-3/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision - rootdse - remove static "dnsHostName" attributeMatthias Dieter Wallnöfer1-1/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision.py - support still not fully provisioned trees regarding the ↵Matthias Dieter Wallnöfer1-2/+11
rootDSE module We simply override the NTDS settings path manually Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:provision.py - make more use of "names.serverdn" on NTDS settings locationMatthias Dieter Wallnöfer1-2/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:python/samba/join.py - add a comment to point out that NCs have to be ↵Matthias Dieter Wallnöfer1-0/+1
assigned dynamically We could also have DNS partitions (only to make one example). Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-24s4:python/samba/join.py - use constant for DC function levelMatthias Dieter Wallnöfer1-1/+2
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2010-09-23s4-drs: we don't need to decode to utf8 in python dcerpc strings any moreAndrew Tridgell1-1/+1
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2010-09-22s4-selftest: Move credentials tests to standard python directory.Jelmer Vernooij1-0/+100
2010-09-22s4-selftest: Move samba3sam test to standard python directory.Jelmer Vernooij1-0/+1092
2010-09-22selftest: Fix idlist running.Jelmer Vernooij2-41/+65
2010-09-22s4-param: Fix more memory leaks, invalid memory context.Jelmer Vernooij2-2/+5
2010-09-22s4-param: Check type when converting python object to lp_ctx, fix someJelmer Vernooij2-6/+4
memory leaks.
2010-09-22pygensec: Implement start_mech_by_name().Jelmer Vernooij1-3/+10
2010-09-22ndrdump: Move blackbox test to standard python namespace.Jelmer Vernooij3-0/+41
2010-09-21s4-selftest: Move more tests to scripting/python, simplifies running of tests.Jelmer Vernooij8-4/+394
2010-09-21selftest: Fix run for systems without testtools installed.Jelmer Vernooij2-2/+1
2010-09-20rpc_talloc: Update test now that we create fewer references.Jelmer Vernooij1-7/+4
2010-09-20pytestrpc: Be more verbose.Jelmer Vernooij1-4/+6
2010-09-20testrpc: Convert from a single unit test to a simple test script, beJelmer Vernooij1-18/+32
more verbose.
2010-09-20pidl: Fix segfault when accessing unicode objects.Jelmer Vernooij1-1/+1
2010-09-19s4-rodc: override client site from cldap responseAndrew Tridgell1-0/+2
2010-09-19s4-pydsdb: added am_rodc() method on samdbAndrew Tridgell1-0/+3
2010-09-19s4-pydsdb: don't force am_rodc unless it is set by callerAndrew Tridgell1-2/+3
we should normally get the rodc flag by looking at the database, not by forcing it in the database connect