summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
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
2008-10-23Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2-2/+2
2008-10-23Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij1-2/+2
otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
2008-10-23Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij1-1/+1
previously present in Samba 3.
2008-10-23Use common error definitions.Jelmer Vernooij1-1/+1
2008-10-21Cope with MAXIMUM_ALLOWED_ACCESS requests when opening handles.Jeremy Allison1-11/+0
Jeremy.
2008-10-20s3-build: no need to duplicate generated ndr_ prototypes.Günther Deschner1-0/+1
Guenther
2008-10-20Regenerate pidl output.Jelmer Vernooij1-1/+1
2008-10-19Remove silly safe_free() function which is a wrapper around SAFE_FREE().Jelmer Vernooij3-4/+4
Since it's a function it just sets the local pointer to NULL and basically is an equivalent to free(). It also claims it's being used for callbacks but isn't used that way anywhere.
2008-10-19Add TALLOC_CTX pointer to generate_random_str(), for consistency withJelmer Vernooij1-7/+3
Samba 4.
2008-10-18Rename hex_encode to hex_encode_talloc,for consistency with samba 4 and heimdal.Jelmer Vernooij1-4/+4
2008-10-18[s3]testparm: prevent "no stackframe around" warning.Michael Adam1-1/+1
gfree_loadparm and TALLOC_FREE(frame) were in the wrong order. Michael
2008-10-18Use separate make variables for libutil and libcrypto.Jelmer Vernooij1-2/+2
2008-10-16s3: remove rpccli_svcctl_query_config.Günther Deschner1-19/+30
Guenther
2008-10-15s3: fix various samr callers.Günther Deschner1-5/+5
Guenther
2008-10-15Share initshutdown.idl.Jelmer Vernooij1-8/+4
2008-10-14Attempt to fix bug #5818 - "smbcacls: sorts ACEs improperly and loses ↵Jeremy Allison1-26/+157
inheritance", based on a patch from Paul Fertser <fercerpav@gmail.com>. I also added the ability to get/set hex and symbolic inheritance flag names on ACE flags. I'm still investigating the effects of setting the "SEC_DESC_DACL_AUTO_INHERIT_REQ" flag as I don't yet see what effects this is having on the ACE sent. Jeremy.
2008-10-14Use GUID_string rather than smb_uuid_string().Jelmer Vernooij1-1/+1