summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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
2008-12-03s3: Change sockaddr util function names for consistencyTim Prouty4-4/+4
Also eliminates name conflicts with OneFS system libraries
2008-12-02Implement type multi_sz for "net registry setvalue"Volker Lendecke1-0/+4
2008-11-30remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke1-3/+4
2008-11-28s3-samr: fix init_samr_user_info{23,24} callers.Günther Deschner2-2/+3
Guenther
2008-11-25Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison1-8/+8
Jeremy.
2008-11-18s3-libnet-samsync: use samsync_ops.Günther Deschner1-4/+4
Guenther
2008-11-18s3-net: add "net rpc vampire passdb" that allows to take arguments.Günther Deschner3-0/+22
Guenther
2008-11-18s3-net: use net_scan_dc in net rpc vampire keytab.Günther Deschner1-8/+27
Guenther
2008-11-18s3-net: add net_scan_dc function.Günther Deschner2-0/+42
Guenther
2008-11-18s3-net: add net_dc_info struct.Günther Deschner1-0/+10
Guenther
2008-11-18s3-net-vampire: add support for partial replication (individual deltas).Günther Deschner1-0/+109
Guenther
2008-11-17net: Fix net rap printq info documentation (bug #5892)Kai Blin1-4/+5
Carsten Dumke <carsten@cdumke.de> reported and provided a patch for v3.0 and v3.2. (See 0a7fb721cdc) This fixes the same issue in v3.3 and also changes the auto-generated usage information to give better help about net rap printq info.
2008-11-11[s3]make keytab filename argument mandatory to "net rpc vampire keytab"Michael Adam1-4/+11
This prevents unintended overwriting of the default path /etc/krb5.keytab (e.g.). Michael
2008-11-10ntlm_auth: Put huge NTLMv2 blobs into extra_data on CRAP auth.Kai Blin1-3/+15
This fixes bug #5865
2008-11-06Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison3-5/+5
talloc_autofree_context() instead of NULL. Remove the code in memcache that does a TALLOC_FREE on stored pointers. That's a disaster waiting to happen. If you're storing talloc'ed pointers, you can't know their lifecycle and they should be deleted when their parent context is deleted, so freeing them at some arbitrary point later will be a double-free. Jeremy.
2008-11-04Fixed typo in source/utils/net_rap.cJoe Smith1-1/+1
2008-11-01Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij6-67/+67
2008-11-01s3-net: fix build warning.Günther Deschner1-1/+1
Jeremy, please check. Guenther
2008-10-31s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner1-1/+1
Guenther
2008-10-31s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner1-1/+1
Guenther
2008-10-31Unify se_access_check with the S4 code. Will makeJeremy Allison1-11/+7
calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
2008-10-27[s3]pdbedit: remove unused variable.Michael Adam1-4/+0
Note: The change of commit r21962 (or fe962d2e48, aka f540c18b2) that was partly lost in the SVN->git glue commit e5a951325a6 (aka 5c6c8e1fe93f34) is not needed any more since the handler for option "-s" calls set_dyn_CONFIGFILE(). Michael