summaryrefslogtreecommitdiffstats
path: root/source3/nsswitch/libwbclient
Commit message (Collapse)AuthorAgeFilesLines
* nsswitch: Move source3 files to top level dir.Kai Blin2008-12-1612-6287/+0
| | | | Don't move source4 files yet to not confuse git's rename tracking too much.
* Move the doxygen comments of wbclient to the header file.Andreas Schneider2008-12-108-455/+524
| | | | | | | | So that a developer who wants to use the wbclient api can read the documentation in the header file. Signed-off-by: Andreas Schneider <anschneider@suse.de> Signed-off-by: Michael Adam <obnox@samba.org>
* libwbclient: avoid usage talloc_init() in library codeStefan Metzmacher2008-12-031-8/+4
| | | | | | | | | talloc_init() is a compat function for the old samba3 non-hierachical talloc implementation. It enables the talloc null tracking which should never be done by library code. metze
* libwbclient: Implement wbcGetgrent and wbcGetgrlistKai Blin2008-11-251-2/+121
|
* libwbclient: Implement wbcGetpwentKai Blin2008-11-251-2/+77
|
* libwbclient: Add placeholder function for WINBINDD_CCACHE_NTLMAUTHKai Blin2008-11-252-0/+43
|
* libwbclient: Fix typo in wbcGetgrent docstring.Kai Blin2008-11-251-1/+1
|
* libwbclient: Add placeholder function for WINBINDD_GETGRLSTKai Blin2008-11-252-0/+16
|
* libwbclient: Add placeholder functions for wbcQuery[GSU]idTo[GSU]idKai Blin2008-11-252-4/+76
|
* Clean-up various trailing space and >80 column lines.Steven Danneman2008-11-182-3/+3
|
* Added ability to remove id mappings in wbinfo and libwbclient.Steven Danneman2008-11-182-1/+94
| | | | | | | | | | | | | | | | | The idmap_tdb backend already provides an interface to remove existing id mappings. This commit plumbs that ability up through, winbindd, libwbclient, and wbinfo. Added new winbindd command: WINBINDD_REMOVE_MAPPING Added new libwbclient interfaces: wbcRemoveUidMapping() and wbcRemoveGidMapping() Added new wbinfo options: --remove-uid-mapping --remove-gid-mapping Increased libwbclient version to 0.2 Increased winbind interface version to 20
* wbcGetDisplayNameVolker Lendecke2008-10-292-0/+49
| | | | Signed-off-by: Stefan Metzmacher <metze@samba.org>
* Fix two trivial typosVolker Lendecke2008-10-211-2/+2
|
* libwbclient: add wbcLogonUser().Günther Deschner2008-10-102-0/+228
| | | | Guenther
* libwbclient: add wbcLogoffUserEx().Günther Deschner2008-10-102-0/+108
| | | | Guenther
* libwbclient: add wbcAddNamedBlob.Günther Deschner2008-10-102-1/+54
| | | | Guenther
* libwbclient: add wbcBlob and wbcNamedBlob.Günther Deschner2008-10-101-0/+19
| | | | Guenther
* libwbclient: fix wbcAuthenticateUserEx() to not ignore provided flags field.Günther Deschner2008-10-101-0/+5
| | | | Guenther
* wbclient: add wbcLookupDomainControllerEx call.Günther Deschner2008-10-092-1/+159
| | | | Guenther
* wbclient: add wbcGuidToString and wbcStringToGuid helper functions.Günther Deschner2008-10-092-0/+128
| | | | Guenther
* wbclient: add wbcGuid structure.Günther Deschner2008-10-091-0/+13
| | | | Guenther
* wbclient: add my copyright.Günther Deschner2008-10-091-0/+1
| | | | Guenther
* libwbclient: fix doxygen warnings.Günther Deschner2008-09-274-6/+6
| | | | Guenther
* Fix Coverity ID 589, dead codeVolker Lendecke2008-08-311-0/+9
| | | | (This used to be commit 67c0835226e189deba5856710a1dea19ac5f30fd)
* libwbclient: add wbcChangeUserPassword and wbcChangeUserPasswordEx.Günther Deschner2008-08-293-1/+350
| | | | | Guenther (This used to be commit 62e7b4aa32051bce34c890cb41270e5fe31111ca)
* libwbclient: let wbcStringToSid handle the global NULL sid.Günther Deschner2008-07-301-1/+1
| | | | | Guenther (This used to be commit 09fed085bea9dae5bb8aacd986deed3d458e3574)
* Fix various build warningsZach Loafman2008-07-221-1/+1
| | | | | | This fixes various build warnings on our platform. I'm sure I haven't caught them all, but it's a start. (This used to be commit 6b73f259cb67d9dda9127907d706f9244a871fa3)
* allow SID with 0 in subauthority to be converted properlyHerb Lewis2008-07-171-1/+2
| | | | | from string representation. (This used to be commit 23f338d1da96fd4ea3283bc96ca7d496b23bf854)
* Fix an "invalid operation involving NULL pointer" found by the IBM checkerVolker Lendecke2008-06-271-1/+5
| | | | | | | Jerry, please check! Volker (This used to be commit eb6096a2d488d64cfa86e01be2a97e14e5773fe3)
* Remove a strlen check that will never kick inVolker Lendecke2008-06-271-2/+1
| | | | | | | | | | strlen(str)<2 will be caught by the explicit tests for str[0] and str[1] in the lines above this. Jerry, please check! Volker (This used to be commit 44a9e5b713c25ff2cc7215635a516f25359b045b)
* Fix a segfault in wbcLookupRidsVolker Lendecke2008-06-171-16/+21
| | | | | | | | | | | | | The done: part could access uninitialized memory if intermediate BAIL_ON_WBC_ERROR fire. Jerry, please check! Thanks, Volker (cherry picked from commit 31f4c33dcc744e81be54389756378e25aa2bb75e) (This used to be commit 5b12d8aa510689114e5413be5afe6aeb6ec2d9db)
* Fix a segfault in wbcLookupSidVolker Lendecke2008-06-171-19/+29
| | | | | | | | | | | | | | | If the BAIL_ON_WBC_ERROR directly after wbcRequestResponse kicks in, *domain and *name have not been initialized yet. So the cleanup routine in the done: part of the routine (which did not check for domain!=NULL etc) would access uninitialized memory. Jerry, please check! Thanks, Volker (cherry picked from commit 3d7e0cc40b1992f4555807acec4f00450e30e2de) (This used to be commit ac5ba26bb0488c3fb95072d84898c02b72c5b819)
* Replace a very unusual variable declaration by a more conventional oneVolker Lendecke2008-06-171-1/+1
| | | | (This used to be commit 9c1f334af3111e93bb8dceb661e1bc5519aa94c6)
* Fix a memleak in wbcAuthenticateUserEx()Volker Lendecke2008-06-171-0/+2
| | | | | (cherry picked from commit 72b381689af9cae83ab08532cffd0188f2da4807) (This used to be commit 20110ee5f181168dc1cbc08b7c22820d68204960)
* Fix an uninitialized variable found by the IBM checkerVolker Lendecke2008-06-151-5/+5
| | | | | | | | | | | BAIL_ON_PTR_ERROR jumps to done: which will access extra_data before it's initialized. Stefan, please check! Volker (cherry picked from commit b59636f78d351ed6d52c4a9fdccdb7850388526c) (This used to be commit 5663587e5e4703f9e3ff6d78d1f3248053ccd4c0)
* Fix group parsing in libwbclient's copy_group_entry()Volker Lendecke2008-06-151-4/+6
| | | | | | | | | This (also) fixes a flaw pointed out by the IBM checker. When verifying that I found out that the parsing was not working as I would have expected it to. Jerry, please check! (cherry picked from commit c2c7790155ab02e1e351caf2bed192ce72913663) (This used to be commit 26c05a52b73763dad5ad0525dab6e20014c3f8d6)
* libwbclient: fix typo.Günther Deschner2008-05-271-1/+1
| | | | | Guenther (This used to be commit 83c4a278dfefcef14a9640d319ddf5c7392cd16e)
* libwbclient: add wbcLibraryDetails()Stefan Metzmacher2008-05-232-0/+38
| | | | | | metze (cherry picked from commit b68916328e935e61840cb03560ebeeee15bb2c6f) (This used to be commit 196d9017627220786d8b726dc0d02e16e96c4c05)
* libwbclient: rename MAXSUBAUTHS => WBC_MAXSUBAUTHSStefan Metzmacher2008-05-233-5/+5
| | | | | | metze (cherry picked from commit 04d465c622c614bec29f24793ae897a73bcb51f4) (This used to be commit e7dcbf56aef836e1b4be70b21064f65338221b5a)
* Fix build warning.Günther Deschner2008-05-151-1/+0
| | | | | Guenther (This used to be commit e90a4ce3c24ab2a33e34da5a9052a3b3ec4db962)
* libwbclient: Add wbcLogoffUser() and wbcLookupDomainController().coffeedude2008-05-134-3/+159
| | | | | | Add new APIs calls for WINBINDD_PAM_LOGOFF and WINBINDD_DSGETDCNAME ops. (This used to be commit cb5e8f60ac3313aec726c01687a040e6e0e42c10)
* Mark a domain offline in the wbcDomainInfo structure using the domain_flags.Gerald W. Carter2008-04-232-1/+15
| | | | | | Use the existing domain_flags fiueld in wbcDomainInfo to set a bit if the domain is marked as offline by Winbind. (This used to be commit 59cfba2c3d6d4594f08cbe3b7295ab36a7cfb044)
* Rename WBC_DOMAIN_XXX domain flags to WBC_DOMINFO_DOMAIN_XXXGerald W. Carter2008-04-232-7/+7
| | | | | Better consistency with the othre classes of WBC_DOMINDO_XXX_YYYY flags. (This used to be commit 1cb2305fc96be0c190621f7c86c0476e4ea1fff7)
* libwbclient: change wbcResolveWinsByIP() to take char ** instead of const ↵Michael Adam2008-04-202-3/+3
| | | | | | | | | | char ** Fix a compile warning. This seems the right thing since the data is created by talloc_strdup... Michael (This used to be commit f81da8e8ed8e2d75c77bd8b5e7fdd7c53bab7e49)
* libwbclient: fix wbcResolveWinsByName() to take char * instead of const char **Michael Adam2008-04-202-3/+3
| | | | | | | | This fixes a compile warning and seems the correct thing to me as the returned data is talloc_strdup't, so not const anyways. Michael (This used to be commit 13cfa7f48a541a934a129fab0544cbf66029c4c7)
* Remove unused variable from wbcCheckTrustCredentials().Gerald W. Carter2008-04-171-1/+0
| | | | (This used to be commit fea52dc46048ff869299267f7596b93a8c5c8b3d)
* Add wbcListTrusts() API call to libwbclient.soGerald W. Carter2008-04-172-6/+238
| | | | (This used to be commit 5c454e77cf664fee65fcb03e5811764c92e73696)
* Follow error code name convention in libwbclient.Gerald W. Carter2008-04-174-14/+14
| | | | | s/WBC_INVALID_RESPONSE/WBC_ERR_INVALID_RESPONSE/ (This used to be commit d91ce012b0afb30cd22b373412d17de27c55ca86)
* libwbclient: add wbcCheckTrustCredentials()Stefan Metzmacher2008-04-172-0/+58
| | | | | | | | | This only accepts NULL as domain for now, because winbindd doesn't support checking trust passwords as a domain controller. metze (This used to be commit c084ccd70f42ce29ce24565969a9f440dde254e1)
* libwbclient: add wbcResolveWinsByName() and wbcResolveWinsByIP()Stefan Metzmacher2008-04-172-0/+87
| | | | | metze (This used to be commit 57ba71140fbf6b4a5a917fa3248fa76536be883b)