summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-02-09Attempt to fix the buildVolker Lendecke1-4/+4
2009-02-09s3-rpcclient: use srv_name_slash instead of formating servername again and ↵Günther Deschner1-10/+7
again. Guenther
2009-02-09s3-spoolss: use rpccli_spoolss_AddForm in net and rpcclient.Günther Deschner1-11/+17
Guenther
2009-02-06s3-spoolss: use rpccli_spoolss_ClosePrinter.Günther Deschner1-25/+25
Guenther
2009-02-06s3:net conf: remove check for sharename being a usernam in "net conf addshare"Michael Adam1-6/+0
This is useless and can be overriden by "net conf setparm" anyways. Michael
2009-02-05s3: use samr_RidWithAttribute instead of DOM_GID.Günther Deschner1-1/+1
Guenther
2009-02-05s3-net: remove unused ENUM_HND.Günther Deschner1-3/+0
Guenther
2009-02-04s3-net: add "net eventlog export".Günther Deschner1-0/+109
This allows to export our tdb eventlog representation into a native win32 *.evt eventlog file. Guenther
2009-02-04s3-net: add "net eventlog import".Günther Deschner1-0/+104
This allows to import a native (non-wrapped) win32 *.evt eventlog file into our tdb eventlog representation. Guenther
2009-02-04s3-net: add "net eventlog dump".Günther Deschner3-0/+111
This allows to dump a native (non-wrapped) win32 *.evt eventlog file. Guenther
2009-02-04s3-eventlogadm: use struct eventlog_Record_tdb for storing entries in tdbs.Günther Deschner1-9/+14
Guenther
2009-02-03s3-eventlogadm: add command to dump stored tdb entries.Günther Deschner1-0/+53
Guenther
2009-02-03s3-eventlog: pass down talloc context to parse_logentry().Günther Deschner1-1/+2
Guenther
2009-02-03s3-eventlog: allow to open eventlog tdbs readonly.Günther Deschner1-1/+1
Guenther
2009-02-03s3-net: fix warning message for keytab usage.Günther Deschner1-2/+2
Guenther
2009-02-03s3: Fix 'net rpc join' for users with the SeMachineAccountPrivilege.Volker Lendecke1-2/+5
2009-02-01Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz1-4/+4
lp_use_kerberos_keytab parameter. The first is "kerberos method" and replaces the "use kerberos keytab" with an enum. Valid options are: secrets only - use only the secrets for ticket verification (default) system keytab - use only the system keytab for ticket verification dedicated keytab - use a dedicated keytab for ticket verification. secrets and keytab - use the secrets.tdb first, then the system keytab For existing installs: "use kerberos keytab = yes" corresponds to secrets and keytab "use kerberos keytab = no" corresponds to secrets only The major difference between "system keytab" and "dedicated keytab" is that the latter method relies on kerberos to find the correct keytab entry instead of filtering based on expected principals. The second parameter is "dedicated keytab file", which is the keytab to use when in "dedicated keytab" mode. This keytab is only used in ads_verify_ticket.
2009-02-01Fix some type-punned warningsVolker Lendecke1-3/+3
2009-02-01cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke1-2/+1
2009-01-30Make cli_tcon_andx asyncVolker Lendecke2-6/+8
2009-01-22s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵Stefan Metzmacher1-13/+16
tevent_loop_once() metze
2009-01-22Actually complete 3662c2b...Volker Lendecke1-1/+1
2009-01-21Memory leaks and other fixes found by Coveritytodd stecher1-2/+10
2009-01-16s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam1-4/+4
Michael
2009-01-16winreg: fix winreg_EnumValue callers.Günther Deschner1-1/+1
Guenther
2009-01-15s3: make better use of ccache by not including version.h in every C-file.Michael Adam1-1/+1
version.h changes rather frequently. Since it is included via includes.h, this means each C file will be a cache miss. This applies to the following situations: * When building a new package with a new Samba version * building in a git branch after calling mkversion.sh after a new commit (i.e. virtually always) This patch improves the situation in the following way: * remove inlude "version.h" from includes.h * Use samba_version_string() instead of SAMBA_VERSION_STRING in files that use no other macro from version.h instead of SAMBA_VERSION_STRING. * explicitly include "version.h" in those files that use more macros from "version.h" than just SAMBA_VERSION_STRING. Michael
2009-01-12Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman1-0/+20
If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
2009-01-09Minor tidyup of unix account missing code.Jeremy Allison1-5/+5
Jeremy.
2009-01-09s3-net: use rpccli_svcctl_EnumServicesStatusW.Günther Deschner1-19/+68
Guenther
2009-01-09s3/net: Display error message if user does not exist.Karolin Seeger1-1/+4
net rpc rights grant: Verify if the username can be resolved to a SID and display a proper error message if it does not. Otherwise users might think setting privileges worked fine, but in fact it does not. Karolin
2009-01-09s3/smbpasswd: Check if Unix account exists before asking for the password.Karolin Seeger1-0/+9
Admins shouldn't have to type in the password twice when the passdb account cannot be created because the Unix account is missing. Karolin
2009-01-08s3-net: fix type in rpc_service_list_internal(). Sorry...Günther Deschner1-1/+1
Guenther
2009-01-08s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner1-3/+3
Guenther
2009-01-08s3-svcctl: remove some more redundant headers.Günther Deschner1-1/+1
Guenther
2009-01-06s3-samr: avoid all init_samr_user* functions.Günther Deschner2-27/+7
Guenther
2009-01-05s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher2-6/+5
metze
2009-01-04Fix the build of smbfilterVolker Lendecke1-2/+3
2009-01-03open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke1-1/+1
2008-12-31Fix all warnings in source3 with gcc4.3.Jeremy Allison9-25/+72
Jeremy.
2008-12-28Add -D option to sharesec util to delete the entire security descriptor.Steven Danneman1-8/+23
* also modified --usage descriptions to be more accurate
2008-12-28Change error messages in sharesec util to go to stderr instead of stdoutSteven Danneman1-10/+10
2008-12-28Cleaned up whitespace issues in sharesec.cSteven Danneman1-35/+39
2008-12-19Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2-3/+6
2008-12-17net luaVolker Lendecke3-0/+396
This adds a lua command line interpreter with some sample code how to build your own data types based on our internal data types. Not meant as the final word, but as a playground for experiments for people. Might be removed later when we find this turns out to be too awkward.
2008-12-16s3:net_status: use dbwrap to open sessionid.tdbStefan Metzmacher1-24/+20
metze
2008-12-14Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke3-35/+53
This involves changing all our clients, that's why it's so large.
2008-12-13don't return 0 on error - bad for scriptsHerb Lewis1-0/+2
2008-12-13s3: correctly detect if the current dc is the closest oneStefan Metzmacher1-1/+1
ads->config.tried_closest_dc was never set. metze Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Günther Deschner <gd@samba.org> (cherry picked from commit dfe5b00db35e1e7c7bb3ba36729fc3f97eb48db3)
2008-12-05s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner1-1/+1
Guenther
2008-12-04s3:net: fix password set of 'net rpc trustdom add'Stefan Metzmacher1-1/+2
metze