summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
2011-07-07s3-waf: Fix linking bugs causing segfaults.Andreas Schneider2-2/+2
As auth_util.c is linked several times the static variables have different address on different calls. This leads to segfaults. Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Jul 7 16:50:05 CEST 2011 on sn-devel-104
2011-07-07s3:testparm: avoid spurious warnings about dos mode mapping and create mask ↵Gregor Beck1-19/+27
if store dos attributes is set Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Thu Jul 7 12:49:01 CEST 2011 on sn-devel-104
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_qfilename()Stefan Metzmacher3-9/+30
metze
2011-07-06s3:libsmb: let cli_qfileinfo[_recv]() return recv_flags2Stefan Metzmacher4-6/+16
metze
2011-07-06s3:libsmb: use clistr_pull_talloc() in cli_get_fs_volume_info()Stefan Metzmacher3-10/+32
metze
2011-07-06s3:libsmb: the SMB_QUERY_FS_VOLUME_INFO response needs at least 18 data bytesStefan Metzmacher1-1/+1
metze
2011-07-06s3:libsmb: don't use cli->inbuf in cli_dfs_get_referral()Stefan Metzmacher1-5/+7
The rdata buffer returned by cli_trans() doesn't belong to cli->inbuf, so don't use it. metze
2011-07-06s3:libsmb: fix error handling in cli_dfs_get_referral()Stefan Metzmacher1-3/+11
We should not return NT_STATUS_OK on error. metze
2011-07-06s3:sharesec: return an error if get_share_security() returns NULLStefan Metzmacher1-1/+1
This indicates an error, as it uses get_share_security_default() if no security descriptor is configured. Jeremy, please check. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 15:40:23 CEST 2011 on sn-devel-104
2011-07-06s3:test: catch more errors in test_access_check() in the smbclient_s3 testMichael Adam1-0/+16
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Wed Jul 6 14:07:13 CEST 2011 on sn-devel-104
2011-07-06s3:registry: update copyright for the registry db implementationMichael Adam1-1/+2
2011-07-06s3:sharesec: also initialize pgranted if get_share_security() returns NULLStefan Metzmacher1-0/+3
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
2011-07-06s3: Follow the TALLOC_FREE convention in source3Volker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
2011-07-06s3: Fix Coverity ID 2586 -- NO_EFFECTVolker Lendecke1-1/+1
tsocket_address_bsd_sockaddr returns ssize_t, and on some systems socklen_t is unsigned. So (len < 0) could never have turned true. Volker
2011-07-06s3: Remove cli_errstr from cmd_posix_openVolker Lendecke1-5/+12
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
2011-07-06s3: Fix error logic in posix_openVolker Lendecke1-2/+2
2011-07-06s3: Remove a few uses of cli_errstrVolker Lendecke1-26/+27
2011-07-06s3: make cli_resolve_path return NTSTATUSVolker Lendecke8-136/+230
This looks larger than it is. No parameters needed changing.
2011-07-06s3-build We no longer require to redefine _SAMBA_BUILD_Andrew Bartlett1-5/+0
2011-07-06libcli/smb move FILE_TYPE constants in commonAndrew Bartlett1-8/+0
This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
2011-07-06libcli/smb move enum protocol_types to a common headerAndrew Bartlett1-12/+0
2011-07-05s3:smbd fix a compile warning on AIX 5.3Christian Ambach1-1/+1
use the correct alias instead of FD directly Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Tue Jul 5 19:51:42 CEST 2011 on sn-devel-104
2011-07-05s3:build fix autoconf build on AIX 5.3Christian Ambach1-3/+3
using ZLIB_LIBS as dependency made AIX make fail trying to find -lz as build target
2011-07-05s3:lib fix non-empty blank linesChristian Ambach1-3/+3
2011-07-05s3:modules fix non-empty blank linesChristian Ambach1-3/+3
2011-07-05s3: Remove some unused variablesVolker Lendecke1-4/+0
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jul 5 18:40:11 CEST 2011 on sn-devel-104
2011-07-05s3: Fix bug 8102Volker Lendecke1-0/+8
We can't allow open with access that has been denied via the share security descriptor Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Tue Jul 5 16:21:54 CEST 2011 on sn-devel-104
2011-07-05s3: Calculate&store the maximum share access maskVolker Lendecke2-22/+16
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-05s3: Return "granted" from share_access_checkVolker Lendecke5-16/+28
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2011-07-04s3:registry: remove unused function regdb_key_is_base_key()Michael Adam1-32/+0
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Jul 4 21:11:32 CEST 2011 on sn-devel-104
2011-07-04s3:registry: replace use of deprecated talloc_destroy by talloc_free.Michael Adam1-1/+1
2011-07-04s3:registry: remove superfluous check for success of talloc_stackframe()Michael Adam1-3/+0
2011-07-04s3:registry: add debug-level-10 verbosity to regdb_upgrade_v2_v3_fn()Michael Adam1-0/+11
2011-07-04s3:registry: adapt a debug message to be more systematicMichael Adam1-2/+2
2011-07-04s3:registry: set registry version to 3 and add upgrade codeMichael Adam2-1/+103
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: add db_context argument to regdb_upgrade_v1_to_v2()Michael Adam1-4/+4
2011-07-04s3:registry: wrap the whole db upgrade in one transactionMichael Adam1-8/+8
The purpose of this is to prepare for multiple upgrade steps to be performed in a single transaction, so that no change at all is made to that database if one step fails. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: change regdb_store_regdb_version() to take db_context argument.Michael Adam1-5/+5
2011-07-04s3:registry: fix a comment typoMichael Adam1-1/+1
2011-07-04s3:registry: remove unused regdb_delete_sorted_subkeys()Michael Adam1-6/+0
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: don't delete the unused subkeys cache record any moreMichael Adam1-8/+0
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: remove the code to create and search the sorted subkeys cache ↵Michael Adam1-276/+0
records This is not needed any more. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: adapt the comment explaining the definition of the existence of ↵Michael Adam1-4/+3
a key. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: regdb_key_exists now checks only for the list-of-subkeys-recordMichael Adam1-10/+3
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: rewrite init_registry_key_internalMichael Adam1-90/+52
This rewrites init_registry_key_internal() to correctly also create base keys. It makes use of the existing create functions instead of duplicating the code. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: add regdb_create_basekey()Michael Adam1-0/+36
Function to create a base key in the registry db, i.e. one that has no parent key. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: add regdb_create_subkey_internal() taking additional db context ↵Michael Adam1-4/+11
argument Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: add new mode to regdb_store_subkey_list() for handing in NULL ↵Michael Adam1-1/+7
parent key Standard behaviour is to concatenate parent and key path (parent\key). This new mode allows for storing subkey lists for base keys using a NULL parent argument. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: create the empty list of subkeys of the new key in ↵Michael Adam1-0/+2
regdb_create_subkey Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: refactor creation of subkey list out into regdb_store_subkey_list()Michael Adam1-22/+52
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>