Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-09-07 | s3:winbind: Convert WINBINDD_REMOVE_MAPPING to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-09-07 | s3:winbind: Convert WINBINDD_SET_MAPPING to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-09-07 | s3:winbind: Convert WINBINDD_CHECK_MACHACC to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-30 | w3:winbind: Convert WINBINDD_ALLOCATE_GID to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-30 | w3:winbind: Convert WINBINDD_ALLOCATE_UID to the new API | Volker Lendecke | 1 | -1/+16 | |
2009-08-29 | s3:winbind: Convert WINBINDD_LIST_GROUPS to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-29 | s3:winbind: Convert WINBINDD_LIST_USERS to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-29 | s3:winbind: Convert the getgrent functions to the new API | Volker Lendecke | 1 | -7/+6 | |
2009-08-29 | w3:winbind: Convert WINBINDD_LOOKUPRIDS to the new API | Volker Lendecke | 1 | -4/+2 | |
2009-08-29 | s3:winbind: Convert the GETDCNAME routines to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-29 | s3:winbind: Convert winbindd_dsgetdcname to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-29 | s3:winbind: Convert the GETPWENT routines to the new API | Volker Lendecke | 1 | -8/+7 | |
2009-08-27 | s3:winbind: Convert WINBINDD_GETUSERSIDS to the new API | Volker Lendecke | 1 | -2/+2 | |
2009-08-16 | s3:winbind: The get[gr|pw]end functions need access to the client state | Volker Lendecke | 1 | -1/+2 | |
2009-08-16 | s3:winbind: Convert WINBINDD_GETGRNAM to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-16 | s3:winbind: Convert WINBINDD_GETGRGID to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-16 | s3:winbind: Convert winbindd_show_sequence to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETGROUPS to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETUSERDOMGROUPS to the new API | Volker Lendecke | 1 | -2/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETSIDALIASES to the new API | Volker Lendecke | 1 | -2/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETPWUID to the new API | Volker Lendecke | 1 | -2/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETPWNAM to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GETPWSID to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_GID_TO_SID the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_UID_TO_SID the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_SID_TO_GID the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_SID_TO_UID to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Convert WINBINDD_LOOKUPNAME to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-08-05 | s3:winbind: Remove old version of WINBINDD_PING | Volker Lendecke | 1 | -1/+0 | |
2009-08-05 | s3:winbind: Convert WINBINDD_LOOKUPSID to the new API | Volker Lendecke | 1 | -1/+2 | |
2009-07-31 | Slightly restructure the async winbind request calling convention | Volker Lendecke | 1 | -7/+12 | |
The main loop now allocates the response, this has to be done everywhere | |||||
2009-07-27 | Fix a valgrind error in winbind | Volker Lendecke | 1 | -1/+2 | |
When looking for idle clients, we dereferenced state->response. As this is dynamically allocated now, the proper test is whether state->response exists at all. This is the case when an async operation is in process at that moment. | |||||
2009-07-25 | Fix a winbind memleak | Volker Lendecke | 1 | -0/+1 | |
2009-07-15 | Make gencache more stable | Volker Lendecke | 1 | -0/+2 | |
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction. | |||||
2009-06-18 | Fix bug 4699: Remove pidfile on clean shutdown | Volker Lendecke | 1 | -0/+4 | |
2009-06-14 | Remove "winbindd_request" and "winbindd_response" from winbindd_cli_state | Volker Lendecke | 1 | -6/+10 | |
This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes on my 32-bit box. | |||||
2009-06-14 | Make winbindd_cli_state->response a pointer instead of a struct member | Volker Lendecke | 1 | -12/+13 | |
Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker | |||||
2009-06-14 | winbind: replace process_loop() by tevent_loop_once() | Volker Lendecke | 1 | -68/+5 | |
2009-06-14 | Make rescan_trusted_domains a timed event | Volker Lendecke | 1 | -4/+8 | |
2009-06-14 | Do not store the listening fde | Volker Lendecke | 1 | -15/+11 | |
2009-06-14 | Avoid scanning the client list when a client exits | Volker Lendecke | 1 | -19/+6 | |
2009-06-14 | Add async wb_ping | Volker Lendecke | 1 | -0/+3 | |
2009-06-14 | Add an async wb request loop | Volker Lendecke | 1 | -0/+61 | |
2009-06-14 | Remove some unused code | Volker Lendecke | 1 | -133/+0 | |
2009-06-14 | Convert the main winbind client communication to wb_reqtrans.c | Volker Lendecke | 1 | -124/+64 | |
2009-06-14 | Make winbindd_cli_state->request a pointer instead of a struct member | Volker Lendecke | 1 | -24/+25 | |
In itself, this is pretty pointless. But in the next steps I'll convert the winbind internal communication to wb_reqtrans which allocates the request properly. This minimizes the later diff. Volker | |||||
2009-05-27 | s3: Allow child processes to exit gracefully if we are out of fds | Marc VanHeyningen | 1 | -2/+3 | |
When we run out of file descriptors for some reason, every new connection forks a child that immediately panics causing smbd to coredump. This seems unnecessarily harsh; with this code change we now catch that error and merely log a message about it and exit without the core dump. Signed-off-by: Tim Prouty <tprouty@samba.org> | |||||
2009-05-24 | Fix a race condition in winbind leading to a panic | Volker Lendecke | 1 | -0/+1 | |
In winbind, we do multiple events in one select round. This needs fixing, but as long as we're still using it, for efficiency reasons we need to do that. What can happen is the following: We have outgoing data pending for a client, thus state->fd_event.flags == EVENT_FD_WRITE Now a new client comes in, we go through the list of clients to find an idle one. The detection for idle clients in remove_idle_client does not take the pending data into account. We close the socket that has pending outgoing data, the accept(2) one syscall later gives us the same socket. In new_connection(), we do a setup_async_read, setting up a read fde. The select from before however had found the socket (that we had already closed!!) to be writable. In rw_callback we only want to see a readable flag, and we panic in the SMB_ASSERT(flags == EVENT_FD_READ). Found using bin/smbtorture //127.0.0.1/tmp -U% -N 500 -o 2 local-wbclient Volker | |||||
2009-05-22 | s3: ignore EPIPE error when winbind finally writes to wb client because ↵ | Bo Yang | 1 | -2/+8 | |
client might have already closed the socket Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-05-12 | Convert response.extra_data.data from malloc to talloc | Volker Lendecke | 1 | -12/+0 | |