summaryrefslogtreecommitdiff
path: root/source4/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* s4: Rename LIBSAMBA-* to libsamba-*Jelmer Vernooij2010-10-242-2/+2
|
* s4: Rename LIBEVENTS to libevents.Jelmer Vernooij2010-10-231-1/+1
|
* Revert "s4:remove "util_ldb" submodule and integrate the three gendb_* calls ↵Matthias Dieter Wallnöfer2010-10-171-0/+1
| | | | | | | | | | | | in "dsdb/common/util.c"" This reverts commit 8a2ce5c47cee499f90b125ebde83de5f9f1a9aa0. Jelmer pointed out that these are also in use by other LDB databases - not only SAMDB ones. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 13:37:16 UTC 2010 on sn-devel-104
* s4:remove "util_ldb" submodule and integrate the three gendb_* calls in ↵Matthias Dieter Wallnöfer2010-10-171-1/+0
| | | | | | | | | "dsdb/common/util.c" They're only in use by SAMDB code. Autobuild-User: Matthias Dieter Wallnöfer <mdw@samba.org> Autobuild-Date: Sun Oct 17 09:40:13 UTC 2010 on sn-devel-104
* s4-net: exit with a failure when a command is unknownAndrew Tridgell2010-10-151-1/+1
| | | | | this ensures we don't pass bad tests in 'make test' if they call unknown net commands
* s4-net: fix the dependence on command line orderingAndrew Tridgell2010-10-151-8/+10
| | | | | | | this fixes python net commands where you use a '-' option before the command name Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:dsdb - remove "samdb_result_uint", "samdb_result_int64", ↵Matthias Dieter Wallnöfer2010-10-151-8/+8
| | | | | | | | | "samdb_result_uint64" and "samdb_result_string" We have ldb_msg_find_attr_as_* calls which do exactly the same. Therefore this reduces only code redundancies. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* wafsamba: Clarify needs_python argument name, use pyembed/pyext whereJelmer Vernooij2010-10-102-2/+2
| | | | | | | | | 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-libnet Remove libnet_samdump_keytab() and net samdump keytabAndrew Bartlett2010-09-241-52/+0
| | | | | | | | | | | There is a beter implementation of this in Samba3, and this uses functions in the credentials code that I want to remove. The same functionality is available by running 'net samsync' and 'net export keytab'. This isn't a DRS-backed utility, it only used netlogon replication. Andrew Bartlett
* s4-util: Print more informative error messages in 'net drs replicate'Kamen Mazdrashki2010-08-301-4/+13
|
* s4-net: moved the net join command to pythonAndrew Tridgell2010-08-233-106/+1
| | | | Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* s4:security Change struct security_token->sids from struct dom_sid * to ↵Andrew Bartlett2010-08-231-1/+1
| | | | | | | | | struct dom_sid This makes the structure much more like NT_USER_TOKEN in the source3/ code. (The remaining changes are that privilages still need to be merged) Andrew Bartlett
* Avoid use of Samba DTD, which requires net access.Jelmer Vernooij2010-08-221-4/+1
|
* s4-loadparm: 2nd half of lp_ to lpcfg_ conversionAndrew Tridgell2010-07-163-19/+19
| | | | | | | this converts all callers that use the Samba4 loadparm lp_ calling convention to use the lpcfg_ prefix. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* s4:testprogs Operate the blackbox kinit and net tests using the :local configAndrew Bartlett2010-07-161-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
* s4-net: the net binary depends on the auth subsystemAndrew Tridgell2010-07-081-1/+1
| | | | This helps with the OpenChange build
* s4/net-drs: Fix error messages typo and formattingKamen Mazdrashki2010-06-261-7/+7
|
* s4/utils: fix few 'net drs replicate' error messagesKamen Mazdrashki2010-06-251-6/+8
| | | | mainly for the output to be more informative
* Add talloc_frees in error cases in net_gpo.cWilco Baan Hofman2010-06-201-0/+11
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Fix net gpo list to use the dsdb with extended DN's. Fixes memberOf group ↵Wilco Baan Hofman2010-06-201-2/+19
| | | | | | memberships. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Revert "Add old functionality back which was removed in commit 589a42e2."Wilco Baan Hofman2010-06-201-1/+1
| | | | | | This reverts commit 94e3b4a0d8b714c101803886d60ae6c484740d2f. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add net gpo setacl support. Create gp_set_acl function. Show ACL in net gpo ↵Wilco Baan Hofman2010-06-201-2/+52
| | | | | | | | show. Cleanup memory allocation of gp_create_gpo Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add gpo create functionality. Also fix gPLink handling bugsWilco Baan Hofman2010-06-201-1/+33
| | | | 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>
* Add fetch function for GPO which fetches all relevant files from the sysvol ↵Wilco Baan Hofman2010-06-201-0/+30
| | | | | | share. Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add getinheritance and setinheritance to net gpo util and library.Wilco Baan Hofman2010-06-201-9/+93
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Implemented delete group policy link function and corresponding feature in ↵Wilco Baan Hofman2010-06-201-2/+38
| | | | | | 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-201-8/+8
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add add gPLink function and corresponding net gpo linkadd call.Wilco Baan Hofman2010-06-201-2/+52
| | | | | | 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-201-1/+1
| | | | | | 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-202-3/+3
| | | | Signed-off-by: Jelmer Vernooij <jelmer@samba.org>
* Add old functionality back which was removed in commit 589a42e2.Wilco Baan Hofman2010-06-201-1/+1
| | | | | | 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-201-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>
* Add gPLink and getgpo functionality to net gpo.Wilco Baan Hofman2010-06-201-14/+138
| | | | 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-203-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>
* testparm: Convert to Python.Jelmer Vernooij2010-06-202-266/+0
|
* setnttoken: Remove empty utility.Jelmer Vernooij2010-06-202-34/+0
|
* s4: Fix build when there is a system-provided ldb.Jelmer Vernooij2010-06-161-1/+1
|
* s4:lib: merge LDB_WRAP and LDBSAMBA and make LDBSAMBA a library.Stefan Metzmacher2010-06-161-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>
* s4-python: Remove cruft to deal with static python modules, which are noJelmer Vernooij2010-05-311-1/+0
| | | | longer supported.
* s4:utils/ntlm_auth.c - fix "asprintf" callsMatthias Dieter Wallnöfer2010-05-281-6/+11
|
* s4:auth Allow the operational module to get a user's tokenGroups from authAndrew Bartlett2010-05-201-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
* Finish removal of iconv_convenience in public API's.Jelmer Vernooij2010-05-181-2/+1
|
* s4:net utility - make outprinted description comments more consistentMatthias Dieter Wallnöfer2010-05-091-2/+2
| | | | | I've added a [server connection needed] when commands won't work on the local SamDB.
* s4/net_drs: Fix Connection name printedKamen Mazdrashki2010-04-281-3/+3
|
* s4-net: fixed two compiler warningsAndrew Tridgell2010-04-221-6/+4
|
* s4-net: show a list of commands when someone runs "net" with no argumentsAndrew Tridgell2010-04-201-1/+1
|
* s4-waf: removed the unused installdir= option to SAMBA_BINARY()Andrew Tridgell2010-04-182-5/+0
| | | | | This was left over from the automatic conversion of the config.mk files
* s4:util/net/drs: don't look at p->last_fault_code for debugging anymoreStefan Metzmacher2010-04-154-12/+0
| | | | metze
* s4-build: Fix autoconf build (net_machinepw.c is no longer present)Jelmer Vernooij2010-04-091-1/+0
|