summaryrefslogtreecommitdiffstats
path: root/source3
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:sharesec: also initialize pgranted if get_share_security() returns NULLStefan Metzmacher2011-07-061-0/+3
| | | | | | | metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Wed Jul 6 12:54:30 CEST 2011 on sn-devel-104
* s3: Follow the TALLOC_FREE convention in source3Volker Lendecke2011-07-061-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 11:01:05 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2586 -- NO_EFFECTVolker Lendecke2011-07-061-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
* s3: Remove cli_errstr from cmd_posix_openVolker Lendecke2011-07-061-5/+12
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Jul 6 09:45:11 CEST 2011 on sn-devel-104
* s3: Fix error logic in posix_openVolker Lendecke2011-07-061-2/+2
|
* s3: Remove a few uses of cli_errstrVolker Lendecke2011-07-061-26/+27
|
* s3: make cli_resolve_path return NTSTATUSVolker Lendecke2011-07-068-136/+230
| | | | This looks larger than it is. No parameters needed changing.
* s3-build We no longer require to redefine _SAMBA_BUILD_Andrew Bartlett2011-07-061-5/+0
|
* libcli/smb move FILE_TYPE constants in commonAndrew Bartlett2011-07-061-8/+0
| | | | | | This allows us to remove another _SAMBA_BUILD_ conditional Andrew Bartlett
* libcli/smb move enum protocol_types to a common headerAndrew Bartlett2011-07-061-12/+0
|
* s3:smbd fix a compile warning on AIX 5.3Christian Ambach2011-07-051-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
* s3:build fix autoconf build on AIX 5.3Christian Ambach2011-07-051-3/+3
| | | | | using ZLIB_LIBS as dependency made AIX make fail trying to find -lz as build target
* s3:lib fix non-empty blank linesChristian Ambach2011-07-051-3/+3
|
* s3:modules fix non-empty blank linesChristian Ambach2011-07-051-3/+3
|
* s3: Remove some unused variablesVolker Lendecke2011-07-051-4/+0
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Jul 5 18:40:11 CEST 2011 on sn-devel-104
* s3: Fix bug 8102Volker Lendecke2011-07-051-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
* s3: Calculate&store the maximum share access maskVolker Lendecke2011-07-052-22/+16
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3: Return "granted" from share_access_checkVolker Lendecke2011-07-055-16/+28
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s3:registry: remove unused function regdb_key_is_base_key()Michael Adam2011-07-041-32/+0
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Jul 4 21:11:32 CEST 2011 on sn-devel-104
* s3:registry: replace use of deprecated talloc_destroy by talloc_free.Michael Adam2011-07-041-1/+1
|
* s3:registry: remove superfluous check for success of talloc_stackframe()Michael Adam2011-07-041-3/+0
|
* s3:registry: add debug-level-10 verbosity to regdb_upgrade_v2_v3_fn()Michael Adam2011-07-041-0/+11
|
* s3:registry: adapt a debug message to be more systematicMichael Adam2011-07-041-2/+2
|
* s3:registry: set registry version to 3 and add upgrade codeMichael Adam2011-07-042-1/+103
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: add db_context argument to regdb_upgrade_v1_to_v2()Michael Adam2011-07-041-4/+4
|
* s3:registry: wrap the whole db upgrade in one transactionMichael Adam2011-07-041-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>
* s3:registry: change regdb_store_regdb_version() to take db_context argument.Michael Adam2011-07-041-5/+5
|
* s3:registry: fix a comment typoMichael Adam2011-07-041-1/+1
|
* s3:registry: remove unused regdb_delete_sorted_subkeys()Michael Adam2011-07-041-6/+0
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: don't delete the unused subkeys cache record any moreMichael Adam2011-07-041-8/+0
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: remove the code to create and search the sorted subkeys cache ↵Michael Adam2011-07-041-276/+0
| | | | | | | | records This is not needed any more. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: adapt the comment explaining the definition of the existence of ↵Michael Adam2011-07-041-4/+3
| | | | | | a key. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: regdb_key_exists now checks only for the list-of-subkeys-recordMichael Adam2011-07-041-10/+3
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: rewrite init_registry_key_internalMichael Adam2011-07-041-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>
* s3:registry: add regdb_create_basekey()Michael Adam2011-07-041-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>
* s3:registry: add regdb_create_subkey_internal() taking additional db context ↵Michael Adam2011-07-041-4/+11
| | | | | | argument Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: add new mode to regdb_store_subkey_list() for handing in NULL ↵Michael Adam2011-07-041-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>
* s3:registry: create the empty list of subkeys of the new key in ↵Michael Adam2011-07-041-0/+2
| | | | | | regdb_create_subkey Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: refactor creation of subkey list out into regdb_store_subkey_list()Michael Adam2011-07-041-22/+52
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: remove redundant write of zero-lentgh subkey list recordMichael Adam2011-07-041-14/+0
| | | | | | In this case, the zero-lenght list has already been written in step #2. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: don't update the sorted subkeys cache any more in ↵Michael Adam2011-07-041-6/+0
| | | | | | regdb_store_keys_internal2() Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: don't skip base key in existence check in ↵Michael Adam2011-07-041-1/+1
| | | | | | regdb_store_keys_internal() Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: don't skip base keys from existence check in regdb_create_subkey()Michael Adam2011-07-041-1/+1
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:registry: don't skip base keys from existence check in regdb_delete_subkey()Michael Adam2011-07-041-1/+1
| | | | Pair-Programmed-With: Gregor Beck <gbeck@sernet.de>
* s3:smb2 fix smbd crash on premature end of smb2 conn (Bug 8286)Christian Ambach2011-07-041-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
* s3: Fix an enum/int mixupVolker Lendecke2011-07-041-9/+10
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Mon Jul 4 18:47:59 CEST 2011 on sn-devel-104
* s3:smb2_server: there's no reason to check the session id twice on a ↵Stefan Metzmacher2011-07-041-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
* s3:smb2_create: call 'return' after smbd_server_connection_terminate()Stefan Metzmacher2011-07-041-0/+1
| | | | | | | This is not strictly needed in the fork process model, but we hopefully support other models in future. metze
* s3-build add tevent depencency on libsmbAndrew Bartlett2011-07-041-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
* s3-printing: open up a winreg pipe handle for the migration code.Günther Deschner2011-07-044-4/+48
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Mon Jul 4 15:06:41 CEST 2011 on sn-devel-104