summaryrefslogtreecommitdiff
path: root/source3/winbindd
AgeCommit message (Collapse)AuthorFilesLines
2009-08-05s3:winbind: Convert WINBINDD_GETPWNAM to the new APIVolker Lendecke4-98/+151
2009-08-05s3:winbind: Convert WINBINDD_GETPWSID to the new APIVolker Lendecke4-21/+100
2009-08-05s3:winbind: Add async wb_getpwsidVolker Lendecke2-0/+229
2009-08-05s3:winbind: Make fillup_pw_field publically availableVolker Lendecke2-1/+9
2009-08-05s3:winbind: Add async wb_queryuserVolker Lendecke3-0/+153
2009-08-05s3:winbind: Make wcache_query_user externally visibleVolker Lendecke2-22/+47
2009-08-05s3:winbind: Convert WINBINDD_GID_TO_SID the new APIVolker Lendecke4-59/+95
2009-08-05s3:winbind: Add async wb_gid2sidVolker Lendecke3-0/+136
2009-08-05s3:winbind: Convert WINBINDD_UID_TO_SID the new APIVolker Lendecke4-59/+95
2009-08-05s3:winbind: Add async wb_uid2sidVolker Lendecke3-0/+137
2009-08-05s3:winbind: Convert WINBINDD_SID_TO_GID the new APIVolker Lendecke4-114/+102
2009-08-05s3:winbind: Add async wb_sid2gidVolker Lendecke3-0/+188
2009-08-05s3:winbind: Convert WINBINDD_SID_TO_UID to the new APIVolker Lendecke4-110/+101
2009-08-05s3:winbind: Add async wb_sid2uidVolker Lendecke3-0/+189
2009-08-05s3:winbind: Convert WINBINDD_LOOKUPNAME to the new APIVolker Lendecke4-61/+117
2009-08-05s3:winbind: Add async wb_lookupnameVolker Lendecke3-0/+124
2009-08-05s3:winbind: Make wcache_name_to_sid visible externallyVolker Lendecke2-42/+42
2009-08-05s3:winbind: Remove old version of WINBINDD_PINGVolker Lendecke2-7/+0
2009-08-05s3:winbind: Convert WINBINDD_LOOKUPSID to the new APIVolker Lendecke4-43/+110
2009-08-05s3:winbind: Add async wb_lookupsidVolker Lendecke3-0/+163
2009-08-05s3:winbind: Make wcache_sid_to_name externally visibleVolker Lendecke2-42/+49
2009-08-05s3:winbind: Add NDR-based parent-child communication to winbindVolker Lendecke8-0/+335
2009-08-04idmap_adex: Fix usage of talloc_stackframe().Gerald Carter1-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-03Add some const to winbind_userinfoVolker Lendecke11-37/+44
2009-08-03Fix a typoVolker Lendecke1-1/+1
2009-08-02Fix some nonempty blank linesVolker Lendecke3-56/+56
2009-08-02Refactor 9b78af1f: Fix lookupname recursionVolker Lendecke7-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-01Some mods for recent coding conventionsVolker Lendecke2-3/+6
2009-08-01Place a comment correctlyVolker Lendecke1-1/+4
2009-08-01Fix indentationVolker Lendecke1-1/+1
2009-07-31Refactoring: mem_ctx is not needed as an argument to centry_sidVolker Lendecke1-21/+25
2009-07-31Rename LOOKUP_NAME_EXPLICIT to LOOKUP_NAME_NO_NSSVolker Lendecke1-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-31Fix some nonempty linesVolker Lendecke2-9/+9
2009-07-31Remove a pointless variableVolker Lendecke1-3/+1
2009-07-31Provide a mem_ctx for child requestsVolker Lendecke1-0/+1
2009-07-31Slightly restructure the async winbind request calling conventionVolker Lendecke4-20/+17
The main loop now allocates the response, this has to be done everywhere
2009-07-29s3:winbind: use transaction store in idmap_tdb_set_hwm() to store new hwm.Michael Adam1-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-29s3:winbind: fix typo in debug message in idmap_tdb.Michael Adam1-1/+1
Michael
2009-07-29s3:winbind: fix typo in debugmessage of idmap_tdbMichael Adam1-1/+1
Michael
2009-07-29s3:winbind: use transaction in idmap_tdb2_allocate_id_action().Michael Adam1-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-29s3:dbwrap: change dbwrap_change_uint32_atomic() to return NTSTATUS not uint32_t.Michael Adam2-8/+7
Michael
2009-07-29s3:winbind: in idmap_tdb2_sid_to_id(), use transaction wrapped stores.Michael Adam1-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-29s3:winbind: in idmap_tdb2_id_to_sid(), use transaction wrapped stores.Michael Adam1-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-29s3:winbind: use transaction wrapper in idmap_tdb2_allocate_id()Michael Adam1-43/+69
Michael
2009-07-29s3:winbind: use transaction wrapper in idmap_tdb2_set_mapping()Michael Adam1-49/+55
Michael
2009-07-28Remove a duplicate prototypeVolker Lendecke1-1/+0
2009-07-28Added prefer_ipv4 bool parameter to resolve_name().Jeremy Allison1-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-27Fix a typoVolker Lendecke1-1/+1
2009-07-27Fix a valgrind error in winbindVolker Lendecke1-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-27Fix some nonempty blank linesVolker Lendecke1-105/+103