summaryrefslogtreecommitdiffstats
path: root/source3/utils
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix a bunch of type-punned warnings -- gd, please fix properly :-)Volker Lendecke2009-05-031-15/+30
|
* Cause cli_close to return an NTSTATUS.Jeremy Allison2009-04-301-4/+4
| | | | Jeremy.
* Get medieval on our ass about SMB1 file descriptors being 16 bits, not an int.Jeremy Allison2009-04-304-41/+34
| | | | | | | Convert all uses of cli_open(), cli_nt_createXXX to NTSTATUS versions. This is smaller than it looks, it just fixes a lot of old code. Next up, ensure all cli_XX functions return NTSTATUS. Jeremy.
* s3-netapi: Fix Bug #6309: support remote unjoining of Windows 2003 or greater.Günther Deschner2009-04-301-1/+2
| | | | | | Found by David Markey <admin@dmarkey.com>. Thanks! Guenther
* s3-net: make "net eventlog" help output a little more appropriate.Günther Deschner2009-04-291-1/+1
| | | | Guenther
* s3-net: make sure to call libnetapi init functions at the top of "net rpc" ↵Günther Deschner2009-04-281-0/+13
| | | | | | | | | | | | | | command. Without the initialization "net rpc password" will prompt twice for passwords and will not allow to define the name of the connection admin user. In the long run we should probably only have one place where to initialize libnetapi. Kai, please check. Guenther
* s3:registry: replace typedef REGISTRY_VALUE by struct regval_blobMichael Adam2009-04-271-5/+5
| | | | Michael
* s3:registry: replace typedef REGVAL_CTR by struct regval_ctr.Michael Adam2009-04-272-6/+6
| | | | | | | This paves the way for hiding the typedef and the implementation from the surface. Michael
* s3:net conf: support dangling parameters by specifying "" as the section name.Michael Adam2009-04-271-12/+30
| | | | | | for {get,set,del}parm Michael
* Make cli_chkpath async.Jeremy Allison2009-04-221-3/+3
| | | | Jeremy
* Make cli_mkdir async. Change it to return NTSTATUS.Jeremy Allison2009-04-211-2/+2
| | | | Jeremy.
* s3-secdesc: move all winreg access bits to IDL.Günther Deschner2009-04-211-3/+3
| | | | Guenther
* s3-secdesc: use SEC_FLAG_SYSTEM_SECURITY instead of SEC_RIGHT_SYSTEM_SECURITY.Günther Deschner2009-04-212-3/+3
| | | | Guenther
* s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHT_MAXIMUM_ALLOWED.Günther Deschner2009-04-212-2/+2
| | | | Guenther
* s3-secdesc: use SEC_FLAG_MAXIMUM_ALLOWED instead of SEC_RIGHTS_MAXIMUM_ALLOWED.Günther Deschner2009-04-218-23/+23
| | | | Guenther
* Remove smb_mkstemp() - libreplace will now provide a secure mkstemp() ifJelmer Vernooij2009-04-201-1/+1
| | | | the system one is broken.
* libgpo: fix the build of gpext plugins.Günther Deschner2009-04-201-2/+2
| | | | Guenther
* Adjust samba 3 to the new gpo API. Still untested code.Wilco Baan Hofman2009-04-201-2/+4
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* Fix to use modified cli_rpc_pipe_open_schannel_with_key APIAndrew Bartlett2009-04-201-1/+1
|
* Merge commit 'origin/master' into libcli-auth-merge-without-netlogondAndrew Bartlett2009-04-207-17/+32
|\
| * s3:net: add --request-timeout optionStefan Metzmacher2009-04-173-0/+4
| | | | | | | | metze
| * s3:net_rpc: don't shutdown a cli_state passed from the callerStefan Metzmacher2009-04-171-9/+8
| | | | | | | | | | | | This fixes a crash bug if we timeout in net rpc trustdom list. metze
| * Merge branch 'master' of /home/jmcd/samba/git.samba.org/samba-master into ↵Jim McDonough2009-04-171-0/+8
| |\ | | | | | | | | | mymaster
| | * In net_conf_import, start a transaction when importing a single share.Martin Schwenke2009-04-161-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>
| * | Don't look up local user for remote changes, even when root.Jim McDonough2009-04-161-6/+10
| |/
| * Fix bug #6089 - Winbind samr_OpenDomain not possible with Samba 3.2.6+Jeremy Allison2009-04-152-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.
* | Remove use of talloc_reference in cli_rpc_pipe_open_schannel_with_key()Andrew Bartlett2009-04-201-1/+1
| |
* | s3: Fix ntlm_auth and winbindd to use new common libcli/auth APIsAndrew Bartlett2009-04-141-2/+2
| |
* | Make Samba3 use the new common libcli/auth codeAndrew Bartlett2009-04-141-3/+3
| | | | | | | | | | This is particuarly in the netlogon client (but not server at this stage)
* | Rework Samba3 to use new libcli/auth code (partial)Andrew Bartlett2009-04-144-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
* Add some harmless use of talloc_tos() in ntlm_authAndrew Bartlett2009-04-142-5/+5
|
* Convert Samba3 to use the common lib/util/charset APIAndrew Bartlett2009-04-143-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
* s3-net: Fix Bug #5329: add "net rpc service delete/create".Günther Deschner2009-04-081-0/+204
| | | | | | Patch from Danny Tylman <danny.tylman@insightix.com>. Guenther
* s3-eventlog: split out evlog_convert_tdb_to_evt().Günther Deschner2009-04-081-52/+2
| | | | Guenther
* s3:kerberos Rework smb_krb5_unparse_name() to take a talloc contextAndrew Bartlett2009-04-071-4/+2
| | | | Signed-off-by: Günther Deschner <gd@samba.org>
* s3-libads: avoid NULL talloc context with ads_get_dn().Günther Deschner2009-04-071-4/+4
| | | | Guenther
* s3:libads Make ads_get_dn() take a talloc contextAndrew Bartlett2009-04-062-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>
* Remove a silly checkVolker Lendecke2009-04-051-7/+0
| | | | | This does not increase security, and if later error messages suck, we have to fix those.
* s3:net conf: don't store share names as lower case, but as given.Michael Adam2009-04-021-11/+11
| | | | Michael
* s3:rpc_parse: remove unused init_unistr().Günther Deschner2009-03-261-5/+4
| | | | Guenther
* s3-net: Fix Coverity #861 (UNINIT).Günther Deschner2009-03-201-1/+1
| | | | Guenther
* s3-net: Fix Coverity #898 (UNINIT).Günther Deschner2009-03-201-1/+1
| | | | Guenther
* s3-spoolss: pure comsetics.Günther Deschner2009-03-201-41/+41
| | | | | | sorry, I just need to do that. Guenther
* s3-net: Fix Coverity #886 (FORWARD_NULL).Günther Deschner2009-03-201-1/+1
| | | | Guenther
* s3: remove POLICY_HND.Günther Deschner2009-03-1811-86/+86
| | | | Guenther
* s3-smbcontrol: use correct PRINTER_NOTIFY flags.Günther Deschner2009-03-181-3/+3
| | | | Guenther
* spoolss: add my copyright.Günther Deschner2009-03-181-1/+1
| | | | Guenther
* s3-spoolss: remove custom syntax_spoolss and use the syntax defined in IDL.Günther Deschner2009-03-183-24/+24
| | | | Guenther
* s3-net: use rpccli_spoolss_enumprinterdataex.Günther Deschner2009-03-181-24/+44
| | | | Guenther
* Remove the global "struct cm_cred_struct" and associated calls, makeJeremy Allison2009-03-174-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.