summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-04-14Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett4-10/+16
This commit is mostly to cope with the removal of SamOemHash (replaced by arcfour_crypt()) and other collisions (such as changed function arguments compared to Samba3). We still provide creds_hash3 until Samba3 uses the credentials code in netlogon server Andrew Bartlett
2009-04-14Add some harmless use of talloc_tos() in ntlm_authAndrew Bartlett2-5/+5
2009-04-14Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett3-22/+22
This removes calls to push_*_allocate() and pull_*_allocate(), as well as convert_string_allocate, as they are not in the common API To allow transition to a common charcnv in future, provide Samba4-like strupper functions in source3/lib/charcnv.c (the actual implementation remains distinct, but the API is now shared) Andrew Bartlett
2009-04-08s3-net: Fix Bug #5329: add "net rpc service delete/create".Günther Deschner1-0/+204
Patch from Danny Tylman <danny.tylman@insightix.com>. Guenther
2009-04-08s3-eventlog: split out evlog_convert_tdb_to_evt().Günther Deschner1-52/+2
Guenther
2009-04-07s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett1-4/+2
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-07s3-libads: avoid NULL talloc context with ads_get_dn().Günther Deschner1-4/+4
Guenther
2009-04-06s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett2-12/+10
Also remove ads_memfree(), which was only ever a wrapper around SAFE_FREE, used only to free the DN from ads_get_ds(). This actually makes libgpo more consistant, as it mixed a talloc and a malloc based string on the same element. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-05Remove a silly checkVolker Lendecke1-7/+0
This does not increase security, and if later error messages suck, we have to fix those.
2009-04-02s3:net conf: don't store share names as lower case, but as given.Michael Adam1-11/+11
Michael
2009-03-26s3:rpc_parse: remove unused init_unistr().Günther Deschner1-5/+4
Guenther
2009-03-20s3-net: Fix Coverity #861 (UNINIT).Günther Deschner1-1/+1
Guenther
2009-03-20s3-net: Fix Coverity #898 (UNINIT).Günther Deschner1-1/+1
Guenther
2009-03-20s3-spoolss: pure comsetics.Günther Deschner1-41/+41
sorry, I just need to do that. Guenther
2009-03-20s3-net: Fix Coverity #886 (FORWARD_NULL).Günther Deschner1-1/+1
Guenther
2009-03-18s3: remove POLICY_HND.Günther Deschner11-86/+86
Guenther
2009-03-18s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner1-3/+3
Guenther
2009-03-18spoolss: add my copyright.Günther Deschner1-1/+1
Guenther
2009-03-18s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner3-24/+24
Guenther
2009-03-18s3-net: use rpccli_spoolss_enumprinterdataex.Günther Deschner1-24/+44
Guenther
2009-03-17Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison4-19/+4
callers pass in a struct user_auth_info * instead. This commit causes smbc_set_credentials() to print out a message telling callers to use smbc_set_credentials_with_fallback() instead, as smbc_set_credentials() has a broken API (no SMBCCTX * pointer). No more global variables used in the connection manager API for client dfs calls. Jeremy.
2009-03-17s3-net: use rpccli_spoolss_enumprinterkey wrapper.Günther Deschner1-17/+6
Guenther
2009-03-17s3-net: fix net_spoolss_setprinterdataex.Günther Deschner1-1/+1
Guenther
2009-03-17s3-net: fix net_spoolss_setprinterdata.Günther Deschner1-7/+13
Guenther
2009-03-17s3-net: use rpccli_spoolss_EnumPrinterData.Günther Deschner1-16/+59
Guenther
2009-03-17s3-net: temporary disable net_spoolss_setprinterdata.Günther Deschner1-1/+4
Guenther
2009-03-13s3-net: use rpccli_spoolss_enumprinters wrapper.Günther Deschner1-134/+71
Guenther
2009-03-13s3-spoolss: remove old leftover driver print functions.Günther Deschner1-56/+0
Guenther
2009-03-13s3-net: use rpccli_spoolss_enumprinterdrivers wrapper.Günther Deschner1-11/+12
Guenther
2009-03-07Shape up pdb_search a bit by making it a talloc ctx with a destructorVolker Lendecke3-20/+25
2009-03-06s3-spoolss: use form flags from idl in rpcclient and net.Günther Deschner1-1/+1
Guenther
2009-03-06s3-net: use new rpccli_spoolss_enumforms wrapper.Günther Deschner1-27/+17
Guenther
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.