summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* s4:provision - remove the "servicePrincipalName" creation on the DC objectMatthias Dieter Wallnöfer2010-10-311-8/+0
| | | | This is now done by the "samba_spnupdate" script.
* s4: Remove the old perl/m4/make/mk-based build system.Jelmer Vernooij2010-10-311-46/+0
| | | | | | | | The new waf-based build system now has all the same functionality, and the old build system has been broken for quite some time. Autobuild-User: Jelmer Vernooij <jelmer@samba.org> Autobuild-Date: Sun Oct 31 02:01:44 UTC 2010 on sn-devel-104
* provision: fix wrong testsMatthieu Patou2010-10-301-6/+11
| | | | | Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 17:31:23 UTC 2010 on sn-devel-104
* provision: when deriving netbiosname from hostname force the netbiosname to ↵Matthieu Patou2010-10-301-3/+13
| | | | | | | | | be compliant It means no space/_/-/@.... and less than 16 chars. Autobuild-User: Matthieu Patou <mat@samba.org> Autobuild-Date: Sat Oct 30 14:26:22 UTC 2010 on sn-devel-104
* talloc: change pytalloc-util to be a public library.Jelmer Vernooij2010-10-261-2/+2
|
* waf: Remove unused EXT_LIB_PYTHON.Jelmer Vernooij2010-10-261-5/+1
|
* talloc: Move pytalloc to lib/talloc.Jelmer Vernooij2010-10-261-7/+0
|
* waf: Remove lib prefix from libraries manually.Jelmer Vernooij2010-10-261-2/+2
|
* s4: Drop duplicate 'lib' prefix for private libraries.Jelmer Vernooij2010-10-261-1/+1
|
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-241-1/+1
|
* s4: Rename LIBNETIF to libnetif.Jelmer Vernooij2010-10-231-24/+24
|
* s4:provision.py - add the correct "CN=Sites" security descriptorMatthias Dieter Wallnöfer2010-10-231-5/+20
| | | | | | | This should help to fix bug #7403. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sat Oct 23 20:16:59 UTC 2010 on sn-devel-104
* s4:schema.py - reformat and fix the security descriptorMatthias Dieter Wallnöfer2010-10-231-14/+23
| | | | | - Now it matches Windows's order - It contained a superfluous entry (an "Administrator" user grant)
* s4-python: python_samba needs pyextAndrew Tridgell2010-10-211-1/+2
|
* s4-python: added a samba_python grouping libraryAndrew Tridgell2010-10-211-0/+6
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:samdb.py - remove a pointless commentMatthias Dieter Wallnöfer2010-10-191-1/+0
| | | | | | | | We are only looking for the default DN - but the method name already tells us this. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Tue Oct 19 10:03:12 UTC 2010 on sn-devel-104
* s4:samdb.py - use a more standard way to get to the domain realm/dns nameMatthias Dieter Wallnöfer2010-10-191-1/+2
| | | | We do always use the canonical name as a base if we don't have it around yet.
* Addition of userPrincipalName attribute when new account is createdLukasz Zalewski2010-10-191-0/+2
|
* s4-provisionbackend Allow a fixed URI to be specified for LDAP backendAndrew Bartlett2010-10-192-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
* s4-provision Remove serverdn parameter from Schema()Andrew Bartlett2010-10-193-12/+6
| | | | | | | We don't need to know the server DN here any more, and it makes no sense for many callers. Andrew Bartlett
* wafsamba: Fix handling of pyembed/pyext.Jelmer Vernooij2010-10-101-19/+19
|
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-101-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
* s4-provision: Reset "debuglevel" after "provision" take placeKamen Mazdrashki2010-10-051-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
* s4:dsdb python stuff - introduce also here the "show_recycled" controlMatthias Dieter Wallnöfer2010-10-031-2/+2
| | | | | | | But also here beside "show_deleted" to not loose compatibility with older provisions. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* 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>