summaryrefslogtreecommitdiffstats
path: root/source4/scripting/python
Commit message (Collapse)AuthorAgeFilesLines
* When listing group members allow fallback to cn attribute when ↵Lukasz Zalewski2012-05-101-2/+5
| | | | samAccountName is not available
* s4-provision Ensure we have posix ACLs before we permit a s3fs-based Samba4 ↵Andrew Bartlett2012-05-081-0/+14
| | | | to be configured
* s4-s3-upgrade: Max/min password age policy is in seconds, not daysAndrew Bartlett2012-05-061-2/+2
| | | | | | | | | | This cases upgraded domains to have a too-long password expiry, which in extreme cases can cause the KDC to misfunction. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun May 6 14:49:39 CEST 2012 on sn-devel-104
* provision: remove reference to no longer existing template files.Jelmer Vernooij2012-05-031-7/+5
|
* s4-samba-tool: make new samba-tool group listmembers use samAccountNameAndrew Bartlett2012-05-032-4/+4
| | | | | | | | | This is the unique username value. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu May 3 01:57:41 CEST 2012 on sn-devel-104
* s4-s3upgrade: Force ldapsam:trusted = yesAndrew Bartlett2012-05-031-0/+3
| | | | | | | | | | | | | While this setting is not the default in Samba3, any domain that is in a suitable condition to upgrade to Samba4 should already be in the layout that ldapsam:trusted uses. It can be turned off by setting ldapsam:trusted=false in the smb.conf. Many upgrades to Samba4 happen on a different host to the old Samba3 domain and this avoids the need to configure nss_ldap only for the duration of the upgrade. Andrew Bartlett
* Extension to the samba-tool group subcommand functionality to allow listing ↵Lukasz Zalewski2012-05-032-0/+85
| | | | of the members of an AD group
* s4-s3upgrade: Try harder to get group memberships on upgradeAndrew Bartlett2012-05-031-5/+20
| | | | | | | | | | | | This fixes an issue where some group types were not upgraded, as we did not upgrade alias memberships. It also uses enum_group_memberships() to try and find the memberships from the other direction, by asking which groups a user is a member of. As Samba3 (and NT4) does not implement nested groups, this should be safe. Andrew Bartlett
* s4-provision: Fix up --use-s3fs to create the directory for xattr.tdbAndrew Bartlett2012-05-021-4/+8
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed May 2 04:45:05 CEST 2012 on sn-devel-104
* s4-provision: set 'dcerpc endpoint servers' but not 'vfs objects'Andrew Bartlett2012-05-021-1/+1
| | | | | | | The VFS objects are now set in the fileserver.conf, but this is only read by smbd, so the provision-time smb.conf needs to turn off the extra Samba4 DCE/RPC services. Andrew Bartlett
* s4-s3upgrade: print the error message from passdb.error exceptionsAndrew Bartlett2012-04-241-6/+6
| | | | | | | | | This gives more information on why a group membership lookup failed. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Apr 24 04:34:44 CEST 2012 on sn-devel-104
* s4-python: Ensure we handle the no-eadb case for system xattrs in get/setntaclAndrew Bartlett2012-04-191-0/+1
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 20:51:16 CEST 2012 on sn-devel-104
* Added number of FSMO roles owned by the server we are trying to demote.Daniele Dario2012-04-191-1/+1
|
* waf: Fix mispellingSimo Sorce2012-04-191-1/+1
| | | | | Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Thu Apr 19 17:36:41 CEST 2012 on sn-devel-104
* dbcheck: Add a check that every FSMO role has a valid ownerAndrew Bartlett2012-04-191-0/+41
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Thu Apr 19 07:49:54 CEST 2012 on sn-devel-104
* s4-samba-tool: Fix samba-tool fsmo seizeAndrew Bartlett2012-04-192-46/+51
| | | | | | This is currently untested, and a restructure broke it. Andrew Bartlett
* s4-s3upgrade: Do not ever set a domain-wide maxPwdAge of 0Andrew Bartlett2012-04-191-1/+1
| | | | | | This means no-expiry in s3, and so we must treat it like -1. Andrew Bartlett
* s4-s3upgrade: Ignore (with warning) groups that are listed but we cannot ↵Andrew Bartlett2012-04-191-2/+14
| | | | list members for
* dbcheck: added fix for incorrect RMD_FLAGSAndrew Tridgell2012-04-181-0/+35
| | | | | | | | | | this fixes the case where a DN link has RMD_FLAGS=0 for a link inside a deleted object Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Wed Apr 18 09:19:41 CEST 2012 on sn-devel-104
* s4:dbchecker.py - integrate the "objectClass" fixing codeMatthias Dieter Wallnöfer2012-04-181-0/+27
| | | | Signed-off-by: Andrew Tridgell <tridge@samba.org>
* s3fs: Use xattr_tdb format for xattr storageAndrew Bartlett2012-04-181-9/+16
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Wed Apr 18 05:39:01 CEST 2012 on sn-devel-104
* s4-python: Add python wrapper for xattr_tdb format xattr storageAndrew Bartlett2012-04-181-13/+23
| | | | | | | This uses the format used by the vfs_xattr_tdb module. The s4 posix:eadb format is kept, just in a new file and module. Andrew Bartlett
* s4:ldapcmp.py: pass down outf and errfStefan Metzmacher2012-04-171-12/+29
| | | | | | | | | Not all classes are derived from class 'Command'. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Apr 17 10:06:47 CEST 2012 on sn-devel-104
* Add an option to have s3fs as file server for samba4Matthieu Patou2012-04-161-8/+19
| | | | | Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Apr 16 09:38:18 CEST 2012 on sn-devel-104
* s4-provision: Update configuration lines for dlz_bind9Amitay Isaacs2012-04-161-3/+1
| | | | | | | This adds configuration lines for BIND versions 9.8.x and 9.9.x. Autobuild-User: Amitay Isaacs <amitay@samba.org> Autobuild-Date: Mon Apr 16 03:52:14 CEST 2012 on sn-devel-104
* s4-libnet: split export_keytab in a separate python module to avoid pulling ↵Alexander Bokovoy2012-04-121-0/+1
| | | | | | | | | in HDB dependency Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Apr 12 15:23:19 CEST 2012 on sn-devel-104
* LDB/s4 - do not use the "(dn=...)" syntax on filters anymoreMatthias Dieter Wallnöfer2012-03-264-12/+12
| | | | | | | Make it AD-compatible using "(distinguishedName=...)". Reviewed-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4-samba-tool: add password verification in change user passBjörn Baumbach2012-03-211-1/+5
| | | | | | | Signed-off-by: Michael Adam <obnox@samba.org> Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 21 17:43:35 CET 2012 on sn-devel-104
* s4-samba-tool: add password verification in add userBjörn Baumbach2012-03-211-0/+4
| | | | Signed-off-by: Michael Adam <obnox@samba.org>
* s4:selftest: add test for "samba-tool group list"Michael Adam2012-03-191-0/+22
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Mar 19 02:30:39 CET 2012 on sn-devel-104
* s4:samba-tool: add simple command "group list"Michael Adam2012-03-181-0/+33
|
* s4:selftest: add a new testsuite for the "samba-tool group" commandMichael Adam2012-03-181-0/+128
|
* Factorize code from findprovisionusnranges in order to solve bug #8504Matthieu Patou2012-03-171-2/+124
|
* s4:samba-tool: remove remains of patch conflict resolutionMichael Adam2012-03-161-1/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Fri Mar 16 19:13:32 CET 2012 on sn-devel-104
* samba.tests.source: Verify that only executable python files (and only ↵Jelmer Vernooij2012-03-151-1/+20
| | | | executable files) have a shebang line.
* s4:selftest: remove python shebang accidentially re-added to the "samba-tool ↵Michael Adam2012-03-151-2/+0
| | | | | | | user" test Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 16:17:54 CET 2012 on sn-devel-104
* s4:selftest: fix message typo in test for "samba-tool user list"Michael Adam2012-03-151-1/+3
| | | | | | | Spotted by kukks - thanks. Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Mar 15 14:24:29 CET 2012 on sn-devel-104
* s4:selftest: fix a message-typo in the "samba-tool user" testsuite.Michael Adam2012-03-141-1/+1
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Mar 14 21:19:11 CET 2012 on sn-devel-104
* s4:selftest: add a new test for "samba-tool user list"Michael Adam2012-03-141-1/+27
|
* s4-python: Add missing python source file encoding.Andreas Schneider2012-03-131-0/+2
| | | | | | | See http://www.python.org/dev/peps/pep-0263/ Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Tue Mar 13 19:31:09 CET 2012 on sn-devel-104
* s4-python: Remove env from non-executable webserver script.Andreas Schneider2012-03-131-2/+1
|
* s4-python: Remove env from non-executable samba_tool scripts.Andreas Schneider2012-03-132-4/+0
|
* s4-python: Remove env from non-executable dcerpc scripts.Andreas Schneider2012-03-1311-21/+4
|
* s4-python: Remove execute flag from non-executable rpc_talloc script.Andreas Schneider2012-03-131-0/+0
|
* s4-python: Remove env from non-executable blackbox test scripts.Andreas Schneider2012-03-132-3/+0
|
* s4-python: Remove execute flag from ndrdump blackbox script.Andreas Schneider2012-03-131-0/+0
|
* s4-python: Remove env from non-executable test scripts.Andreas Schneider2012-03-1328-57/+0
|
* s4-python: Remove env from non-executable netcmd scripts.Andreas Schneider2012-03-1321-44/+0
|
* s4-python: Remove execute flag from netcmd scripts.Andreas Schneider2012-03-132-0/+0
|
* s4-python: Remove env from non-executable samba scripts.Andreas Schneider2012-03-1316-33/+0
|