summaryrefslogtreecommitdiff
path: root/source3/utils
AgeCommit message (Collapse)AuthorFilesLines
2009-04-20Adjust samba 3 to the new gpo API. Still untested code.Wilco Baan Hofman1-2/+4
Signed-off-by: Günther Deschner <gd@samba.org>
2009-04-20Fix to use modified cli_rpc_pipe_open_schannel_with_key APIAndrew Bartlett1-1/+1
2009-04-20Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett7-17/+32
2009-04-20Remove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()Andrew Bartlett1-1/+1
2009-04-17s3:net: add --request-timeout optionStefan Metzmacher3-0/+4
metze
2009-04-17s3:net_rpc: don't shutdown a cli_state passed from the callerStefan Metzmacher1-9/+8
This fixes a crash bug if we timeout in net rpc trustdom list. metze
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-14s3: Fix ntlm_auth and winbindd to use new common libcli/auth APIsAndrew Bartlett1-2/+2
2009-04-14Make Samba3 use the new common libcli/auth codeAndrew Bartlett1-3/+3
This is particuarly in the netlogon client (but not server at this stage)
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