summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-04-17Merge branch 'master' of /home/jmcd/samba/git.samba.org/samba-master into ↵Jim McDonough1-0/+8
mymaster
2009-04-16Don't look up local user for remote changes, even when root.Jim McDonough1-6/+10
2009-04-16In net_conf_import, start a transaction when importing a single share.Martin Schwenke1-0/+8
Commit d69c3db9d44ad5d9fd1f5d7a9499f3bd79ecfb47 caused the transaction start to be conditional but the commit is still unconditional, so an error occurs when importing a single share. An alternate fix would be to return the transaction start to be unconditional but then it would occur before other error checking. Signed-off-by: Martin Schwenke <martin@meltin.net> Signed-off-by: Michael Adam <obnox@samba.org>
2009-04-15Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2-2/+2
What a difference a name makes... :-). Just because something is missnamed SAMR_ACCESS_OPEN_DOMAIN, when it should actually be SAMR_ACCESS_LOOKUP_DOMAIN, don't automatically use it for a security check in _samr_OpenDomain(). Jeremy.
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