summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-03-04s3:net conf: reduce memory usage of "net conf import".Michael Adam1-6/+33
"net conf import" was wrapped in one big transaction. This lead to MAX_TALLOC_SIZE being exceeded at roughly 1500 shares. This patch resolves that problem by limiting the top level transactions in "net conf import" to 100 shares. Michael
2009-02-27s3-spoolss: use DSPRINT flags instead of SPOOLS_DS flags.Günther Deschner1-10/+10
Guenther
2009-02-26s3:net rpc registry: use regsubkey_ctr_init() instead of using talloc directly.Michael Adam1-2/+5
Michael
2009-02-26s3:profiles: use regsubkey_ctr_init() instead of using talloc directly.Michael Adam1-1/+3
Michael
2009-02-26s3:registry: replace typedef "REGSUBKEY_CTR" by "struct regsubkey_ctr"Michael Adam2-6/+6
This paves the way for hiding the typedef and the implementation from the surface. Michael
2009-02-26s3:net: wrap net conf import into one big transactionMichael Adam1-6/+27
This speeds up "net conf import" of a file with 2000 shares from 11 minutest to 1m50s on my box. Michael
2009-02-25s3-spoolss: use is_valid_policy_hnd to check for valid policy handles.Günther Deschner1-75/+23
Guenther
2009-02-25s3-spoolss: use rpccli_spoolss_addprinterex wrapper.Günther Deschner1-1/+8
Guenther
2009-02-25s3-net: use rpccli_spoolss_getprinter and rpccli_spoolss_SetPrinter.Günther Deschner1-46/+123
Guenther
2009-02-24s3-net: use rpccli_spoolss_AddPrinterDriver and rpccli_spoolss_getprinterdriver2Günther Deschner1-56/+89
wrapper. Guenther
2009-02-24Convert name_mangle() to use tallocVolker Lendecke1-2/+9
2009-02-23More warning fixes for Solaris.Jeremy Allison1-2/+4
Jeremy.
2009-02-23More warning fixes for Solaris.Jeremy Allison2-18/+18
Jeremy.
2009-02-19Fix printf warnings found on systems where time_t <> long int.Jeremy Allison1-1/+2
Jeremy.
2009-02-18S3: Log warning in smbstatus about lack of pid in anonymous mode.todd stecher1-0/+4
2009-02-13Fix an uninitialized variable, introdued with 4d100f2fVolker Lendecke1-1/+1
2009-02-13Fix Coverity ID 742 (RESOURCE_LEAK)Volker Lendecke1-6/+3
2009-02-13Fix Coverity ID 744Volker Lendecke1-1/+1
This was marked as a resource leak. This change makes the code a bit clearer that we always free error_string.
2009-02-13Fix Coverity ID 745 (RESOURCE_LEAK)Volker Lendecke1-0/+1
2009-02-12s3-net: use rpccli_spoolss_SetPrinterDataEx.Günther Deschner1-2/+9
Guenther
2009-02-10S3: Fixes for coverity issues.todd stecher3-4/+14
2009-02-10s3-rpcclient: use rpccli_spoolss_openprinter_ex helper.Günther Deschner1-3/+4
Guenther
2009-02-09S3: Various fixes for log2pcaphex utilitytodd stecher1-49/+113
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>