summaryrefslogtreecommitdiff
path: root/source4/utils
AgeCommit message (Collapse)AuthorFilesLines
2010-07-16s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett1-2/+0
This :local tells selftest.pl to use the local smb.conf for the test environment, not the generic client smb.conf This then makes the rest work properly - otherwise, it may attempt to connect to the wrong KDC for example. The only problem is that we can't test the 'net join' with this set, so this is removed from the test. The member server test environment checks this anyway. Andrew Bartlett
2010-07-08s4-net: the net binary depends on the auth subsystemAndrew Tridgell1-1/+1
This helps with the OpenChange build
2010-06-26s4/net-drs: Fix error messages typo and formattingKamen Mazdrashki1-7/+7
2010-06-25s4/utils: fix few 'net drs replicate' error messagesKamen Mazdrashki1-6/+8
mainly for the output to be more informative
2010-06-20Add talloc_frees in error cases in net_gpo.cWilco Baan Hofman1-0/+11
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group ↵Wilco Baan Hofman1-2/+19
memberships. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Revert "Add old functionality back which was removed in commit 589a42e2."Wilco Baan Hofman1-1/+1
This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo ↵Wilco Baan Hofman1-2/+52
show. Cleanup memory allocation of gp_create_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman1-1/+33
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Finish net gpo fetch function. Reorder arguments to make them more ↵Wilco Baan Hofman1-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>
2010-06-20Add fetch function for GPO which fetches all relevant files from the sysvol ↵Wilco Baan Hofman1-0/+30
share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman1-9/+93
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman1-2/+38
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 Hofman1-8/+8
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman1-2/+52
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 Hofman1-1/+1
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 Hofman2-3/+3
Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
2010-06-20Add old functionality back which was removed in commit 589a42e2.Wilco Baan Hofman1-1/+1
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 Hofman1-4/+94
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 Hofman1-14/+138
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 Hofman3-1/+89
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-20testparm: Convert to Python.Jelmer Vernooij2-266/+0
2010-06-20setnttoken: Remove empty utility.Jelmer Vernooij2-34/+0
2010-06-16s4: Fix build when there is a system-provided ldb.Jelmer Vernooij1-1/+1
2010-06-16s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher1-1/+1
This is needed to remove samba specifc symbols from the bundled ldb, in order to get the ABI right. metze Signed-off-by: Andreas Schneider <asn@samba.org>
2010-05-31s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij1-1/+0
longer supported.
2010-05-28s4:utils/ntlm_auth.c - fix "asprintf" callsMatthias Dieter Wallnöfer1-6/+11
2010-05-20s4:auth Allow the operational module to get a user's tokenGroups from authAndrew Bartlett1-0/+1
This creates a new interface to the auth subsystem, to allow an auth_context to be created from the ldb, and then tokenGroups to be calculated in the same way that the auth subsystem would. Andrew Bartlett
2010-05-18Finish removal of iconv_convenience in public API's.Jelmer Vernooij1-2/+1
2010-05-09s4:net utility - make outprinted description comments more consistentMatthias Dieter Wallnöfer1-2/+2
I've added a [server connection needed] when commands won't work on the local SamDB.
2010-04-28s4/net_drs: Fix Connection name printedKamen Mazdrashki1-3/+3
2010-04-22s4-net: fixed two compiler warningsAndrew Tridgell1-6/+4
2010-04-20s4-net: show a list of commands when someone runs "net" with no argumentsAndrew Tridgell1-1/+1
2010-04-18s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2-5/+0
This was left over from the automatic conversion of the config.mk files
2010-04-15s4:util/net/drs: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher4-12/+0
metze
2010-04-09s4-build: Fix autoconf build (net_machinepw.c is no longer present)Jelmer Vernooij1-1/+0
2010-04-09s4-net: Convert machinepw command to python.Jelmer Vernooij3-93/+1
2010-04-09s4-net: Convert vampire command over to Python.Jelmer Vernooij2-68/+0
2010-04-09s4-net: Convert user subcommand to Python.Jelmer Vernooij4-129/+2
2010-04-08s4-net: Convert 'net time' to python.Jelmer Vernooij3-6/+7
2010-04-08net: Convert time command to python.Jelmer Vernooij2-79/+0
2010-04-08Update waf build.Jelmer Vernooij1-1/+1
2010-04-08Migrate 'net export keytab' to python.Jelmer Vernooij3-113/+1
2010-04-06s4:net tool - add a "discard_const_p" to suppress the "PySys_SetArgv" warningMatthias Dieter Wallnöfer1-1/+1
2010-04-06s4-waf: removed the AUTOGENERATED markersAndrew Tridgell1-4/+0
we won't be using the mk -> wscript generator again
2010-04-06s4-waf: more dependencies on tallocAndrew Tridgell1-1/+1
these are needed so we can support a system talloc without using the bundled talloc.h
2010-04-06s4-waf: cleanup use of LIBPOPT vs popt dependencyAndrew Tridgell2-3/+3
2010-04-06s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2-0/+4
them
2010-04-06build: setnttoken depends on libreplaceAndrew Tridgell1-1/+1
2010-04-06build: waf quicktest nearly worksAndrew Tridgell2-6/+3
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code