summaryrefslogtreecommitdiffstats
path: root/source3/winbindd
Commit message (Collapse)AuthorAgeFilesLines
...
* s3:winbind: Convert WINBINDD_SID_TO_UID to the new APIVolker Lendecke2009-08-054-110/+101
|
* s3:winbind: Add async wb_sid2uidVolker Lendecke2009-08-053-0/+189
|
* s3:winbind: Convert WINBINDD_LOOKUPNAME to the new APIVolker Lendecke2009-08-054-61/+117
|
* s3:winbind: Add async wb_lookupnameVolker Lendecke2009-08-053-0/+124
|
* s3:winbind: Make wcache_name_to_sid visible externallyVolker Lendecke2009-08-052-42/+42
|
* s3:winbind: Remove old version of WINBINDD_PINGVolker Lendecke2009-08-052-7/+0
|
* s3:winbind: Convert WINBINDD_LOOKUPSID to the new APIVolker Lendecke2009-08-054-43/+110
|
* s3:winbind: Add async wb_lookupsidVolker Lendecke2009-08-053-0/+163
|
* s3:winbind: Make wcache_sid_to_name externally visibleVolker Lendecke2009-08-052-42/+49
|
* s3:winbind: Add NDR-based parent-child communication to winbindVolker Lendecke2009-08-058-0/+335
|
* idmap_adex: Fix usage of talloc_stackframe().Gerald Carter2009-08-041-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.
* Add some const to winbind_userinfoVolker Lendecke2009-08-0311-37/+44
|
* Fix a typoVolker Lendecke2009-08-031-1/+1
|
* Fix some nonempty blank linesVolker Lendecke2009-08-023-56/+56
|
* Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke2009-08-027-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
* Some mods for recent coding conventionsVolker Lendecke2009-08-012-3/+6
|
* Place a comment correctlyVolker Lendecke2009-08-011-1/+4
|
* Fix indentationVolker Lendecke2009-08-011-1/+1
|
* Refactoring: mem_ctx is not needed as an argument to centry_sidVolker Lendecke2009-07-311-21/+25
|
* Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke2009-07-311-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.
* Fix some nonempty linesVolker Lendecke2009-07-312-9/+9
|
* Remove a pointless variableVolker Lendecke2009-07-311-3/+1
|
* Provide a mem_ctx for child requestsVolker Lendecke2009-07-311-0/+1
|
* Slightly restructure the async winbind request calling conventionVolker Lendecke2009-07-314-20/+17
| | | | The main loop now allocates the response, this has to be done everywhere
* s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.Michael Adam2009-07-291-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
* s3:winbind: fix typo in debug message in idmap_tdb.Michael Adam2009-07-291-1/+1
| | | | Michael
* s3:winbind: fix typo in debugmessage of idmap_tdbMichael Adam2009-07-291-1/+1
| | | | Michael
* s3:winbind: use transaction in idmap_tdb2_allocate_id_action().Michael Adam2009-07-291-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
* s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam2009-07-292-8/+7
| | | | Michael
* s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores.Michael Adam2009-07-291-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
* s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores.Michael Adam2009-07-291-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
* s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id()Michael Adam2009-07-291-43/+69
| | | | Michael
* s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping()Michael Adam2009-07-291-49/+55
| | | | Michael
* Remove a duplicate prototypeVolker Lendecke2009-07-281-1/+0
|
* Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison2009-07-281-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.
* Fix a typoVolker Lendecke2009-07-271-1/+1
|
* Fix a valgrind error in winbindVolker Lendecke2009-07-271-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.
* Fix some nonempty blank linesVolker Lendecke2009-07-271-105/+103
|
* Fix a winbind memleakVolker Lendecke2009-07-251-0/+1
|
* s3: compile warning and upn handlingBo Yang2009-07-182-1/+7
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* s3: don't do this, upper callbacks will check itBo Yang2009-07-181-4/+0
| | | | Signed-off-by: Bo Yang <boyang@samba.org>
* Make gencache more stableVolker Lendecke2009-07-151-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.
* s3-account_policy: add pdb_policy_type enum.Günther Deschner2009-07-141-5/+5
| | | | Guenther
* libds: merge the UF<->ACB flag mapping functions.Günther Deschner2009-07-131-1/+1
| | | | Guenther
* Make escape_ldap_string take a talloc contextVolker Lendecke2009-07-091-3/+3
|
* Fix bug 4699: Remove pidfile on clean shutdownVolker Lendecke2009-06-181-0/+4
|
* Remove "winbindd_request" and "winbindd_response" from winbindd_cli_stateVolker Lendecke2009-06-143-11/+15
| | | | | This shrinks the memory footprint of an idle client by 5592 bytes to 60 bytes on my 32-bit box.
* Make winbindd_cli_state->response a pointer instead of a struct memberVolker Lendecke2009-06-1414-240/+246
| | | | | | Same comment as in baa6084378e530b: This is just a preparatory checkin. Volker
* Remove an unused struct member in winbindd_cli_stateVolker Lendecke2009-06-141-1/+0
|
* Fix an error message: We get the errno in "err"Volker Lendecke2009-06-141-1/+1
|