Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2010-10-09 | More neccessary const. | Jeremy Allison | 1 | -1/+1 | |
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Sat Oct 9 01:47:25 UTC 2010 on sn-devel-104 | |||||
2010-10-03 | s3: Move #define VALGRIND to config.h | Volker Lendecke | 1 | -10/+0 | |
This fixes the valgrind overrun in the tdb jenkins hash | |||||
2010-10-03 | s3: Attempt to fix a ton of warnings on the build farm | Volker Lendecke | 2 | -12/+10 | |
2010-10-01 | s3:events: Call all ready fd event handlers on each iteration of the main loop | Steven Danneman | 1 | -1/+1 | |
Previously, only one fd handler was being called per main message loop in all smbd child processes. In the case where multiple fds are available for reading the fd corresponding to the event closest to the beginning of the event list would be run. Obviously this is arbitrary and could cause unfairness. Usually, the first event fd is the network socket, meaning heavy load of client requests can starve out other fd events such as oplock or notify upcalls from the kernel. In this patch, I have changed the behavior of run_events() to unset any fd that it has already called a handler function, as well as decrement the number of fds that were returned from select(). This allows the caller of run_events() to iterate it, until all available fds have been handled. I then changed the main loop in smbd child processes to iterate run_events(). This way, all available fds are handled on each wake of select, while still checking for timed or signalled events between each handler function call. I also added an explicit check for EINTR from select(), which previously was masked by the fact that run_events() would handle any signal event before the return code was checked. This required a signature change to run_events() but all other callers should have no change in their behavior. I also fixed a bug in run_events() where it could be called with a selrtn value of -1, doing unecessary looping through the fd_event list when no fds were available. Also, remove the temporary echo handler hack, as all fds should be treated fairly now. | |||||
2010-10-01 | samba: share readline wrappers among all buildsystems. | Günther Deschner | 1 | -8/+0 | |
Guenther | |||||
2010-10-01 | s3-readline: move cmd_history to smbclient, the only user. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-10-01 | samba: share select wrappers. | Günther Deschner | 1 | -6/+0 | |
Guenther | |||||
2010-10-01 | s3-spoolss: dont overwrite location change notify. | Günther Deschner | 1 | -0/+3 | |
Guenther | |||||
2010-09-30 | s3-spoolss: Fix servername/printername handling which turns out to be very ↵ | Günther Deschner | 1 | -1/+1 | |
important to get right. Guenther | |||||
2010-09-28 | s3-printing: remove unused old structs. | Günther Deschner | 1 | -60/+0 | |
Guenther | |||||
2010-09-28 | s3: Remove talloc_autofree_context() from files.c | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_fd | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_di_first | Volker Lendecke | 1 | -1/+2 | |
2010-09-28 | s3: Lift smbd_server_conn from file_find_dif | Volker Lendecke | 1 | -1/+2 | |
2010-09-28 | s3: Remove smbd_server_conn from files_forall | Volker Lendecke | 1 | -0/+1 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_user | Volker Lendecke | 1 | -1/+1 | |
2010-09-28 | s3: Remove smbd_server_conn from file_close_pid | Volker Lendecke | 1 | -1/+2 | |
2010-09-27 | s3: Make file_fnum static | Volker Lendecke | 1 | -1/+0 | |
2010-09-27 | s3: Remove some unused code | Volker Lendecke | 1 | -3/+0 | |
2010-09-26 | s3: Remove talloc_autofree_context() from notify_internal_parent_init() | Volker Lendecke | 1 | -1/+1 | |
2010-09-26 | Fix bug #7698 - Assert causes smbd to panic on invalid NetBIOS session request. | Jeremy Allison | 1 | -3/+3 | |
Found by the CodeNomicon test suites at the SNIA plugfest. http://www.codenomicon.com/ If an invalid NetBIOS session request is received the code in name_len() in libsmb/nmblib.c can hit an assert. Re-write name_len() and name_extract() to use "buf/len" pairs and always limit reads. Jeremy. | |||||
2010-09-26 | s3: Remove talloc_autofree_context() from serverid_parent_init() | Volker Lendecke | 1 | -1/+1 | |
2010-09-26 | s3: Remove talloc_autofree_context() from messaging_tdb_parent_init() | Volker Lendecke | 1 | -1/+1 | |
2010-09-26 | s3: Lift talloc_autofree_context() from make_auth_context_fixed() | Volker Lendecke | 1 | -1/+3 | |
2010-09-26 | s3: Lift talloc_autofree_context() from make_auth_context_subsystem() | Volker Lendecke | 1 | -1/+2 | |
2010-09-23 | s3-dcerpc: remove auth_data_free_func | Simo Sorce | 1 | -2/+0 | |
Everything is using a talloc pointer now, no need to have an accessor function to free data anymore. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: make auth context opaque | Simo Sorce | 1 | -6/+1 | |
This way we always double check in advance that the context is of the right type with talloc_get_type_abort instead of potentially accessing random memory by addressing the wrong structure in the union. Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: finally remove the legaqcy spnego_type variable from pipe_auth_data | Simo Sorce | 1 | -7/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-23 | s3-dcerpc: add spnego server helpers | Simo Sorce | 1 | -0/+10 | |
squashed: add michlistMIC signature checks Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-21 | s3:registry: move regio.h from include/ to registry/ | Michael Adam | 1 | -226/+0 | |
2010-09-21 | s3:registry: move the reg_db.h from include/ to registry/ | Michael Adam | 1 | -32/+0 | |
2010-09-21 | s3:registry: move prototype from reg_init_smbconf.c to its own header. | Michael Adam | 1 | -5/+0 | |
2010-09-21 | s3:registry: move prototype from reg_init_full.c to its own header. | Michael Adam | 1 | -4/+0 | |
2010-09-21 | s3:registry: move prototypes from reg_init_basic.c to their own header. | Michael Adam | 1 | -5/+0 | |
2010-09-21 | s3:registry: move reg_api_regf prototypes to their own header file. | Michael Adam | 1 | -5/+0 | |
These two calls are currently only used in the WINREG rpc server. And this reqires linking in the regfio code. | |||||
2010-09-21 | s3:registry: move the reg_api prototypes to their own header. | Michael Adam | 1 | -47/+0 | |
2010-09-21 | s3:registry: regfio fix the build | Michael Adam | 1 | -0/+1 | |
2010-09-21 | s3:services_db: remove unused legacy function svcctl_fetch_regvalues(). | Michael Adam | 1 | -1/+0 | |
2010-09-21 | s3:services_db: publish svcctl_get_string_value() | Michael Adam | 1 | -0/+3 | |
2010-09-21 | s3:services_db: remove the TALLOC_CTX argument from svcctl_set_secdesc | Michael Adam | 1 | -1/+2 | |
2010-09-20 | s3-lib/util Remove unused smb_uuid_unpack() | Andrew Bartlett | 1 | -4/+0 | |
Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3-uuid Remove unused smb_uuid_pack() | Andrew Bartlett | 1 | -1/+0 | |
Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3: Replace sid_binstring and sid_guidstring with PIDL-based alternatives | Andrew Bartlett | 1 | -2/+0 | |
This reduces the manual marshalling of these structures by removing the duplication here. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org> | |||||
2010-09-20 | s3-build: try to fix the non-ldap build. | Günther Deschner | 1 | -4/+0 | |
ldapsam_search_suffix_by_name is already prototyped in smbldap.h. Guenther | |||||
2010-09-20 | s3-nmbd: move SYNC_DNS to nmbd.h | Günther Deschner | 1 | -4/+0 | |
Guenther | |||||
2010-09-20 | s3-util: use shared dom_sid_dup. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-09-20 | s3-util_sid: use shared dom_sid_compare_auth and dom_sid_equal_X functions. | Günther Deschner | 1 | -3/+0 | |
Guenther | |||||
2010-09-20 | s3-build: only include smbldap.h where needed. | Günther Deschner | 3 | -41/+41 | |
Guenther | |||||
2010-09-20 | s3-build: only include ctdbd_conn.h where needed. | Günther Deschner | 1 | -1/+0 | |
Guenther | |||||
2010-09-20 | s3-build: only include async headers where needed. | Günther Deschner | 1 | -2/+0 | |
Guenther |