summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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-05ldb: set -Wl,-no-undefined only on standalone buildAndrew Bartlett1-5/+5
This ensures that the flag is not propogated to other projects, such as Samba's source3 waf build. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jul 5 10:37:30 CEST 2011 on sn-devel-104
2011-07-05ldb: make ldb a top level library for Samba 4.0Andrew Bartlett156-16/+16
Signed-off-by: Andrew Tridgell <tridge@samba.org>
2011-07-05s4-dbcheck: support the 'none' option for promptsAndrew Tridgell1-2/+10
Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com> Autobuild-User: Andrew Tridgell <tridge@samba.org> Autobuild-Date: Tue Jul 5 08:22:40 CEST 2011 on sn-devel-104
2011-07-05s4-pycommon: support 'none' as an option in confirmAndrew Tridgell1-7/+20
this allows the user to ask for none of the changes of this type Pair-Programmed-With: Amitay Isaacs <amitay@gmail.com>
2011-07-05dbcheck: only use a paged search when checking a ldap databaseAndrew Tridgell1-1/+1
paged searches don't work against a local database (they return only the first N objects)
2011-07-05dbcheck: check for unknown attributes and offer to remove themAndrew Tridgell1-3/+46
this asks the user if they want to remove an unknown attribute. You can also choose 'all' which will auto-confirm all questions about removing unknown attributes.
2011-07-05s4-pycommon: allow an optional 'all' choice for confirm dialogsAndrew Tridgell1-3/+9
when asking the user to confirm an action, allow for an 'all' choice, which will be used to allow the user to confirm all future requests of the same type
2011-07-05s4-dsdb: allow removal of unknown attributes if RELAX setAndrew Tridgell2-2/+21
this allows attributes not known in the schema to be removed if the caller has set the RELAX control. This will be used by dbcheck to allow cleaning of bad attributes from the database
2011-07-05ccan: fix configure tests for __builtin_clz etc.Rusty Russell1-8/+8
It's not enough to compile-test them: Michael Adam points out that nonexistant functions merely cause a warning. We have to try to link them. Signed-off-by: Rusty Russell <rusty@rustcorp.com.au> Autobuild-User: Rusty Russell <rusty@rustcorp.com.au> Autobuild-Date: Tue Jul 5 07:08:55 CEST 2011 on sn-devel-104
2011-07-05build: remove mktowscriptAndrew Bartlett3-574/+0
We finished the conversion a long time ago Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Tue Jul 5 05:56:06 CEST 2011 on sn-devel-104
2011-07-05build: Add missing depencency on NDR_NBTAndrew Bartlett1-1/+1
2011-07-05build: Add missing dep on UTIL_TEVENTAndrew Bartlett1-1/+1
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-04selftest: remove invalid use of the globbing operator <>Michael Adam1-2/+2
2011-07-04selftest: eliminate perl warnings (my $cmd masks earlier definition...)Michael Adam1-2/+2
2011-07-04selftest: eliminate a perl warningMichael Adam1-1/+1
In perl, %binary_mapping should be initialized as a hash, not a hash reference.
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
2011-07-04s3-printing: open up a winreg pipe handle for the migration code.Günther Deschner4-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