summaryrefslogtreecommitdiff
path: root/source4/winbind
AgeCommit message (Collapse)AuthorFilesLines
2010-04-06build: waf quicktest nearly worksAndrew Tridgell1-1/+1
Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
2010-04-06build: commit all the waf build files in the treeAndrew Tridgell1-0/+26
2010-03-16s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"Matthias Dieter Wallnöfer1-1/+1
2010-03-12s4:winbind/wb_sam_logon.c: make use of use tevent_req based ↵Stefan Metzmacher1-7/+12
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_init_domain.c: make use of use tevent_req based ↵Stefan Metzmacher1-18/+25
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based ↵Stefan Metzmacher1-20/+25
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_connect_sam.c: make use of use tevent_req based ↵Stefan Metzmacher1-17/+25
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_connect_lsa.c: make use of use tevent_req based ↵Stefan Metzmacher1-9/+13
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based ↵Stefan Metzmacher1-9/+13
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based ↵Stefan Metzmacher1-12/+19
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_cmd_getdcname: make use of use tevent_req based ↵Stefan Metzmacher1-10/+13
dcerpc_binding_handle stubs metze
2010-03-12s4:winbind/wb_async_helpers.c: make use of use tevent_req based ↵Stefan Metzmacher1-47/+64
dcerpc_binding_handle stubs metze
2010-03-09s4:winbind - use "unsigned" variables where possibleMatthias Dieter Wallnöfer5-27/+27
2010-03-09s4:winbind/wb_cmd_getgroups.c - fix up warningsMatthias Dieter Wallnöfer1-8/+16
Also fix some indentations.
2010-03-09s4:winbind: stub implementation of WINBINDD_PAM_LOGOFFMatthieu Patou2-2/+29
Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09s4:winbind: Fix a misplaced returned infoMatthieu Patou1-4/+2
libwbclient expect to have in auth.exra_data the INFO3_TXT and in auth.unix_username the username Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09s4:winbind Implement logic for getgroups to workMatthieu Patou3-17/+273
This function is called by the system everytime we do a id user or when we do wbinfo -r Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-09s4:winbind: implement calls for allowing getent groupsMatthieu Patou5-2/+379
This is to say getgrent and setgrent, and the associated technical objects (states, build directives,...) needed. Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
2010-03-01s4:winbind: make use of explicit dcerpc_*_recv functionsStefan Metzmacher9-17/+17
metze
2010-02-26s4-winbind: Fixed the memory context of tstream_bsd_existing()Andreas Schneider1-1/+1
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2010-02-26s4: Winbind allow to behave more correctly when we have more than a few usersMatthieu Patou1-8/+41
2010-02-19s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett1-2/+19
Now we give the user a clue as to what may be wrong, and the file path that we could not find the domain SID in. Andrew Bartlett
2010-02-18s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett3-59/+34
This also moves the calls to secrets_get_domain_sid back into winbind_task_init(), so that we can terminate with a much more detailed error message. (The previous message was simply NT_STATUS_CANT_ACCESS_DOMAIN_INFO). Andrew Bartlett
2010-02-11s4: Switch to S3-style id mapping data types.Kai Blin7-36/+44
2010-02-11s4 idmap: Make the sid_to_xid and xid_to_sid calls static.Kai Blin1-4/+8
Looking at the winbind interface, we should only be using the bulk conversion calls.
2010-01-20s4-winbind: Migrated winbind connection to tsocket.Andreas Schneider3-78/+191
Signed-off-by: Stefan Metzmacher <metze@samba.org>
2009-11-27s4:winbind - Fix it another time upMatthias Dieter Wallnöfer1-2/+14
The first fix attempt did break some configurations (incl. "make test"). This now is the right fix with the right comment.
2009-11-27s4:provision - Fix up the provision of "standalone" and "member" modeMatthias Dieter Wallnöfer1-1/+1
Both modes weren't possible anymore since 1.) the secrets entry wasn't created, 2.) a lookup in winbindd was done using "lp_workgroup()" rather than "lp_sam_name()" (since on the mentioned two configurations we use the netbios name as domainname - and not the workgroup).
2009-10-23s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell1-2/+2
This allows us to reuse a ldb context if it is open twice, instead of going through the expensive process of a full ldb open. We can reuse it if all of the parameters are the same. The change relies on callers using talloc_unlink() or free of a parent to close a ldb context.
2009-10-20s4: ran minimal_includes.pl on source4/winbindAndrew Tridgell30-84/+0
2009-10-02s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer8-9/+9
2009-10-02s4-winbind: support the s3 response flags on krb5 auth tooAndrew Tridgell2-8/+65
This fixes the samba4.blackbox.wbinfo test, which was failing on a wbinfo -K command
2009-10-02s4-winbind: support the Samba3 TXT form of the info3 for wbinfo -aAndrew Tridgell1-0/+112
This sends the info3 as hand marshalled data
2009-09-19s4-resolve: fixed a crash bug on timeoutAndrew Tridgell1-1/+1
We were creating the name resolution context as a child of lp_ctx, which meant when we gave up on a connection the timer on name resolution kept running, and when it timed out the callback crashed as the socket was already removed.
2009-09-18s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell1-8/+8
When one of our core tasks fails to initialise it can now ask for the server as a whole to die, rather than limping along in a degraded state.
2009-08-18s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warningKai Blin1-1/+1
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 Blin2-1/+19
2009-08-07fixed another ambiguous talloc callAndrew Tridgell1-3/+3
During the creation of the 3 RPC pipes in winbind we try to steal the RPC binding structure to be a child of the pipe once the pipe is established. This fails with a talloc warning as the rpc connection code already holds a reference to the binding. The fix is to use talloc_reparent() instead.
2009-07-15s4:winbind: rename uint => uint32_t as uint isn't portableStefan Metzmacher1-1/+1
metze
2009-04-28Fix Coverity ID 853 (UNINIT) -- Kai, please check!Volker Lendecke1-0/+3
2009-04-14Rework Samba4 to use the new common libcli/auth codeAndrew Bartlett1-7/+7
In particular, this is the rename from creds_ to netlogon_creds_, as well as other links to use the new common crypto. Andrew Bartlett
2009-02-02s4:service_stream: s/private/private_dataStefan Metzmacher1-4/+4
metze
2009-02-02s4:winbind: s/private/private_dataStefan Metzmacher2-5/+5
metze
2009-02-01shared: Move dom_sid_* utility functions to top levelKai Blin4-4/+4
2009-02-01s4:irpc: avoid c++ reserved word 'private'Stefan Metzmacher1-2/+2
metze
2009-01-15s4-winbind: Add support for the WINBINDD_LIST_GROUPS command.Kai Blin4-2/+250
2009-01-06s4 winbind: Silence a "discards const" warningKai Blin1-1/+3
2009-01-02s4 winbind: Correctly silence a "discard const" warningKai Blin1-2/+2
Thanks to metze for pointing out the error.
2009-01-02Revert "s4 winbind: Copy SID to avoid "discard const" warning"Stefan Metzmacher1-2/+1
This reverts commit 102028ec722d942d7f91eb92e8da4f1480d140d1. state->ctx is the composite_context, which is a temporary context! metze