summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-06-20Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman3-9/+158
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman2-3/+107
net gpo. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Changed add_gplink to set_gplink, so we can change gPLink options as well.Wilco Baan Hofman3-15/+24
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman3-49/+141
Also added some definitions for future functions in policy.h Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Rename files to reflect the libpolicy naming convention. Also fix the GNU ↵Wilco Baan Hofman7-6/+9
make build. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Rename libgpo to lib/policy to avoid confusion with samba3 and add waf buildWilco Baan Hofman10-9/+30
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add old functionality back which was removed in commit 589a42e2.Wilco Baan Hofman3-3/+22
Andrew, please review! Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add gpo list function for listing applicable GPO's for users/machines.Wilco Baan Hofman3-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>
2010-06-20Add gPLink and getgpo functionality to net gpo.Wilco Baan Hofman3-67/+437
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Created net gpo and new libgpo for samba 4. This adds the init function ↵Wilco Baan Hofman12-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>
2010-06-20s3: Attempt to fix the build on NetBSDKai Blin2-6/+9
Unlike Linux and OSX, NetBSD seems to have *netgrent prototypes in netgroup.h.
2010-06-20pydsdb: Mark all SamDB and Schema methods that are in pydsdb asJelmer Vernooij4-32/+32
private, to discourage them being called directly.
2010-06-20testparm: Check netbios name and workgroup characters and length.Jelmer Vernooij2-16/+38
2010-06-20provision: Properly cancel transactions on the secrets ldb.Jelmer Vernooij1-122/+131
2010-06-20selftest: Use scripted testparm.Jelmer Vernooij3-5/+6
2010-06-20pyparam: Support Loadparm.get(p, "global")Jelmer Vernooij1-52/+52
2010-06-20ldb: Add ABI file for use when including ildap in the build.Jelmer Vernooij1-0/+224
2010-06-20testparm: Simplify default option handling.Jelmer Vernooij1-19/+14
2010-06-20pyparam: Allow specifying None as section name to LoadparmContext.get()Jelmer Vernooij1-1/+1
to mean default section.
2010-06-20testparm: Fix suppress prompt option.Jelmer Vernooij1-7/+5
2010-06-20testparm: Fix exit value, install.Jelmer Vernooij2-14/+21
2010-06-20s4-python: Add LoadparmService.dump()Jelmer Vernooij1-0/+40
2010-06-20s4-python: Implement LoadParm.dump().Jelmer Vernooij2-1/+24
2010-06-20testparm: Split up functions that do multiple things.Jelmer Vernooij1-40/+33
2010-06-20testparm: Convert to Python.Jelmer Vernooij3-266/+204
2010-06-20s4-python: Remove more unused imports, fix use of sets in upgradehelpers.Jelmer Vernooij3-9/+5
2010-06-20setnttoken: Remove empty utility.Jelmer Vernooij2-34/+0
2010-06-20Use standard Python syntax, booleans and set()'s where appropriate.Jelmer Vernooij3-23/+28
2010-06-20Remove unnecessary use of transactions.Jelmer Vernooij1-11/+3
2010-06-20ldb: Change LDBSAMBA back to subsystem, update comments, use differentJelmer Vernooij2-7/+16
ABI file based on whether ldb_ildap is included.
2010-06-20s4:ldb-samba: fix the build without a system ldbStefan Metzmacher1-1/+5
metze
2010-06-20s3-waf: Change the (set|get|end)netgrent checks to match the configure.in checksKai Blin1-9/+12
2010-06-20s3 configure: Check for (set|get|end)netgrent prototypesKai Blin1-1/+24
2010-06-20build: Allow for a custom message in CHECK_C_PROTOTYPEKai Blin1-2/+4
2010-06-20ldb: Remove last import of dsdb.Jelmer Vernooij1-12/+0
2010-06-20Some more formatting fixes, move schema related functions from Ldb to Schema.Jelmer Vernooij6-39/+36
2010-06-20Move convert_to_openldap onto Schema class.Jelmer Vernooij3-5/+7
2010-06-20Formatting cleanups; use True/False for booleans, unnecessary backslashes, ↵Jelmer Vernooij6-122/+141
spacing.
2010-06-20Move a few more samdb-specific methods to SamDB, away from Ldb.Jelmer Vernooij2-15/+3
2010-06-20samdb: Fix formatting, move get_oid_from_attid from Ldb to SamDB.Jelmer Vernooij3-22/+20
2010-06-20s4-python: Remove trivial function, replace by dictionary.Jelmer Vernooij3-40/+14
2010-06-20make test modules for net group set of commands and modification to the ↵Lukasz Zalewski3-2/+84
newuser to include additional parameters Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski2-60/+63
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Modifications extending functionality of newuser cmd and new net group set ↵Lukasz Zalewski4-8/+439
of commands for group related operations on ldb Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Make grouped commit / rollback more resistant to ↵Matthieu Patou1-13/+42
unexpected problems Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Check that the policy for DC is present if not warn the ↵Matthieu Patou2-4/+38
user Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Emit message instead of crashing when not able to set aclMatthieu Patou1-4/+10
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: add an option to force the rebuilding of FS ACLs on ↵Matthieu Patou1-1/+6
sysvols share Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 unittests: add unit tests for upgradehelpersMatthieu Patou2-4/+19
The functions tested are: * construct_existor_expr * search_constructed_attrs_stored Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20s4 upgradeprovision: Add function for searching stored constructed attributesMatthieu Patou1-0/+51
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>