summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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
2011-07-04s3-build link passdb modules against libpassdbAndrew Bartlett2-13/+8
This ensures that they don't include a duplicate copy of pdb_interface.c functions, because they will instead link the library. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Jul 4 12:24:50 CEST 2011 on sn-devel-104
2011-07-04s3-build allow_undefined_symbols=False is the default nowAndrew Bartlett3-3/+0
2011-07-04s3-auth libauth no longer requires undefined symbolsAndrew Bartlett1-3/+1
2011-07-04s3-lib Move event_add_idle() to source3/lib/events.cAndrew Bartlett4-89/+90
This allows libauth not to depend on smbd_base. Andrew Bartlett
2011-07-04s3-samr Send IP address only to PAM remote hostname hook on password setAndrew Bartlett1-44/+12
The previous behaviour was to attempt to do a reverse hostname lookup, where enabled. This new behaviour matches the new behaviour in the modules called by auth stack. Andrew Bartlett
2011-07-04s3: RIP 'struct client_address'.Andreas Schneider1-5/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-rpc_server: Remove client_id and server_id from pipes struct.Andreas Schneider3-62/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Remove client_address from smbd_server_connection struct.Andreas Schneider1-1/+0
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Remove obsolete smbd_set_server_fd().Andreas Schneider3-37/+6
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-vfs: Replace client_id in exand msdfs.Andreas Schneider1-1/+9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-vfs: Replace client_id in smbta.Andreas Schneider1-3/+11
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd session setup.Andreas Schneider2-2/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd session.Andreas Schneider1-7/+9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd service.Andreas Schneider1-6/+21
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd reply.Andreas Schneider1-1/+10
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Exit cleanly if we can't create an address string.Andreas Schneider1-1/+3
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd connection.Andreas Schneider1-1/+9
Signed-off-by: Andrew Bartlett <abartlet@samba.org>
2011-07-04s3-smbd: Replace client_id in smbd process.Andreas Schneider2-6/+33
Signed-off-by: Andrew Bartlett <abartlet@samba.org>