summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
* s3:net: wrap net conf import into one big transactionMichael Adam2009-02-261-6/+27
| | | | | | | This speeds up "net conf import" of a file with 2000 shares from 11 minutest to 1m50s on my box. Michael
* s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.Günther Deschner2009-02-251-75/+23
| | | | Guenther
* s3-spoolss: use rpccli_spoolss_addprinterex wrapper.Günther Deschner2009-02-251-1/+8
| | | | Guenther
* s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.Günther Deschner2009-02-251-46/+123
| | | | Guenther
* s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2Günther Deschner2009-02-241-56/+89
| | | | | | wrapper. Guenther
* Convert name_mangle() to use tallocVolker Lendecke2009-02-241-2/+9
|
* More warning fixes for Solaris.Jeremy Allison2009-02-231-2/+4
| | | | Jeremy.
* More warning fixes for Solaris.Jeremy Allison2009-02-232-18/+18
| | | | Jeremy.
* Fix printf warnings found on systems where time_t <> long int.Jeremy Allison2009-02-191-1/+2
| | | | Jeremy.
* S3: Log warning in smbstatus about lack of pid in anonymous mode.todd stecher2009-02-181-0/+4
|
* Fix an uninitialized variable, introdued with 4d100f2fVolker Lendecke2009-02-131-1/+1
|
* Fix Coverity ID 742 (RESOURCE_LEAK)Volker Lendecke2009-02-131-6/+3
|
* Fix Coverity ID 744Volker Lendecke2009-02-131-1/+1
| | | | | This was marked as a resource leak. This change makes the code a bit clearer that we always free error_string.
* Fix Coverity ID 745 (RESOURCE_LEAK)Volker Lendecke2009-02-131-0/+1
|
* s3-net: use rpccli_spoolss_SetPrinterDataEx.Günther Deschner2009-02-121-2/+9
| | | | Guenther
* S3: Fixes for coverity issues.todd stecher2009-02-103-4/+14
|
* s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.Günther Deschner2009-02-101-3/+4
| | | | Guenther
* S3: Various fixes for log2pcaphex utilitytodd stecher2009-02-091-49/+113
|
* Attempt to fix the buildVolker Lendecke2009-02-091-4/+4
|
* s3-rpcclient: use srv_name_slash instead of formating servername again and ↵Günther Deschner2009-02-091-10/+7
| | | | | | again. Guenther
* s3-spoolss: use rpccli_spoolss_AddForm in net and rpcclient.Günther Deschner2009-02-091-11/+17
| | | | Guenther
* s3-spoolss: use rpccli_spoolss_ClosePrinter.Günther Deschner2009-02-061-25/+25
| | | | Guenther
* s3:net conf: remove check for sharename being a usernam in "net conf addshare"Michael Adam2009-02-061-6/+0
| | | | | | This is useless and can be overriden by "net conf setparm" anyways. Michael
* s3: use samr_RidWithAttribute instead of DOM_GID.Günther Deschner2009-02-051-1/+1
| | | | Guenther
* s3-net: remove unused ENUM_HND.Günther Deschner2009-02-051-3/+0
| | | | Guenther
* s3-net: add "net eventlog export".Günther Deschner2009-02-041-0/+109
| | | | | | | This allows to export our tdb eventlog representation into a native win32 *.evt eventlog file. Guenther
* s3-net: add "net eventlog import".Günther Deschner2009-02-041-0/+104
| | | | | | | This allows to import a native (non-wrapped) win32 *.evt eventlog file into our tdb eventlog representation. Guenther
* s3-net: add "net eventlog dump".Günther Deschner2009-02-043-0/+111
| | | | | | This allows to dump a native (non-wrapped) win32 *.evt eventlog file. Guenther
* s3-eventlogadm: use struct eventlog_Record_tdb for storing entries in tdbs.Günther Deschner2009-02-041-9/+14
| | | | Guenther
* s3-eventlogadm: add command to dump stored tdb entries.Günther Deschner2009-02-031-0/+53
| | | | Guenther
* s3-eventlog: pass down talloc context to parse_logentry().Günther Deschner2009-02-031-1/+2
| | | | Guenther
* s3-eventlog: allow to open eventlog tdbs readonly.Günther Deschner2009-02-031-1/+1
| | | | Guenther
* s3-net: fix warning message for keytab usage.Günther Deschner2009-02-031-2/+2
| | | | Guenther
* s3: Fix 'net rpc join' for users with the SeMachineAccountPrivilege.Volker Lendecke2009-02-031-2/+5
|
* Add two new parameters to control how we verify kerberos tickets. Removes ↵Dan Sledz2009-02-011-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.
* Fix some type-punned warningsVolker Lendecke2009-02-011-3/+3
|
* cli_get_pipe_name_from_interface does not really need a talloc_ctxVolker Lendecke2009-02-011-2/+1
|
* Make cli_tcon_andx asyncVolker Lendecke2009-01-302-6/+8
|
* s3:smbcontrol: don't call message_dispatch() anymore, it's triggered by ↵Stefan Metzmacher2009-01-221-13/+16
| | | | | | tevent_loop_once() metze
* Actually complete 3662c2b...Volker Lendecke2009-01-221-1/+1
|
* Memory leaks and other fixes found by Coveritytodd stecher2009-01-211-2/+10
|
* s3:winbindd: put winbindd_cache.tdb into cache_dir, not lock_dir.Michael Adam2009-01-161-4/+4
| | | | Michael
* winreg: fix winreg_EnumValue callers.Günther Deschner2009-01-161-1/+1
| | | | Guenther
* s3: make better use of ccache by not including version.h in every C-file.Michael Adam2009-01-151-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
* 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