Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2011-08-16 | s3-messaging: IDMAP_ messages belongs to the Winbind range | Simo Sorce | 1 | -4/+4 | |
Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Tue Aug 16 22:27:05 CEST 2011 on sn-devel-104 | |||||
2011-08-16 | s3: Use ZERO_STRUCT where appropriate | Volker Lendecke | 1 | -1/+1 | |
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Aug 16 13:59:55 CEST 2011 on sn-devel-104 | |||||
2011-08-15 | s3:registry: enhance debugging of deletekey_recursive | Michael Adam | 1 | -0/+14 | |
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Mon Aug 15 19:34:44 CEST 2011 on sn-devel-104 | |||||
2011-08-15 | s3:dbwrap_ctdb: improve transaction start/commit/cancel debugging | Michael Adam | 1 | -2/+8 | |
* also log nesting transaction start/commit/cancel * unify transaction log messages slightly | |||||
2011-08-15 | s3:lib: fix a comment in tdb_unpack() | Michael Adam | 1 | -1/+1 | |
2011-08-15 | s3:registry: fix regdb_key_exists: the record has to contain at least the ↵ | Michael Adam | 1 | -1/+72 | |
4-byte subkey counter More precisley, we return false if the record does not match the required structure of a leading 4-byte subkey counter followed by the corresponding number zero-terminated strings. | |||||
2011-08-15 | s3: avoid reading past the end of buffer in tdb_unpack 'f' if zero ↵ | Gregor Beck | 1 | -1/+1 | |
termination is missing Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-08-15 | s3: avoid reading past the end of buffer in tdb_unpack 'P' if zero ↵ | Gregor Beck | 1 | -1/+3 | |
termination is missing Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2011-08-15 | build: link pys3param against pytalloc-util not pytalloc | Andrew Bartlett | 1 | -1/+1 | |
pytalloc is the python module, pytalloc-util is the library that we can depend on Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Mon Aug 15 09:54:02 CEST 2011 on sn-devel-104 | |||||
2011-08-15 | s3-passdb Use supplied pdb_methods in default passdb search handlers | Andrew Bartlett | 1 | -5/+7 | |
2011-08-15 | s3-prefork: Do not use mmap/mremap/munmap directly | Simo Sorce | 1 | -9/+11 | |
Use the wrappers in util.h as they deal with trying to do the best they can on platfroms that do not support mmap extensions. Autobuild-User: Simo Sorce <idra@samba.org> Autobuild-Date: Mon Aug 15 04:13:51 CEST 2011 on sn-devel-104 | |||||
2011-08-14 | s3: Fix bug 8360 | Volker Lendecke | 1 | -7/+16 | |
OS/2 sends an unexpected write&x/read&x chain Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Sun Aug 14 08:48:58 CEST 2011 on sn-devel-104 | |||||
2011-08-14 | s3-passdb: Fix python < 2.6 build errors in passdb python wrapper | Andrew Bartlett | 1 | -0/+4 | |
Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Sun Aug 14 03:59:48 CEST 2011 on sn-devel-104 | |||||
2011-08-13 | torture: use tevent_ functions names instead of the legacy event_ ones | Simo Sorce | 1 | -3/+3 | |
2011-08-13 | s3-smbd Avoid races creating 'ncaclrpc dir' with epmd in a child process | Andrew Bartlett | 1 | -0/+9 | |
2011-08-13 | s3-passdb: Added python method to get_global_sam_sid | Amitay Isaacs | 1 | -0/+31 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | s3-passdb: Return dom_sid and guid with correct python types. | Amitay Isaacs | 1 | -7/+31 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | passdb: Move python wrapper for passdb in samba3 python package | Amitay Isaacs | 1 | -1/+1 | |
2011-08-13 | s3-param: Add python wrapper for s3 parameters | Amitay Isaacs | 2 | -0/+94 | |
This provids a get_context() method to return s3 context as s4 context type. Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | s3-passdb: Connect to specified samdb if location is provided, otherwise use ↵ | Amitay Isaacs | 1 | -1/+9 | |
default Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | s3-passdb: Fix the error messages and return correct NTSTATUS | Amitay Isaacs | 1 | -6/+8 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | s3-param: Make sure we have talloc stack frame before calling in s3 code | Amitay Isaacs | 1 | -1/+8 | |
When loading parameters as s4 context in s3 code, ensure we have a talloc stack frame. This is required for python wrapping s3 params. | |||||
2011-08-13 | param: Add smb.conf loading support to s3/s4 loadparm bridge | Andrew Bartlett | 1 | -0/+6 | |
2011-08-13 | s4-scripting Rename passdb upgrade routine to avoid conflict with ↵ | Andrew Bartlett | 1 | -14/+7 | |
upgradeprovision | |||||
2011-08-13 | s3-passdb Add support for pdb_add_sam_account() and password hashes to ↵ | Andrew Bartlett | 1 | -69/+222 | |
pdb_samba4 This will help when using this as part of the Samba3 passdb -> Samba4 ldb database upgrade script. Andrew Bartlett | |||||
2011-08-13 | s4-dsdb Add ability to force a particular SID in the upgrade case | Andrew Bartlett | 1 | -1/+2 | |
2011-08-13 | s3-passdb Make pdb_element_is_changed available to all passdb modules | Andrew Bartlett | 3 | -29/+33 | |
This will allow pdb_samba4 to use this Andrew Bartlett | |||||
2011-08-13 | passdb: Allocate talloc stackframe before calling in pdb functions. | Amitay Isaacs | 1 | -2/+32 | |
2011-08-13 | passdb: Call with correct backend methods instead of default methods | Amitay Isaacs | 3 | -10/+15 | |
Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | passdb: Added python wrapper to passdb | Amitay Isaacs | 2 | -0/+1560 | |
- Added python wrapper for samu structure. - Added python wrapper for passdb methods: domain_info(), getsampwnam(), getsampwsid(), create_user(), delete_user(), add_sam_account(), delete_sam_account(), update_sam_account(), rename_sam_account(), search_users() Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> | |||||
2011-08-13 | passdb: Add a function to read secrets db from a specified path | Amitay Isaacs | 2 | -6/+17 | |
This allows to load secrets db from a different location. The original secrets_init() now calls secrets_init_path() with lp_private_dir(). | |||||
2011-08-13 | passdb: Add a function to expose loaded backend list. | Amitay Isaacs | 2 | -0/+7 | |
This function is used in python wrapper to list available python backends. | |||||
2011-08-12 | s3:smb2cli: pass more fields to smb2cli_req_create()/smb2cli_req_send() | Stefan Metzmacher | 11 | -16/+80 | |
The caller should take care of the global cli_state values. metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 19:38:27 CEST 2011 on sn-devel-104 | |||||
2011-08-12 | s3:smb2cli: allow 32bit dyn_len in smb2cli_req_create()/smb2cli_req_send() | Stefan Metzmacher | 2 | -5/+5 | |
metze | |||||
2011-08-12 | s3:libsmb: keep a cli_smb_state->one_way | Stefan Metzmacher | 1 | -12/+19 | |
This moves the SMB1 specific stuff to cli_smb_req_create(), instead of having it in the core dispatching code. metze | |||||
2011-08-12 | s3:libsmb: abstract the incoming dispatch function via a function pointer | Stefan Metzmacher | 2 | -5/+17 | |
This will allow handling of SMB2 in future. metze | |||||
2011-08-12 | s3:libsmb: split out cli_state_dispatch_smb1() from cli_smb_received() | Stefan Metzmacher | 1 | -45/+66 | |
metze | |||||
2011-08-12 | s3:libsmb: add missing TALLOC_FREE(frame) to cli_smb_received() | Stefan Metzmacher | 1 | -0/+1 | |
metze | |||||
2011-08-12 | s3:smb2_server: make sure we prefer responses over requests on the client socket | Stefan Metzmacher | 1 | -12/+52 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 16:46:43 CEST 2011 on sn-devel-104 | |||||
2011-08-12 | s3:libsmb: keep the request order in cli_smb_req_unset_pending() | Stefan Metzmacher | 1 | -1/+3 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 12:36:03 CEST 2011 on sn-devel-104 | |||||
2011-08-12 | s3:libsmb: use tevent_req_defer_callback() unless there's only one request ↵ | Stefan Metzmacher | 1 | -4/+41 | |
in cli_smb_received() Callers of tevent_req_done() (or similar functions) have to return directly. Otherwise the callback could invalidate the current stack state, which is likely to trigger segfaults. If there was only one pending request and we just got the response for that one, we can use tevent_req_done() directly. Otherwise there're more pending requests and we need to call cli_state_receive_next() or we got the response for chained requests. Both means that we have to use tevent_req_defer_callback(). metze | |||||
2011-08-12 | s3:libsmb: make use of cli_state_receive_next() in cli_smb_received() | Stefan Metzmacher | 1 | -17/+2 | |
metze | |||||
2011-08-12 | s3:libsmb: notify all request about failures in cli_smb_req_set_pending() | Stefan Metzmacher | 1 | -0/+7 | |
It's up to the caller to notify the current request, but we have to notify all other pending requests if we're not able to read the next response from the server. metze | |||||
2011-08-12 | s3:libsmb: split out cli_state_receive_next() from cli_smb_req_set_pending() | Stefan Metzmacher | 1 | -2/+25 | |
metze | |||||
2011-08-12 | s3:libsmb: use talloc_stackframe() in cli_smb_received() | Stefan Metzmacher | 1 | -8/+12 | |
metze | |||||
2011-08-12 | s3:libsmb: call cli_smb_req_unset_pending() before tevent_req_done() also ↵ | Stefan Metzmacher | 1 | -0/+1 | |
for chained requests metze | |||||
2011-08-12 | s3:libsmb: reset the destructor in cli_smb_req_unset_pending() | Stefan Metzmacher | 1 | -1/+2 | |
metze | |||||
2011-08-12 | s3:libsmb: add cli_state_notify_pending() and use it | Stefan Metzmacher | 1 | -25/+45 | |
If we got a problem on the connection we need to notify every pending request. But we need to make use of tevent_req_defer_callback() before tevent_req_nterror(), otherwise the callback, triggered by tevent_req_nterror(), could invalidate the state of current caller, which will likely cause segfaults. metze | |||||
2011-08-12 | s3:selftest: run smbtorture3 CHAIN1/CHAIN2 tests | Stefan Metzmacher | 2 | -2/+1 | |
metze Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Aug 12 09:37:04 CEST 2011 on sn-devel-104 | |||||
2011-08-11 | s3-messaging: Do not register to classes we are not going to use. | Simo Sorce | 3 | -5/+4 | |
Signed-off-by: Andreas Schneider <asn@samba.org> Autobuild-User: Andreas Schneider <asn@cryptomilk.org> Autobuild-Date: Thu Aug 11 17:09:30 CEST 2011 on sn-devel-104 |