summaryrefslogtreecommitdiffstats
path: root/source3/winbindd/winbindd.h
Commit message (Collapse)AuthorAgeFilesLines
* s3:winbindd: remove unused get[pw|gr]ent_initialized from winbindd_cli_stateStefan Metzmacher2014-07-111-4/+0
| | | | | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org> Autobuild-User(master): Stefan Metzmacher <metze@samba.org> Autobuild-Date(master): Fri Jul 11 18:46:09 CEST 2014 on sn-devel-104
* winbindd: Use a remote RPC server when we are an RODC when neededAndrew Bartlett2014-07-041-0/+1
| | | | | | | | | | | | | This allows us to operate against the local cache where possible, but to forward some operations to the read-write DC. Andrew Bartlett Change-Id: Idc78ae379a402969381758919fcede17568f094e Pair-programmed-with: Garming Sam <garming@catalyst.net.nz> Signed-off-by: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Garming Sam <garming@catalyst.net.nz> Reviewed-by: Nadezhda Ivanova <nivanova@samba.org>
* librpc/idl: Merge wbint.idl with winbind.idl so we can forward IRPC requests ↵Andrew Bartlett2014-06-111-1/+1
| | | | | | | | to internal winbind calls Change-Id: Iba3913d5a1c7f851b93f37e9beb6dbb20fbf7e55 Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* s3:winbindd: make use of rpccli_{create,setup}_netlogon_creds()Stefan Metzmacher2014-01-071-0/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:rpc_client: make use of the new netlogon_creds_cli_contextStefan Metzmacher2014-01-071-9/+0
| | | | | | | | | | | | | | | This exchanges rpc_pipe_client->dc with rpc_pipe_client->netlogon_creds and lets the secure channel session state be stored in node local database. This is the proper fix for a large number of bugs: https://bugzilla.samba.org/show_bug.cgi?id=6563 https://bugzilla.samba.org/show_bug.cgi?id=7944 https://bugzilla.samba.org/show_bug.cgi?id=7945 https://bugzilla.samba.org/show_bug.cgi?id=7568 https://bugzilla.samba.org/show_bug.cgi?id=8599 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* s3:winbindd: make use of the "winbind sealed pipes" option for all connectionsStefan Metzmacher2014-01-071-0/+3
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
* winbind: Use talloc for allocating domain, dns, forest and dc name.Andreas Schneider2013-03-051-4/+4
| | | | Reviewed-by: David Disseldorp <ddiss@samba.org>
* s3:winbindd: s/struct timed_event/struct tevent_timerStefan Metzmacher2013-02-191-4/+4
| | | | | Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Michael Adam <obnox@samba.org>
* winbind: Use standard tevent_context_initVolker Lendecke2013-01-181-2/+0
| | | | | | This makes winbind use epoll instead of poll Reviewed by: Jeremy Allison <jra@samba.org>
* s3-winbindd: no need to globally include ldap headers in winbindd.Günther Deschner2011-11-171-1/+0
| | | | Guenther
* s3-tevent: only include ../lib/util/tevent wrappers where needed.Günther Deschner2011-04-291-0/+2
| | | | | | | Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Fri Apr 29 14:00:30 CEST 2011 on sn-devel-104
* s3-winbindd: copy acct_info to wb_acct_info so we dont need passdb for it.Günther Deschner2011-03-301-2/+8
| | | | Guenther
* s3-build: stop including ldap and lber headers everywhere in the code.Günther Deschner2011-03-161-0/+1
| | | | | | | | | | Instead use new header smb_ldap.h where all LDAP API related things are handled, while smbldap.h only deals with our smbldap_X() API. Guenther Autobuild-User: Günther Deschner <gd@samba.org> Autobuild-Date: Wed Mar 16 10:54:51 CET 2011 on sn-devel-104
* s3-winbindd: let winbind try to use samlogon validation level 6. (bug #7945)Günther Deschner2011-02-041-0/+1
| | | | | | | | | | | | | The benefit of this that it makes us more robust to secure channel resets triggered from tools outside the winbind process. Long term we need to have a shared tdb secure channel store though as well. Guenther Signed-off-by: Stefan Metzmacher <metze@samba.org> Autobuild-User: Stefan Metzmacher <metze@samba.org> Autobuild-Date: Fri Feb 4 18:11:04 CET 2011 on sn-devel-104
* s3:winbind: Fork multiple children per domainVolker Lendecke2011-01-211-1/+1
| | | | | | | | | | | | This makes us scale better with many simultaneous winbind requests, some of which might be slow. This implementation breaks offline logons, as the cached credentials are maintained in a child (this needs fixing). So, if the offline logons are active, only allow one DC connection. Probably the offline logon and the scalable file server cases are separate enough so that this patch is useful even with the restriction.
* Move error reporting of messaging context creation fail intoJeremy Allison2010-11-141-1/+0
| | | | | | | | the daemons themselves. Allows client utilities to silently fail to create a messaging context due to access denied on the messaging tdb (which I need for the following patch). Jeremy.
* s3/winbind: use mono time for startup timeout checkBjörn Jacke2010-09-101-1/+1
|
* s3-build: use talloc_dict.h only where needed.Günther Deschner2010-08-261-0/+2
| | | | Guenther
* s3:winbindd: remove rpc_pipe_client references from winbind_dual_ndr codeStefan Metzmacher2010-08-161-1/+0
| | | | metze
* s3:winbindd: add binding_handle to struct winbindd_childStefan Metzmacher2010-08-161-0/+1
| | | | metze
* s3:winbindd use common server context functionsSimo Sorce2010-06-101-0/+3
|
* s3:dom_sid Global replace of DOM_SID with struct dom_sidAndrew Bartlett2010-05-211-18/+18
| | | | | | | | | | This matches the structure that new code is being written to, and removes one more of the old-style named structures, and the need to know that is is just an alias for struct dom_sid. Andrew Bartlett Signed-off-by: Günther Deschner <gd@samba.org>
* s3:winbindd: add DEBUG(10,...) for the end of each top levelStefan Metzmacher2010-03-051-0/+1
| | | | | | That will hopefully make debugging a bit easier (at least for me). metze
* s3: Pass netr_DomainTrustList instead of names and sids through ↵Volker Lendecke2009-12-281-4/+1
| | | | (*trusted_domains)
* s3: Replace IS_DOMAIN_OFFLINE by a functionVolker Lendecke2009-12-261-5/+0
|
* s3: winbindd_cli_state->getgrent_state is no longer usedVolker Lendecke2009-12-261-11/+0
|
* s3: Remove some unused codeVolker Lendecke2009-12-231-2/+0
|
* s3-winbindd: Fix Bug #6711: trusts to windows 2008 (2008 r2) not working.Günther Deschner2009-09-221-0/+2
| | | | | | | | | | | Winbindd should always try to use LSA via an schannel authenticated ncacn_ip_tcp connection when talking to AD for LSA lookup calls. In Samba <-> W2k8 interdomain trust scenarios, LookupSids3 and LookupNames4 via an schannel ncacn_ip_tcp LSA connection are the *only* options to successfully resolve sids and names. Guenther
* s3-winbindd: add cm_connect_lsa_tcp().Günther Deschner2009-09-221-0/+1
| | | | Guenther
* s3:winbind: Add async wb_next_grentVolker Lendecke2009-08-291-0/+8
|
* s3:winbind: Convert the GETPWENT routines to the new APIVolker Lendecke2009-08-291-1/+2
|
* s3:winbind: Add async next_pwentVolker Lendecke2009-08-291-0/+7
|
* s3:winbind: Fix a bug found by RPC-SAMRVolker Lendecke2009-08-291-0/+1
| | | | | | We need to enumerate passdb alias members Thanks to gd for bugging me :-)
* s3:winbind: WINBIND_USERINFO -> wbint_userinfoVolker Lendecke2009-08-161-16/+4
|
* s3:winbind: Add NDR-based parent-child communication to winbindVolker Lendecke2009-08-051-0/+1
|
* Add some const to winbind_userinfoVolker Lendecke2009-08-031-5/+5
|
* Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke2009-08-021-1/+1
| | | | | | Pass a "flags" argument instead of the original winbind command down the name_to_sid chain. This way we are independent of the winbind commands and can take the decision at a much higher level
* Fix some nonempty linesVolker Lendecke2009-07-311-4/+4
|
* Slightly restructure the async winbind request calling conventionVolker Lendecke2009-07-311-2/+2
| | | | The main loop now allocates the response, this has to be done everywhere
* Remove "winbindd_request" and "winbindd_response" from winbindd_cli_stateVolker Lendecke2009-06-141-3/+1
| | | | | This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes on my 32-bit box.
* Make winbindd_cli_state->response a pointer instead of a struct memberVolker Lendecke2009-06-141-1/+2
| | | | | | Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker
* Remove an unused struct member in winbindd_cli_stateVolker Lendecke2009-06-141-1/+0
|
* Avoid scanning the client list when a client exitsVolker Lendecke2009-06-141-1/+0
|
* Add an async wb request loopVolker Lendecke2009-06-141-0/+2
|
* Remove some unused codeVolker Lendecke2009-06-141-11/+0
|
* Convert the winbind parent->child communication to wb_reqtransVolker Lendecke2009-06-141-2/+3
|
* Convert the main winbind client communication to wb_reqtrans.cVolker Lendecke2009-06-141-1/+1
|
* Make winbindd_cli_state->request a pointer instead of a struct memberVolker Lendecke2009-06-141-1/+2
| | | | | | | | 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
* s3: remove POLICY_HND.Günther Deschner2009-03-181-2/+2
| | | | Guenther
* Remove unused struct CLI_POLICY_HNDVolker Lendecke2009-01-071-7/+0
|