summaryrefslogtreecommitdiff
path: root/source3
AgeCommit message (Collapse)AuthorFilesLines
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>
2011-07-04s3:registry: remove redundant write of zero-lentgh subkey list recordMichael Adam1-14/+0
In this case, the zero-lenght list has already been written in step #2. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: don't update the sorted subkeys cache any more in ↵Michael Adam1-6/+0
regdb_store_keys_internal2() Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: don't skip base key in existence check in ↵Michael Adam1-1/+1
regdb_store_keys_internal() Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: don't skip base keys from existence check in regdb_create_subkey()Michael Adam1-1/+1
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:registry: don't skip base keys from existence check in regdb_delete_subkey()Michael Adam1-1/+1
Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
2011-07-04s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)Christian Ambach1-3/+3
when smbd tries to clean up locks after a premature end of a smb2 connection, lock_db has already been freed and so it crashes this patch changes the order in which items are freed so that lock_db is still around when it is needed Jeremy, Metze, please check Autobuild-User: Christian Ambach <ambi@samba.org> Autobuild-Date: Mon Jul 4 20:00:26 CEST 2011 on sn-devel-104
2011-07-04s3: Fix an enum/int mixupVolker Lendecke1-9/+10
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jul 4 18:47:59 CEST 2011 on sn-devel-104
2011-07-04s3:smb2_server: there's no reason to check the session id twice on a ↵Stefan Metzmacher1-5/+0
smb2_tcon request metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Mon Jul 4 17:34:13 CEST 2011 on sn-devel-104
2011-07-04s3:smb2_create: call 'return' after smbd_server_connection_terminate()Stefan Metzmacher1-0/+1
This is not strictly needed in the fork process model, but we hopefully support other models in future. metze
2011-07-04s3-build add tevent depencency on libsmbAndrew Bartlett1-1/+1
This may assist the build on FreeBSD 8.2 Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jul 4 16:19:10 CEST 2011 on sn-devel-104