summaryrefslogtreecommitdiffstats
path: root/nsswitch/libwbclient
Commit message (Collapse)AuthorAgeFilesLines
* libwbclient-tests: No longer hardcoded password and test domainAndrew Bartlett2014-06-041-20/+23
| | | | | | | | | | | The password is made more complex, and the test domain is made to use the command line options. Andrew Bartlett Change-Id: Ia1ec24a9fc393e7f7b210f845bcf32dbc933d48f Signed-off-by: Andrew Bartlett <abartlet@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
* Remove uid_wrapper related code.Andreas Schneider2014-04-171-1/+0
| | | | | Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Stefan Metzmacher <metze@samba.org>
* CVE-2013-4408:s3:Ensure LookupSids replies arrays are range checked.Jeremy Allison2013-12-091-0/+7
| | | | | | | Bug: https://bugzilla.samba.org/show_bug.cgi?id=10185 Signed-off-by: Stefan Metzmacher <metze@samba.org> Signed-off-by: Jeremy Allison <jra@samba.org>
* wbclient: fix conversion logic in wbcSidToStringBufJeff Layton2013-07-311-14/+17
| | | | | | | | Might as well fix it to handle large authority values properly. Also correct some of the formatting. Signed-off-by: Jeff Layton <jlayton@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* wbclient: fix conversion logic in wbcStringToSidJeff Layton2013-07-311-17/+20
| | | | | Signed-off-by: Jeff Layton <jlayton@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
* nsswitch: fix some typosChristian Ambach2013-05-171-2/+2
| | | | | | | | | Signed-off-by: Christian Ambach <ambi@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org> Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri May 17 01:09:33 CEST 2013 on sn-devel-104
* libwbclient: Fix null check in process_domain_info_string().Andreas Schneider2012-12-211-5/+0
| | | | | | | Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* nsswitch: Fix wbclient BAIL macros.Andreas Schneider2012-12-211-2/+2
| | | | | | | | | | | In the code you normally use: BAIL_ON_WBC_ERROR; but the last ; is statement never reached, so dead code. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
* libwbclient: bump ABI to 0.11 as wbcAuthenticateUserEx now provides PAC parsingAndrew Bartlett2012-09-213-2/+79
| | | | | Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Sep 21 06:37:15 CEST 2012 on sn-devel-104
* winbind: Extend wbcAuthenticateUserEx to provide PACChristof Schmitt2012-09-202-21/+37
| | | | | | | | | | | | | | With this new interface, external applications that have authenticated to an ADS can pass the PAC from the Kerberos ticket to wbcAuthenticateUserEx. winbindd decodes and extracts the info3 information for the external application. If winbindd can verify the PAC signature, the info3 from the PACis also added to the netsamlogon_cache. The info3 data can be used by the external application to get the uid and primary gid. The data in netsamlogon_cache allows to retrieve the complete group list through the NSS function getgrouplist. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libwbclient: Add test for wbcPingDc2Christof Schmitt2012-08-151-0/+14
| | | | | | | The internal domain used in 'make test' does not report a DC name, so just add tests similar to the old wbcPingDc call. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* libwbclient: Add wbcPingDc2Christof Schmitt2012-08-154-2/+115
| | | | | | | Add wbcPingDc2 that optionally returns the DC that was attempted to ping. wbcPing is implemented as a wrapper around wbcPingDc2. Signed-off-by: Andrew Bartlett <abartlet@samba.org>
* nsswitch: add ABI checking and symbol versions to libwbclientAndrew Bartlett2012-08-102-0/+78
| | | | | | | | | This will ensure that we do not unintentionally break the ABI. Andrew Bartlett Autobuild-User(master): Andrew Bartlett <abartlet@samba.org> Autobuild-Date(master): Fri Aug 10 04:08:54 CEST 2012 on sn-devel-104
* libwbclient: Fix an invalid free()Volker Lendecke2012-05-161-1/+1
| | | | | Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
* build: Remove support for system libwbclientAndrew Bartlett2012-04-231-8/+19
| | | | | | | | | This effectively reverts commit 2c49782dc1069eebc9f5a5cd2a055b5912665595 This also adds explaination about what would need to be done to support a system libwbclient Andrew Bartlett
* selftest: Add extra info on what is failing in wbclient testsAndrew Bartlett2012-04-201-65/+71
| | | | | | | | | This may help me chase down the failure in my idmap rework. Andrew Bartlett Autobuild-User: Andrew Bartlett <abartlet@samba.org> Autobuild-Date: Fri Apr 20 09:51:35 CEST 2012 on sn-devel-104
* libwbclient: bump version to 0.9, and add this version to .pc fileAndrew Bartlett2012-04-202-3/+7
|
* waf: Add possibility to build with system libwbclient.Andreas Schneider2012-04-172-9/+28
|
* nsswitch: Disable uid_wrapper in libwbclient.Andreas Schneider2011-10-271-0/+1
| | | | This way we don't have to link against it in the autoconf build.
* lib/param move source4 param code to the top levelAndrew Bartlett2011-10-111-1/+1
| | | | | | | | | | | | This is done so that the lpcfg_ functions are available across the whole build, either with the struct loadparm_context loaded from an smb.conf directly or as a wrapper around the source3 param code. This is not the final, merged loadparm, but simply one step to make it easier to solve other problems while we make our slow progress on this difficult problem. Andrew Bartlett
* build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett2011-09-231-1/+1
|
* libwbclient: added support for WBC_ID_TYPE_BOTHAndrew Tridgell2011-09-232-1/+6
| | | | | | | | | | the Samba4 winbindd allows for a single SID to map to both a user and group id. This is used to support files with the owner_sid set to a group Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org> Signed-off-by: Michael Adam <obnox@samba.org>
* nsswitch: make the wbcSidsToUnixIds() parser more robustAndrew Tridgell2011-09-081-2/+2
| | | | | | this allows it to handle new types of responses Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
* wbclient: Add pkg-config file.Jelmer Vernooij2011-08-212-0/+12
|
* More const fixes for compiler warnings from the waf build.Jeremy Allison2011-05-051-1/+1
|
* Clean up some const and other compiler warnings.Jeremy Allison2011-05-051-8/+8
| | | | | Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
* libwbclient: Add wbcSidsToUnixIdsVolker Lendecke2011-04-132-1/+124
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* libwbclient: Add wbcLookupSidsVolker Lendecke2011-04-132-0/+193
| | | | Signed-off-by: Jeremy Allison <jra@samba.org>
* s3: Fix Coverity ID 2217: RESOURCE_LEAKVolker Lendecke2011-03-301-1/+1
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 10:45:44 CEST 2011 on sn-devel-104
* s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)Volker Lendecke2011-03-271-1/+1
|
* s3: Fix Coverity ID 2148, FORWARD_NULLVolker Lendecke2011-03-161-3/+2
| | | | Further down we unconditionally reference *info
* libwbclient: CID 2199 -- NULL pointer returnVolker Lendecke2011-03-151-0/+4
| | | | | Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104
* libwbclient: Remove a pointless checkVolker Lendecke2011-03-101-1/+2
|
* libwbclient: Use wbcSidToStringBufVolker Lendecke2011-03-053-55/+11
|
* libwbclient: Add wbcSidToStringBufVolker Lendecke2011-03-052-16/+50
|
* nsswitch: make libwbclient a public library again.Günther Deschner2011-02-181-1/+1
| | | | Guenther
* libwbclient: doxygen: mark wbcSetGidHwm deprecatedMichael Adam2011-02-101-0/+3
| | | | | Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104
* libwbclient: doxygen: mark wbcSetUidHwm deprecatedMichael Adam2011-02-101-0/+3
|
* libwbclient: doxygen: mark wbcRemoveGidMapping deprecatedMichael Adam2011-02-101-0/+3
|
* libwbclient: doxygen: mark wbcRemoveUidMapping deprecatedMichael Adam2011-02-101-0/+3
|
* libwbclient: doxygen: mark wbcSetGidMapping deprecatedMichael Adam2011-02-101-0/+3
|
* libwbclient: doxygen: mark wbcSetUidMapping deprecatedMichael Adam2011-02-101-0/+3
|
* Revert "libwbclient: remove two unused defines"Michael Adam2011-02-101-0/+4
| | | | | | This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f. Undo the library version bump.
* Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"Michael Adam2011-02-102-0/+16
| | | | | | This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955. Undo the library version bump.
* Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"Michael Adam2011-02-102-0/+16
| | | | | | This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236. Undo the library version bump.
* Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"Michael Adam2011-02-102-0/+16
| | | | | | This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d. Undo the library version bump.
* Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"Michael Adam2011-02-102-0/+16
| | | | | | This reverts commit 393c866c517636e94b48ca6030a57b712892d568. Undo the library version bump.
* Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"Michael Adam2011-02-102-0/+15
| | | | | | This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2. Undo the library version bump.
* Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"Michael Adam2011-02-102-0/+15
| | | | | | This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3. Undo the library version bump.
* Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed ↵Michael Adam2011-02-101-10/+3
| | | | | | | | symbols)" This reverts commit 128bed20c4570fa23bea4d0d49deae811a67a624. Undo the library version bump.