Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2009-08-04 | idmap_adex: Fix usage of talloc_stackframe(). | Gerald Carter | 1 | -22/+26 | |
Pass an explicit TALLOC_CTX* to build_id_filter() and build_alias_filter() rather than relying upon the talloc_stackframe() behavior that allows a caller access to stackframe ctx for called functions. | |||||
2009-08-03 | Add some const to winbind_userinfo | Volker Lendecke | 11 | -37/+44 | |
2009-08-03 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-08-02 | Fix some nonempty blank lines | Volker Lendecke | 3 | -56/+56 | |
2009-08-02 | Refactor 9b78af1f: Fix lookupname recursion | Volker Lendecke | 7 | -30/+24 | |
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 | |||||
2009-08-01 | Some mods for recent coding conventions | Volker Lendecke | 2 | -3/+6 | |
2009-08-01 | Place a comment correctly | Volker Lendecke | 1 | -1/+4 | |
2009-08-01 | Fix indentation | Volker Lendecke | 1 | -1/+1 | |
2009-07-31 | Refactoring: mem_ctx is not needed as an argument to centry_sid | Volker Lendecke | 1 | -21/+25 | |
2009-07-31 | Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSS | Volker Lendecke | 1 | -1/+1 | |
It took me a bit to understand what this flag does. I hope this is a bit clearer, at least it is to me. | |||||
2009-07-31 | Fix some nonempty lines | Volker Lendecke | 2 | -9/+9 | |
2009-07-31 | Remove a pointless variable | Volker Lendecke | 1 | -3/+1 | |
2009-07-31 | Provide a mem_ctx for child requests | Volker Lendecke | 1 | -0/+1 | |
2009-07-31 | Slightly restructure the async winbind request calling convention | Volker Lendecke | 4 | -20/+17 | |
The main loop now allocates the response, this has to be done everywhere | |||||
2009-07-29 | s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm. | Michael Adam | 1 | -5/+4 | |
Btw, the previous code must have failed to warn when exceeding the high_hwm, because it overwrote hwm with the return value of the dbwrap_store_uint32(), which does not return the hwm but 0 or -1, depending on success. Michael | |||||
2009-07-29 | s3:winbind: fix typo in debug message in idmap_tdb. | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:winbind: fix typo in debugmessage of idmap_tdb | Michael Adam | 1 | -1/+1 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction in idmap_tdb2_allocate_id_action(). | Michael Adam | 1 | -1/+1 | |
This uses the new dbwrap_trans_change_uint32_atomic() instead of dbwrap_change_uint32_atomic(). Now all db write operations in idmap_tdb2.c are using transactions. Michael | |||||
2009-07-29 | s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t. | Michael Adam | 2 | -8/+7 | |
Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores. | Michael Adam | 1 | -9/+15 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired sid, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores. | Michael Adam | 1 | -9/+12 | |
When a mapping is not found, then the idmap script is called (if defined). When this gives a reply for the desired id, this reply is stored in the db. This patch wraps theses two store operations into a transaction by re-using the idmap_tdb2_set_mapping_action() function previously defined for idmap_tdb2_set_mapping(). Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id() | Michael Adam | 1 | -43/+69 | |
Michael | |||||
2009-07-29 | s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping() | Michael Adam | 1 | -49/+55 | |
Michael | |||||
2009-07-28 | Remove a duplicate prototype | Volker Lendecke | 1 | -1/+0 | |
2009-07-28 | Added prefer_ipv4 bool parameter to resolve_name(). | Jeremy Allison | 1 | -2/+2 | |
W2K3 DC's can have IPv6 addresses but won't serve krb5/ldap or cldap on those addresses. Make sure when we're asking for DC's we prefer IPv4. If you have an IPv6-only network this prioritizing code will be a no-op. And if you have a mixed network then you need to prioritize IPv4 due to W2K3 DC's. Jeremy. | |||||
2009-07-27 | Fix a typo | Volker Lendecke | 1 | -1/+1 | |
2009-07-27 | Fix a valgrind error in winbind | Volker Lendecke | 1 | -1/+2 | |
When looking for idle clients, we dereferenced state->response. As this is dynamically allocated now, the proper test is whether state->response exists at all. This is the case when an async operation is in process at that moment. | |||||
2009-07-27 | Fix some nonempty blank lines | Volker Lendecke | 1 | -105/+103 | |
2009-07-25 | Fix a winbind memleak | Volker Lendecke | 1 | -0/+1 | |
2009-07-18 | s3: compile warning and upn handling | Bo Yang | 2 | -1/+7 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-07-18 | s3: don't do this, upper callbacks will check it | Bo Yang | 1 | -4/+0 | |
Signed-off-by: Bo Yang <boyang@samba.org> | |||||
2009-07-15 | Make gencache more stable | Volker Lendecke | 1 | -0/+2 | |
This provides a compromise between stability and performance: gencache is a persistent database these days that for performance reasons can not use tdb transactions for all writes. This patch splits up gencache into gencache.tdb and gencache_notrans.tdb. gencache_notrans is used with CLEAR_IF_FIRST, writes to it don't use transactions. By default every 5 minutes and when a program exits, all entries from _notrans.tdb are transferred to gencache.tdb in one transaction. | |||||
2009-07-14 | s3-account_policy: add pdb_policy_type enum. | Günther Deschner | 1 | -5/+5 | |
Guenther | |||||
2009-07-13 | libds: merge the UF<->ACB flag mapping functions. | Günther Deschner | 1 | -1/+1 | |
Guenther | |||||
2009-07-09 | Make escape_ldap_string take a talloc context | Volker Lendecke | 1 | -3/+3 | |
2009-06-18 | Fix bug 4699: Remove pidfile on clean shutdown | Volker Lendecke | 1 | -0/+4 | |
2009-06-14 | Remove "winbindd_request" and "winbindd_response" from winbindd_cli_state | Volker Lendecke | 3 | -11/+15 | |
This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes on my 32-bit box. | |||||
2009-06-14 | Make winbindd_cli_state->response a pointer instead of a struct member | Volker Lendecke | 14 | -240/+246 | |
Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker | |||||
2009-06-14 | Remove an unused struct member in winbindd_cli_state | Volker Lendecke | 1 | -1/+0 | |
2009-06-14 | Fix an error message: We get the errno in "err" | Volker Lendecke | 1 | -1/+1 | |
2009-06-14 | winbind: replace process_loop() by tevent_loop_once() | Volker Lendecke | 1 | -68/+5 | |
2009-06-14 | Make rescan_trusted_domains a timed event | Volker Lendecke | 3 | -26/+20 | |
2009-06-14 | Do not store the listening fde | Volker Lendecke | 1 | -15/+11 | |
2009-06-14 | Avoid scanning the client list when a client exits | Volker Lendecke | 2 | -20/+6 | |
2009-06-14 | Do not use "finished" in winbind child | Volker Lendecke | 1 | -10/+8 | |
2009-06-14 | Remove unused init_child_connection() | Volker Lendecke | 2 | -139/+0 | |
2009-06-14 | Convert winbindd_domain_info to wb_domain_request_send | Volker Lendecke | 1 | -59/+75 | |
2009-06-14 | Add winbindd_dual_ping to all children | Volker Lendecke | 5 | -0/+20 | |
2009-06-14 | Convert async_domain_request to wb_domain_request_send | Volker Lendecke | 1 | -20/+22 | |
2009-06-14 | Add async wb_ping | Volker Lendecke | 3 | -0/+62 | |