summaryrefslogtreecommitdiff
path: root/source4/winbind
Commit message (Collapse)AuthorAgeFilesLines
* s4:wb_cmd_getdcname.c - fix s4 winbind up regarding the new correct ↵Matthias Dieter Wallnöfer2010-04-271-0/+5
| | | | | | | "GetAnyDCName" behaviour We get back "NO_SUCH_DOMAIN" when we query the PDC. This is fine and therefore we use the "logon_server" variable as "dcname".
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_USERSStefan Metzmacher2010-04-192-2/+8
| | | | metze
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_GROUPSStefan Metzmacher2010-04-192-2/+8
| | | | metze
* s4:winbind: fill response.data.num_entries for WINBINDD_LIST_TRUSTDOMStefan Metzmacher2010-04-191-0/+1
| | | | metze
* s4:winbind: use WINBINDD_SOCKET_NAME instead of WINBINDD_SAMBA3_SOCKETStefan Metzmacher2010-04-152-4/+2
| | | | metze
* s4:winbind: wbsrv_samba3_priv_pipe_dir() needs to return the directory not ↵Stefan Metzmacher2010-04-153-9/+5
| | | | | | the pipe path metze
* s4:winbind/wb_server.c - fix indentationMatthias Dieter Wallnöfer2010-04-071-2/+2
|
* s4-waf: removed the AUTOGENERATED markersAndrew Tridgell2010-04-061-3/+0
| | | | we won't be using the mk -> wscript generator again
* s4-waf: mark the wscript files as python so vim/emacs knows how to highlight ↵Andrew Tridgell2010-04-061-0/+2
| | | | them
* build: waf quicktest nearly worksAndrew Tridgell2010-04-061-1/+1
| | | | | Rewrote wafsamba using a new dependency handling system, and started adding the waf test code
* build: commit all the waf build files in the treeAndrew Tridgell2010-04-061-0/+26
|
* s4:wb_cmd_getgroups - fix failure in s4 winbind's "getgroups"Matthias Dieter Wallnöfer2010-03-161-1/+1
|
* s4:winbind/wb_sam_logon.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-7/+12
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_init_domain.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-18/+25
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_dom_info_trusted.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-20/+25
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_connect_sam.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-17/+25
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_connect_lsa.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-9/+13
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_cmd_usersids.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-9/+13
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_cmd_list_trustdom.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-12/+19
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_cmd_getdcname: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-10/+13
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind/wb_async_helpers.c: make use of use tevent_req based ↵Stefan Metzmacher2010-03-121-47/+64
| | | | | | dcerpc_binding_handle stubs metze
* s4:winbind - use "unsigned" variables where possibleMatthias Dieter Wallnöfer2010-03-095-27/+27
|
* s4:winbind/wb_cmd_getgroups.c - fix up warningsMatthias Dieter Wallnöfer2010-03-091-8/+16
| | | | Also fix some indentations.
* s4:winbind: stub implementation of WINBINDD_PAM_LOGOFFMatthieu Patou2010-03-092-2/+29
| | | | Signed-off-by: Matthias Dieter Wallnöfer <mwallnoefer@yahoo.de>
* s4:winbind: Fix a misplaced returned infoMatthieu Patou2010-03-091-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>
* s4:winbind Implement logic for getgroups to workMatthieu Patou2010-03-093-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>
* s4:winbind: implement calls for allowing getent groupsMatthieu Patou2010-03-095-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>
* s4:winbind: make use of explicit dcerpc_*_recv functionsStefan Metzmacher2010-03-019-17/+17
| | | | metze
* s4-winbind: Fixed the memory context of tstream_bsd_existing()Andreas Schneider2010-02-261-1/+1
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4: Winbind allow to behave more correctly when we have more than a few usersMatthieu Patou2010-02-261-8/+41
|
* s4:winbind Make the 'no SID found' message even more detailedAndrew Bartlett2010-02-191-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
* s4:param Modify secrets_get_domain_sid to give more useful errorsAndrew Bartlett2010-02-183-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
* s4: Switch to S3-style id mapping data types.Kai Blin2010-02-117-36/+44
|
* s4 idmap: Make the sid_to_xid and xid_to_sid calls static.Kai Blin2010-02-111-4/+8
| | | | Looking at the winbind interface, we should only be using the bulk conversion calls.
* s4-winbind: Migrated winbind connection to tsocket.Andreas Schneider2010-01-203-78/+191
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* s4:winbind - Fix it another time upMatthias Dieter Wallnöfer2009-11-271-2/+14
| | | | | The first fix attempt did break some configurations (incl. "make test"). This now is the right fix with the right comment.
* s4:provision - Fix up the provision of "standalone" and "member" modeMatthias Dieter Wallnöfer2009-11-271-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).
* s4-ldbwrap: added re-use of ldb contexts in ldb_wrap_connect()Andrew Tridgell2009-10-231-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.
* s4: ran minimal_includes.pl on source4/winbindAndrew Tridgell2009-10-2030-84/+0
|
* s4: fix various warnings (not "const" related ones)Matthias Dieter Wallnöfer2009-10-028-9/+9
|
* s4-winbind: support the s3 response flags on krb5 auth tooAndrew Tridgell2009-10-022-8/+65
| | | | | This fixes the samba4.blackbox.wbinfo test, which was failing on a wbinfo -K command
* s4-winbind: support the Samba3 TXT form of the info3 for wbinfo -aAndrew Tridgell2009-10-021-0/+112
| | | | This sends the info3 as hand marshalled data
* s4-resolve: fixed a crash bug on timeoutAndrew Tridgell2009-09-191-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.
* s4-server: kill main daemon if a task fails to initialiseAndrew Tridgell2009-09-181-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.
* s4 winbind: Quiet down the WINBINDD_DOMAIN_INFO handler stub warningKai Blin2009-08-181-1/+1
|
* s4 winbind: Silence compile warning by adding new commands to the listKai Blin2009-08-181-0/+3
|
* s4 winbind: Implement a stubbed out version of WINBINDD_DOMAIN_INFOKai Blin2009-08-182-1/+19
|
* fixed another ambiguous talloc callAndrew Tridgell2009-08-071-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.
* s4:winbind: rename uint => uint32_t as uint isn't portableStefan Metzmacher2009-07-151-1/+1
| | | | metze
* Fix Coverity ID 853 (UNINIT) -- Kai, please check!Volker Lendecke2009-04-281-0/+3
|