summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* Make STATEDIR and CACHEDIR configurable through ./configure and loadparm.cSteven Danneman2009-01-121-0/+20
| | | | | | If they are not explicitely set in either place both will default to LOCKDIR. Signed-off-by: Michael Adam <obnox@samba.org>
* Minor tidyup of unix account missing code.Jeremy Allison2009-01-091-5/+5
| | | | Jeremy.
* s3-net: use rpccli_svcctl_EnumServicesStatusW.Günther Deschner2009-01-091-19/+68
| | | | Guenther
* s3/net: Display error message if user does not exist.Karolin Seeger2009-01-091-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
* s3/smbpasswd: Check if Unix account exists before asking for the password.Karolin Seeger2009-01-091-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
* s3-net: fix type in rpc_service_list_internal(). Sorry...Günther Deschner2009-01-081-1/+1
| | | | Guenther
* s3-svcctl: use pidl based struct SERVICE_STATUS.Günther Deschner2009-01-081-3/+3
| | | | Guenther
* s3-svcctl: remove some more redundant headers.Günther Deschner2009-01-081-1/+1
| | | | Guenther
* s3-samr: avoid all init_samr_user* functions.Günther Deschner2009-01-062-27/+7
| | | | Guenther
* s3:events: change event_add_timed() prototype to match samba4Stefan Metzmacher2009-01-052-6/+5
| | | | metze
* Fix the build of smbfilterVolker Lendecke2009-01-041-2/+3
|
* open_socket_out is always used with SOCK_STREAM, remove argument "type"Volker Lendecke2009-01-031-1/+1
|
* Fix all warnings in source3 with gcc4.3.Jeremy Allison2008-12-319-25/+72
| | | | Jeremy.
* Add -D option to sharesec util to delete the entire security descriptor.Steven Danneman2008-12-281-8/+23
| | | | * also modified --usage descriptions to be more accurate
* Change error messages in sharesec util to go to stderr instead of stdoutSteven Danneman2008-12-281-10/+10
|
* Cleaned up whitespace issues in sharesec.cSteven Danneman2008-12-281-35/+39
|
* Make cli_negprot return NTSTATUS instead of boolVolker Lendecke2008-12-192-3/+6
|
* net luaVolker Lendecke2008-12-173-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.
* s3:net_status: use dbwrap to open sessionid.tdbStefan Metzmacher2008-12-161-24/+20
| | | | metze
* Remove the global "cmdline_auth_info" from source3/lib/util.cVolker Lendecke2008-12-143-35/+53
| | | | This involves changing all our clients, that's why it's so large.
* don't return 0 on error - bad for scriptsHerb Lewis2008-12-131-0/+2
|
* s3: correctly detect if the current dc is the closest oneStefan Metzmacher2008-12-131-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)
* s3-samr: fix SAMR_FIELD_PASSWORD callers.Günther Deschner2008-12-051-1/+1
| | | | Guenther
* s3:net: fix password set of 'net rpc trustdom add'Stefan Metzmacher2008-12-041-1/+2
| | | | metze
* s3: Change sockaddr util function names for consistencyTim Prouty2008-12-034-4/+4
| | | | Also eliminates name conflicts with OneFS system libraries
* Implement type multi_sz for "net registry setvalue"Volker Lendecke2008-12-021-0/+4
|
* remove the explicit mem_ctx from ntlmssp_state, use the state itselfVolker Lendecke2008-11-301-3/+4
|
* s3-samr: fix init_samr_user_info{23,24} callers.Günther Deschner2008-11-282-2/+3
| | | | Guenther
* Fix bug #5914 - Build failure: redefinition of struct name_listJeremy Allison2008-11-251-8/+8
| | | | Jeremy.
* s3-libnet-samsync: use samsync_ops.Günther Deschner2008-11-181-4/+4
| | | | Guenther
* s3-net: add "net rpc vampire passdb" that allows to take arguments.Günther Deschner2008-11-183-0/+22
| | | | Guenther
* s3-net: use net_scan_dc in net rpc vampire keytab.Günther Deschner2008-11-181-8/+27
| | | | Guenther
* s3-net: add net_scan_dc function.Günther Deschner2008-11-182-0/+42
| | | | Guenther
* s3-net: add net_dc_info struct.Günther Deschner2008-11-181-0/+10
| | | | Guenther
* s3-net-vampire: add support for partial replication (individual deltas).Günther Deschner2008-11-181-0/+109
| | | | Guenther
* net: Fix net rap printq info documentation (bug #5892)Kai Blin2008-11-171-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.
* [s3]make keytab filename argument mandatory to "net rpc vampire keytab"Michael Adam2008-11-111-4/+11
| | | | | | This prevents unintended overwriting of the default path /etc/krb5.keytab (e.g.). Michael
* ntlm_auth: Put huge NTLMv2 blobs into extra_data on CRAP auth.Kai Blin2008-11-101-3/+15
| | | | This fixes bug #5865
* Make us clean under valgrind --leak-check=full by using ↵Jeremy Allison2008-11-063-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.
* Fixed typo in source/utils/net_rap.cJoe Smith2008-11-041-1/+1
|
* Rename dos_errstr() to win_errstr() for consistency with Samba 4.Jelmer Vernooij2008-11-016-67/+67
|
* s3-net: fix build warning.Günther Deschner2008-11-011-1/+1
| | | | | | Jeremy, please check. Guenther
* s3-samr: remove duplicate copies of Domain Object specific access rights.Günther Deschner2008-10-311-1/+1
| | | | Guenther
* s3-samr: remove duplicate copies of SAM server specific access rights.Günther Deschner2008-10-311-1/+1
| | | | Guenther
* Unify se_access_check with the S4 code. Will makeJeremy Allison2008-10-311-11/+7
| | | | | | calculation of SEC_FLAG_MAXIMUM_ALLOWED much easier for files. Jeremy.
* [s3]pdbedit: remove unused variable.Michael Adam2008-10-271-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
* Use common net utility code (address and sockaddr manipulation).Jelmer Vernooij2008-10-232-2/+2
|
* Use sockaddr_storage only where we rely on the size, use sockaddrJelmer Vernooij2008-10-231-2/+2
| | | | | otherwise (to clarify we can also pass in structs smaller than sockaddr_storage, such as sockaddr_in).
* Use WERR_FILE_EXISTS which is the equivalent of WERR_ALREADY_EXISTSJelmer Vernooij2008-10-231-1/+1
| | | | previously present in Samba 3.
* Use common error definitions.Jelmer Vernooij2008-10-231-1/+1
|