Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-01-13 | From boyang - ensure we never "return" from a forked child, always _exit(). | Jeremy Allison | 2 | -5/+5 | |
Jeremy. | |||||
2009-01-10 | Don't set child->requests to NULL in parent after fork | Bo Yang | 1 | -1/+0 | |
2009-01-07 | refresh sequence number as soon as possible when domain->sequence_number == ↵ | boyang | 1 | -3/+8 | |
-1 or domain->last_status is not ok. | |||||
2009-01-07 | Remove unused struct CLI_POLICY_HND | Volker Lendecke | 1 | -7/+0 | |
2009-01-06 | Make winbindd_cm.c use winbindd_reinit_after_fork(). | Jeremy Allison | 4 | -31/+37 | |
Jeremy. | |||||
2009-01-06 | Add winbindd_reinit_after_fork(), cleaning out all possible events | Jeremy Allison | 1 | -52/+76 | |
in a forked child. Jeremy. | |||||
2009-01-06 | Factor out lots of common code into a function. | Jeremy Allison | 1 | -37/+27 | |
Jeremy. | |||||
2009-01-06 | s3-samr: avoid all init_samr_Domain* functions. | Günther Deschner | 1 | -18/+12 | |
Guenther | |||||
2009-01-05 | set entry->refresh_time to make ccache_regain_all_now() work correctly. | Bo Yang | 1 | -2/+11 | |
2009-01-05 | s3:winbindd: also handle fd events from the winbind_event_context() | Stefan Metzmacher | 1 | -0/+9 | |
metze | |||||
2009-01-05 | s3:events: change event_add_timed() prototype to match samba4 | Stefan Metzmacher | 3 | -27/+8 | |
metze | |||||
2009-01-05 | s3:winbindd: regain tickets for all ccache entries, when we go online | Stefan Metzmacher | 3 | -7/+52 | |
set_event_dispatch_time() is stupid by design and only handles the first event with a given name. metze | |||||
2009-01-05 | s3:winbindd: cancel all ccache entry events and not just one | Stefan Metzmacher | 3 | -6/+19 | |
cancel_named_event() is stupid by design and also only cancels one single event. metze | |||||
2009-01-05 | s3:winbindd: recreate the per domain check_online_event without relying on ↵ | Stefan Metzmacher | 1 | -19/+20 | |
global state set_event_dispatch_time() is stupid by design and just picks the first event with the given name. metze | |||||
2009-01-05 | s3:winbindd: rename fd_event => winbindd_fd_event | Stefan Metzmacher | 3 | -26/+22 | |
It's really confusing to have two versions of 'fd_event' metze | |||||
2009-01-05 | s3:winbindd: move WINBINDD_CCACHE_ENTRY and WINBINDD_MEMORY_CREDS to winbindd.h | Stefan Metzmacher | 1 | -1/+28 | |
metze | |||||
2009-01-05 | Fix broken krb5 refresh chain | Bo Yang | 3 | -39/+236 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-05 | clean event context after child is forked. | Bo Yang | 3 | -18/+28 | |
Signed-off-by: Stefan Metzmacher <metze@samba.org> | |||||
2009-01-04 | Remove wb_trans_send/recv | Volker Lendecke | 1 | -9/+0 | |
2009-01-04 | Move winbindd/winbindd_reqtrans.c to lib/wb_reqtrans.c | Volker Lendecke | 1 | -685/+0 | |
2009-01-03 | struct async_req doesn't really need to carry an event_context | Volker Lendecke | 1 | -5/+5 | |
2009-01-02 | Alternative fix for 45db33e73 and 0d443ae7931 | Volker Lendecke | 1 | -1/+2 | |
Simo is right, we need to ask passdb first. At least this fixes a nasty to find NT_STATUS_ACCESS_DENIED problem in the build farm for the test run I just did on host "opi". Michael, can you re-check if this also fixes the error you found, leading to the two fixes? Thanks, Volker | |||||
2009-01-02 | Revert "s:Fix uid_to_sid mapping when the idmap cache is empty." | Volker Lendecke | 1 | -7/+8 | |
This reverts commit 9a9b64dbdfce4414ada22d4f882c8c757b5813e1. | |||||
2009-01-02 | Revert "s3:idmap: Remove passd check from idmap_backends_unixid_to_sid()." | Volker Lendecke | 1 | -0/+9 | |
This reverts commit 45db33e73262d8e195a46fb96405dfb3dc43d6bc. | |||||
2008-12-31 | Fix more asprintf and "ignoring return code" warnings from gcc 4.3. | Jeremy Allison | 2 | -2/+7 | |
Jeremy. | |||||
2008-12-31 | s3:winbindd: we don't need to call messaging_reinit() twice | Stefan Metzmacher | 1 | -7/+0 | |
reinit_after_fork() already calls messaging_reinit() metze | |||||
2008-12-25 | s3:idmap: Remove passd check from idmap_backends_unixid_to_sid(). | Michael Adam | 1 | -9/+0 | |
As noted by Metzy, it makes no sense here to check id->sid. What is worse, this might even be passed in uninitialized. This still fixes the bug for me (of course), but we might need to check, if another special handling of passdb is needed (possibly changing from constant return code NT_STATUS_OK...) Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-25 | s:Fix uid_to_sid mapping when the idmap cache is empty. | Michael Adam | 1 | -8/+7 | |
This failed for backends other than passed, since idmap_backends_unixid_to_sid() always asked passdb first, which returned Success no matter whether a mapping was found or not. One effect wast that getpwuid failed after "net cache flush". Only after filling the cache with a getpwnam call it succeeded. This fix makes the behaviour of idmap_backends_unixid_to_sid() exactly the same as that of idmap_backends_sid_to_unixid() Michael Signed-off-by: Michael Adam <obnox@samba.org> | |||||
2008-12-22 | Fix "allow trusted domain" so it disables trusted domains. | Gerald (Jerry) Carter | 1 | -2/+11 | |
2008-12-19 | Fix a "ignoring function call result" warning | Volker Lendecke | 1 | -1/+6 | |
2008-12-19 | Make cli_negprot return NTSTATUS instead of bool | Volker Lendecke | 1 | -3/+4 | |
2008-12-12 | winbindd: vars for signals must be volatile sig_atomic_t | SATOH Fumiyasu | 1 | -12/+12 | |
2008-12-08 | Add wb_trans_send/revc | Volker Lendecke | 2 | -33/+166 | |
2008-12-08 | Add infrastructure to transfer winbindd_request/response asynchronously | Volker Lendecke | 2 | -0/+582 | |
2008-12-07 | Fix nonempty blank lines | Volker Lendecke | 2 | -39/+39 | |
2008-12-04 | s3:winbindd: fix horrible mis-indentation of toplvl braces in ↵ | Michael Adam | 1 | -2/+2 | |
getgrsid_sid2gid_recv to make code more readble Michael | |||||
2008-12-04 | s3:winbindd: don't open a new dc connection in winbindd_getpwnam (main winbindd) | Michael Adam | 1 | -1/+1 | |
This is just to find the corresponding domain struct. Actual connection is handled by the domain child. Michael | |||||
2008-12-04 | s3:winbindd: don't open a new dc connection in winbindd_getgrnam (main winbindd) | Michael Adam | 1 | -1/+1 | |
This is just to find the corresponding domain struct. Actual connection is handled by the domain child. Michael | |||||
2008-12-03 | s3: Change sockaddr util function names for consistency | Tim Prouty | 1 | -1/+1 | |
Also eliminates name conflicts with OneFS system libraries | |||||
2008-12-01 | s3: Fix 'ctx' might be used unitialized warnings | Tim Prouty | 1 | -2/+2 | |
2008-12-01 | s3:winbindd/nss_info: remove unused variable from nss_init() | Michael Adam | 1 | -1/+0 | |
Michael | |||||
2008-12-01 | s3:winbindd/nss_info: make nss_domain_list_add_domain() static | Michael Adam | 1 | -2/+2 | |
Michael | |||||
2008-12-01 | s3:winbindd/nss_info: fix default backend handling for ad backends. | Michael Adam | 1 | -23/+61 | |
This fixes "winbind nss info = rfc2307" (or sfu or sfu20). Originally, only explicitly configured domains (like "rfc2307:domain") worked with the ad module, since the domain name was not passed backe to the module. This is fixed by recording the first backend listed without domain in the "winbind nss info" parameter as the default backend, and creating new nss_domain entries (using this default backend) on the fly as requests for domains which are not explicitly configured are encountered. Michael | |||||
2008-12-01 | s3:winbindd/nss_info: whitespace cleanup. | Michael Adam | 1 | -35/+33 | |
Remove trailing spaces and fix tab / space mixup. Michael | |||||
2008-12-01 | s3:winbindd_cache: add debugging to get_nss_info_cached() | Michael Adam | 1 | -0/+7 | |
Michael | |||||
2008-12-01 | s3:winbindd/nss_info: add entry debug message to nss_get_info() | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2008-12-01 | s3:winbindd/nss_info: add debugging to nss_init() | Michael Adam | 1 | -0/+7 | |
Michael | |||||
2008-12-01 | s3:winbindd/idmap_ad: add entry debug message to nss_ad_get_info() | Michael Adam | 1 | -0/+3 | |
Michael | |||||
2008-12-01 | s3:winbindd/idmap_ad: add support for trusted domains to idmap_ad (bug #3661) | Michael Adam | 1 | -126/+221 | |
This initial fix does at least work for explicitly configured domains. The patch has a few disadvantages: 1. It does work only for explicitly configured domains, not with the default backend (idmap backend = ad), since it relies on the domain name being passed in via the idmap_domain. One workaround for this would be to create clones of the default idmap_domain for domains not explicitly configured. 2. It calls find_domain_from_name_noinit() from idmap_ad_cached_connection. The problem here is that only the NetBIOS domain name (workgroup name) is passed in via the idmap_domain struct, and the module has to establish a connection to the domain based on that information. find_domain_from_name_noinit() has the disadvantage that it uses the state of the domain list at fork time (unless used from the main winbindd). But this should be ok as long as the primary domain was reachable at start time. For nss_info, the situation is similar - This will only work for domains explicitly configured in smb.conf as follows: "winbind nss info = rfc2307:dom1 sfu:dom2 rfc2307:dom3 template:dom4" Setting the default nss info to one of the ad backends (rfc2307, sfu, sfu20) will fail since the domain name is not passed in with the nss_domain_entry. Michael | |||||
2008-12-01 | s3:winbindd/idmap_ad: refactor core of nss_{sfu|sfu20|rfc2307}_init to ↵ | Michael Adam | 1 | -34/+48 | |
common function. Michael |