summaryrefslogtreecommitdiff
path: root/source3/winbindd/winbindd_proto.h
AgeCommit message (Collapse)AuthorFilesLines
2009-08-03Add some const to winbind_userinfoVolker Lendecke1-2/+2
2009-07-31Slightly restructure the async winbind request calling conventionVolker Lendecke1-2/+2
The main loop now allocates the response, this has to be done everywhere
2009-06-14Make rescan_trusted_domains a timed eventVolker Lendecke1-1/+2
2009-06-14Remove unused init_child_connection()Volker Lendecke1-4/+0
2009-06-14Add winbindd_dual_ping to all childrenVolker Lendecke1-0/+2
2009-06-14Add async wb_pingVolker Lendecke1-0/+6
2009-06-14Add wb_domain_request_send/recvVolker Lendecke1-0/+6
2009-06-14Remove some unused codeVolker Lendecke1-11/+0
2009-06-14Convert the winbind parent->child communication to wb_reqtransVolker Lendecke1-0/+7
2009-03-18s3: remove POLICY_HND.Günther Deschner1-2/+2
Guenther
2009-03-18s3:winbindd: remove unused close_winbindd_socket() functionStefan Metzmacher1-1/+0
metze
2009-03-12Make opt_nocache static to winbindd.cVolker Lendecke1-0/+2
2009-02-17s3:winbindd: make do_async_domain() static.Michael Adam1-6/+0
Michael
2009-02-11s3: Implement wbcGetSidAliasesDan Sledz1-0/+3
* Adds wbcGetSidAliases that calls the lookup_useraliases function. * Updates wbinfo and winbind_util.c to call the new function. * Also added winbind_get_groups helper function.
2009-02-11s3: Implement wbcGetpwsidDan Sledz1-0/+1
* Adds the plumbing required to lookup users by sid into winbind, wbinfo and smbd helper lib (winbind_util.c). * Removes some double declarations of winbind_util.c functions. * Bumps the winbind protocol version to 21 and the minor version of wbclient to 3.
2009-02-09async_sock: Use unix errnos instead of NTSTATUSKai Blin1-21/+0
This also switches wb_reqtrans to use wbcErr instead of NTSTATUS as it would be pointless to convert to errno first and to wbcErr later.
2009-01-28s3:winbind: remove prototype for non-existent function from winbind_proto.hMichael Adam1-1/+0
Michael
2009-01-27s3: Fix shadowed declarationTim Prouty1-1/+1
2009-01-27s3:winbindd: handle SIG_TERM, SIGHUP, SIGCHLD and SIGUSR2 via teventStefan Metzmacher1-2/+2
metze
2009-01-06Make winbindd_cm.c use winbindd_reinit_after_fork().Jeremy Allison1-0/+1
Jeremy.
2009-01-05s3:winbindd: regain tickets for all ccache entries, when we go onlineStefan Metzmacher1-0/+1
set_event_dispatch_time() is stupid by design and only handles the first event with a given name. metze
2009-01-05s3:winbindd: cancel all ccache entry events and not just oneStefan Metzmacher1-0/+1
cancel_named_event() is stupid by design and also only cancels one single event. metze
2009-01-05s3:winbindd: rename fd_event => winbindd_fd_eventStefan Metzmacher1-4/+4
It's really confusing to have two versions of 'fd_event' metze
2009-01-04Remove wb_trans_send/recvVolker Lendecke1-9/+0
2008-12-08Add wb_trans_send/revcVolker Lendecke1-0/+9
2008-12-08Add infrastructure to transfer winbindd_request/response asynchronouslyVolker Lendecke1-0/+21
2008-11-21s3-winbindd: make all winbind rpc-methods static.Michael Adam1-34/+0
Now that the methods are no longer needed in winbindd_ads, we can make them static again. Michael
2008-11-18Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman1-0/+6
The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
2008-11-03s3: fix a few "shadows a global declaration" warningsTim Prouty1-1/+1
2008-10-13Remove smb_np_structVolker Lendecke1-2/+0
2008-09-23[s3]winbindd_util: add prototype for fill_domain_username_talloc().Michael Adam1-0/+4
A talloc version of fill_domain_username(). Michael
2008-09-16winbindd: Add support for name aliasing.Gerald (Jerry) Carter1-2/+16
* Add support user and group name aliasing by expanding the ws_name_replace() and ws_name_return() functions. The lookup path is aliases -> qualified name -> SID SID -> fully qualified name -> alias In other words, the name aliasing support is a thin layer built on top of SID/NAME translation. * Rename the ws_name_XX() functions to normalize_name_map() and normalize_name_unmap(). Chaneg interface to return NTSTATUS rather than char *. * Add associated cache validation functions.
2008-09-11Fix for bug 5571Simo Sorce1-0/+1
Make sure that usernames are parsed using the correct separator. Otherwise group memeberships in winbind may be result broken. (This used to be commit 20b9c0aa7b4e6d6be5bb6e4e96bd8a1cbb6edd37)
2008-08-25winbindd: move set_auth_errors to util functions.Günther Deschner1-0/+1
Guenther (This used to be commit ae3fa60c4546c7420722d8f422c22bbfd623ff5b)
2008-07-24Remove unused request_finished_cont()Volker Lendecke1-1/+0
(This used to be commit 865ea6fcbc089a03e453709fa54ff2a39c0c168e)
2008-07-17From Jim McDonoughJeremy Allison1-1/+1
In reloading the smb.conf, if a "log file" is specified in smb.conf, winbind children will overwrite the logfile name to be the same as the parent. Jeremy. (This used to be commit 62d319cc1a2ef891866b2ddbd22f3ed0944356af)
2008-07-01MSG_DEBUG now forwarded to all the winbindd children by parent.Darshan Purandare1-0/+5
smbcontrol winbindd debug level would only set the debug level of the parent winbindd process and not the child processes. This patch adds the functionality of broadcasting the debug message to all winbindd children. Now the debug level message is propagated to all the winbindd processes that includes parent and children. (This used to be commit cfbcfc3ffe74f28ec874a6bf1ab93f55f405b6e6)
2008-06-26From Steve Danneman @ Isilon.Jeremy Allison1-10/+10
Attached is the companion patch to (037b9689d9042a398cb91e4628a82fcdfa913c21), which made handling of WINBINDD_LIST_GROUPS asynchronous. Because most all of the list_groups code was reusable, I abstracted it, and implemented both list_groups and list_users on top of it. On my large test domain a "wbinfo -u" call went from 70 seconds to 30 seconds with this patch. Plus, the parent process is no longer blocked from receiving new requests during that time. Steven Danneman | Software Development Engineer Isilon Systems P +1-206-315-7500 F +1-206-315-7501 www.isilon.com (This used to be commit 5188f2861137ff06d5399561d55d7d00c3a08644)
2008-05-30Fix bug #5504. winbindd children and parent were handing SIGTERM in the same ↵Jeremy Allison1-1/+1
way - deleting the socket! Jeremy. (This used to be commit 3ab5a3883e33eba159152aa02544d71f047c7e45)
2008-05-22Make WINBINDD_LIST_GROUPS handler asynchronous.Steven Danneman1-0/+12
Previously WINBINDD_LIST_GROUPS requests (ex: wbinfo -g) were handled by the winbindd parent process in a sequential fashion. This patch, delegates the work to the winbindd children so that the request is handled much faster in large domain topologies, and doesn't block the parent from receiving new requests. The core group enumeration and conversion that was handled in winbindd_list_groups() has been moved into winbindd_dual_list_groups() to be done by the child. The parent winbindd_list_groups() simply calls each of the children asynchronously. listgroups_recv() aggregates the final group list that will be returned to the client and tracks how many of the children have returned their lists. The domain name of the child is passed back through the callbacks to be used in debugging messages. There are also several fixes to typos in various comments. (This used to be commit 037b9689d9042a398cb91e4628a82fcdfa913c21)
2008-05-18winbindd: freeze winbindd_proto.hMichael Adam1-0/+583
Michael (This used to be commit 467b8f0f4d58fc00d07264c651016087bd00b233)