summaryrefslogtreecommitdiff
path: root/source4/winbind/wb_samba3_protocol.c
AgeCommit message (Collapse)AuthorFilesLines
2010-05-14s4:winbindd Rework some winbind structures to make s3compat easierAndrew Bartlett1-16/+23
By making the winbindd_request and winbindd_response structures pointers, we can more easily integrate with the winbindd from source3/winbindd Andrew Bartlett
2010-03-09s4:winbind: stub implementation of WINBINDD_PAM_LOGOFFMatthieu Patou1-2/+3
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-01-20s4-winbind: Migrated winbind connection to tsocket.Andreas Schneider1-39/+62
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-08-18s4 winbind: Silence compile warning by adding new commands to the listKai Blin1-0/+3
2009-08-18s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFOKai Blin1-1/+3
2009-02-02s4:winbind: s/private/private_dataStefan Metzmacher1-3/+3
metze
2009-01-15s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.Kai Blin1-2/+4
2008-12-16nsswitch: Move nsswitch files from source4 to top level nsswitch dirKai Blin1-0/+3
2008-12-16nsswitch: Move source3 files to top level dir.Kai Blin1-6/+0
Don't move source4 files yet to not confuse git's rename tracking too much.
2008-04-15Fix winbind to check machine account.Andrew Bartlett1-3/+0
This enables 'wbinfo -t', by checking the machine account with a SamLogon call. Andrew Bartlett (This used to be commit abefa12029a17e9007f4884f3651d835a10ee9e3)
2007-10-10r25158: rename nsswitch/winbindd_nss.h => nsswitch/winbind_struct_protocol.hStefan Metzmacher1-2/+0
metze (This used to be commit 1fc3a37902005a4f127191b9183747ddfb1f59a3)
2007-10-10r25001: Fix more C++ and other warnings, fix some of the indentation with ↵Jelmer Vernooij1-2/+2
ts=4 lines that I accidently added earlier. (This used to be commit 0bcb21ed740fcec0f48ad36bbc2deee2948e8fc7)
2007-10-10r24483: Implement backend for wbinfo -u (list users)Kai Blin1-1/+3
(This used to be commit 9fbc8aa15f97ab97f4da801e5d36223a874e912b)
2007-10-10r24373: Implement backend for wbinfo -G (gid2sid)Kai Blin1-2/+4
(This used to be commit e928e56219c8911105b34e3a322bd70f7172382b)
2007-10-10r24372: Implement backend for wbinfo -UKai Blin1-2/+4
(This used to be commit a18cf553cf9748749d713c4d54f1452ae92f7218)
2007-10-10r24371: Actually add the glue to make wbinfo -S and wbinfo -Y workKai Blin1-4/+8
(This used to be commit a8893b3078c927b0a56e9d8e8c98cbeabce3e974)
2007-10-10r23792: convert Samba4 to GPLv3Andrew Tridgell1-3/+2
There are still a few tidyups of old FSF addresses to come (in both s3 and s4). More commits soon. (This used to be commit fcf38a38ac691abd0fa51b89dc951a08e89fdafa)
2007-10-10r23653: add dummy implementation for all nss calls to let nsstestStefan Metzmacher1-6/+28
pass against a samba4 winbind metze (This used to be commit 57dfc7674352df8b0d4e06750e11a91b574eabb1)
2007-10-10r23311: Updating the samba4 winbind protocol to version 18.Kai Blin1-6/+20
nsswitch/winbindd_nss.h is just copied from SAMBA_3_0. nsswitch/winbind_nss_config.h is copied from SAMBA_3_0, too, but I had to drop some of the defines to make things build again. Kai (This used to be commit 553b7e146f52975b45941ba850140e312a280513)
2007-10-10r17250: Fix comment, the Samba3 winbind protocol uses the host byte order here.Andrew Bartlett1-1/+1
Andrew Bartlett (This used to be commit dc4500eb902fbb0a0e7d3b38a9d257ea839d00d3)
2007-10-10r12866: This removes the abstraction layer in winbindd intended to deal withAndrew Bartlett1-33/+94
multiple protocols, replacing it with the packet handling subsystem. We don't have multiple protocols at present, and the abstraction layer only serves to confuse matters. Also, the new packet subsystem removes the need to handle partial reads. We can easily add new protocols from the socket up instead, becaue the difficult bits are done by the packet layer. Andrew Bartlett (This used to be commit acf9dc8fe9e66f1dd3f18c0245375f502f03a24c)
2007-10-10r12608: Remove some unused #include lines.Jelmer Vernooij1-2/+0
(This used to be commit 70e7449318aa0e9d2639c76730a7d1683b2f4981)
2007-10-10r11968: More warning fixes. We're on track to getting to double digits forTim Potter1-2/+2
the number of warnings generated now. (This used to be commit d479f2d7607adc698d71c5ba26932c72a26dcaab)
2007-10-10r11626: Fix unhandled enum in case statement warnings by noting appropriatelyTim Potter1-0/+43
that some values aren't handled. The remaining warnings I think are actual bugs or required functionality that is missing (mostly lack of server side Unix extensions). (This used to be commit 03c7da27a06736f2a27d76e6a00a24ab54453af9)
2007-10-10r11528: Separate finding dcs from initializing a domain. Makes it easier to ↵Volker Lendecke1-0/+2
possibly support cldap and other stuff in the future. This temporarily disables wbinfo -t, but that will come back soon. Try an ldap bind using gss-spnego. This got me krb5 binds against "our" w2k3 and a trusted w2k, although with some memleaks from krb5 and a BAD_OPTION tgs-rep error. Volker (This used to be commit d14948fdf687c8f70ef9ec35445b7eb04da84253)
2007-10-10r11193: Implement wbinfo -mVolker Lendecke1-0/+3
(This used to be commit 12a800bc8541c4160a534d1edcaeb6774776e18d)
2007-10-10r11181: Implement wbinfo -s and wbinfo --user-sids. The patch is so large ↵Volker Lendecke1-3/+11
because --user-sids required the extension to trusted domains. Implement "winbind sealed pipes" parameter for debugging purposes. Volker (This used to be commit 3821a17bdb68b2f1389b5a150502c057d28569d2)
2007-10-10r11095: Implement wb_getuserdomgroups.Volker Lendecke1-0/+3
Tridge, if you have the time, you might want to look at a problem I'm having with unix domain stream sockets. From a comment in this commit: /* Using composite_trigger_error here causes problems with the client * socket. Linux 2.6.8 gives me a ECONNRESET on the next read after * writing the reply when I don't wait the 100 milliseconds. */ This is in winbind/wb_cmd_userdomgroups.c:93. The problem I have is that I can not *immediately* send an error reply to the client because the next receive fails. Waiting 100 milliseconds helps. It might also be a problem with epoll(), I don't really know. I'd appreciate if you took a brief look at this, maybe I'm doing something wrong. Thanks, Volker (This used to be commit 3e535cce743710a68a4264e4f66e9c0c4d6770c6)
2007-10-10r11094: Connect to SAM, implement getdcnameVolker Lendecke1-0/+3
(This used to be commit a14398715eceecf204caf815a8769ba8214d0576)
2007-10-10r11070: Fix a cut&paste error, now wbinfo can properly separate domain and ↵Volker Lendecke1-1/+1
user... Volker (This used to be commit 6e4f774a4948691440362663418243623d1f51f7)
2007-10-10r10844: Add challenge-response authentication to Samba4's winbindd for VL.Andrew Bartlett1-0/+6
Plaintext should be simple, but I'm going to do some infrustructure work first. Andrew Bartlett (This used to be commit c9273729e4db4adc0061087fe7e0332e2bc24384)
2007-10-10r10691: This gets half-way to wbinfo -n. It acquires an lsa pipe, and does aVolker Lendecke1-0/+3
queryinfopolicy. Idea is to get a consistency check between that and our notion of the domain name and sid, and take the lsa pipe as the holder of the central smbcli_tree that netlogon and samr use as well. Volker (This used to be commit 126c80aefc4f53c4ba79afc12d70602ef9055ddb)
2007-10-10r10675: Connect to the DC's IPC$Volker Lendecke1-1/+2
Volker (This used to be commit c7557884843a5b2bac9e21ec81cafcaadf436bca)
2007-10-10r10508: - implement WINBINDD_NETBIOS_NAME, WINBINDD_DOMAIN_NAME and ↵Stefan Metzmacher1-4/+13
WINBINDD_INFO is there a way to test this calls? vl: please review this metze (This used to be commit 85d4565fce0fcd6abad5fb11246d2671675ee37d)
2007-10-10r10491: First step towards wbinfo -t: This issues a name request for the primaryVolker Lendecke1-0/+3
domain and gets the DC's name via a mailslot call. Metze, I renamed wbsrv_queue_reply to wbsrv_send_reply in accordance with irpc_send_reply. Having _queue_ here and _send_ there is a bit confusing. And as everything is async anyway, the semantics should not be too much of a problem. Volker (This used to be commit 4637964b19c6e9f7d201b287e2d409d029fced01)
2007-10-10r10438: Move portability functions to lib/replace/; replace now simply ensuresJelmer Vernooij1-1/+1
that a given set of (working) POSIX functions are available (without prefixes to their names, etc). See lib/replace/README for a list. Functions that behave different from their POSIX specification (such as sys_select, sys_read, etc) have kept the sys_ prefix. (This used to be commit 29919a71059b29fa27a49b1f5b84bb8881de65fc)
2007-10-10r10435: fill in the reference to the generic wbsrv_call in the ↵Stefan Metzmacher1-0/+1
wbsrv_samba3_call, so that async function can use it. metze (This used to be commit 72302b5d3dc3657caf885d40696495b6c8aabefb)
2007-10-10r10426: - restructure the winbind server code a bitStefan Metzmacher1-0/+116
- remove the echo test stuff - abstract out the used protocol - we have a seperate handler for the samba3 protocol now - the backend can easy do async replies by setting WBSRV_CALL_FLAGS_REPLY_ASYNC in wbsrv_call and then call wbsrv_queue_reply() later metze (This used to be commit 32f3e68a569e9273b8d34fbd797c0a28494e5b6d)