summaryrefslogtreecommitdiffstats
path: root/source4
Commit message (Collapse)AuthorAgeFilesLines
...
* samba4: Add python bindings for samba.policy.get_gplink_options.Jelmer Vernooij2010-06-202-0/+52
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* policy: Add samba.policy.get_gpo_flags binding.Jelmer Vernooij2010-06-204-0/+123
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman2010-06-207-19/+506
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix mode_t in mkdir.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Finish net gpo fetch function. Reorder arguments to make them more ↵Wilco Baan Hofman2010-06-201-7/+16
| | | | | | | | understandable. Rename getgpo to show. This makes the net gpo break for it's samba 3 origins, but makes the syntax more intuitive. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Optimize the backslash logic in the path traversal.Wilco Baan Hofman2010-06-201-24/+9
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix error in logic, making recursion work past the first level.Wilco Baan Hofman2010-06-201-1/+1
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add fetch function for GPO which fetches all relevant files from the sysvol ↵Wilco Baan Hofman2010-06-206-5/+307
| | | | | | share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman2010-06-203-9/+158
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman2010-06-202-3/+107
| | | | | | net gpo. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Changed add_gplink to set_gplink, so we can change gPLink options as well.Wilco Baan Hofman2010-06-203-15/+24
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman2010-06-203-49/+141
| | | | | | Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Rename files to reflect the libpolicy naming convention. Also fix the GNU ↵Wilco Baan Hofman2010-06-207-6/+9
| | | | | | make build. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Rename libgpo to lib/policy to avoid confusion with samba3 and add waf buildWilco Baan Hofman2010-06-2010-9/+30
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add old functionality back which was removed in commit 589a42e2.Wilco Baan Hofman2010-06-203-3/+22
| | | | | | Andrew, please review! Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo list function for listing applicable GPO's for users/machines.Wilco Baan Hofman2010-06-203-38/+322
| | | | | | | | | | | | Implements: * Hierarchical listing through all parent containers * security ACL checking on the GPO * User/computer disabled flags on the GPO * gPLink disabled * gPLink enforced * Block inheritance on the container Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gPLink and getgpo functionality to net gpo.Wilco Baan Hofman2010-06-203-67/+437
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Created net gpo and new libgpo for samba 4. This adds the init function ↵Wilco Baan Hofman2010-06-2012-671/+301
| | | | | | | | | | which finds a DC and connects to its LDAP. It also can return information on all group policy objects on a DC. Aborted earlier attempt at reconciliation with samba 3. Did not work out due to lack of ldb support in samba 3, also the different registry libraries and different libnet did not help.. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* pydsdb: Mark all SamDB and Schema methods that are in pydsdb asJelmer Vernooij2010-06-204-32/+32
| | | | private, to discourage them being called directly.
* testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij2010-06-202-16/+38
|
* provision: Properly cancel transactions on the secrets ldb.Jelmer Vernooij2010-06-201-122/+131
|
* selftest: Use scripted testparm.Jelmer Vernooij2010-06-202-3/+4
|
* pyparam: Support Loadparm.get(p, "global")Jelmer Vernooij2010-06-201-52/+52
|
* ldb: Add ABI file for use when including ildap in the build.Jelmer Vernooij2010-06-201-0/+224
|
* testparm: Simplify default option handling.Jelmer Vernooij2010-06-201-19/+14
|
* pyparam: Allow specifying None as section name to LoadparmContext.get()Jelmer Vernooij2010-06-201-1/+1
| | | | to mean default section.
* testparm: Fix suppress prompt option.Jelmer Vernooij2010-06-201-7/+5
|
* testparm: Fix exit value, install.Jelmer Vernooij2010-06-202-14/+21
|
* s4-python: Add LoadparmService.dump()Jelmer Vernooij2010-06-201-0/+40
|
* s4-python: Implement LoadParm.dump().Jelmer Vernooij2010-06-202-1/+24
|
* testparm: Split up functions that do multiple things.Jelmer Vernooij2010-06-201-40/+33
|
* testparm: Convert to Python.Jelmer Vernooij2010-06-203-266/+204
|
* s4-python: Remove more unused imports, fix use of sets in upgradehelpers.Jelmer Vernooij2010-06-203-9/+5
|
* setnttoken: Remove empty utility.Jelmer Vernooij2010-06-202-34/+0
|
* Use standard Python syntax, booleans and set()'s where appropriate.Jelmer Vernooij2010-06-203-23/+28
|
* Remove unnecessary use of transactions.Jelmer Vernooij2010-06-201-11/+3
|
* ldb: Change LDBSAMBA back to subsystem, update comments, use differentJelmer Vernooij2010-06-202-7/+16
| | | | ABI file based on whether ldb_ildap is included.
* s4:ldb-samba: fix the build without a system ldbStefan Metzmacher2010-06-201-1/+5
| | | | metze
* ldb: Remove last import of dsdb.Jelmer Vernooij2010-06-201-12/+0
|
* Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij2010-06-206-39/+36
|
* Move convert_to_openldap onto Schema class.Jelmer Vernooij2010-06-203-5/+7
|
* Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵Jelmer Vernooij2010-06-206-122/+141
| | | | spacing.
* Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij2010-06-202-15/+3
|
* samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.Jelmer Vernooij2010-06-203-22/+20
|
* s4-python: Remove trivial function, replace by dictionary.Jelmer Vernooij2010-06-203-40/+14
|
* make test modules for net group set of commands and modification to the ↵Lukasz Zalewski2010-06-203-2/+84
| | | | | | newuser to include additional parameters Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski2010-06-202-60/+63
| | | | | | of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski2010-06-204-8/+439
| | | | | | of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Make grouped commit / rollback more resistant to ↵Matthieu Patou2010-06-201-13/+42
| | | | | | unexpected problems Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵Matthieu Patou2010-06-202-4/+38
| | | | | | user Signed-off-by: Jelmer Vernooij <jelmer@samba.org>