summaryrefslogtreecommitdiff
path: root/nsswitch/libwbclient
AgeCommit message (Collapse)AuthorFilesLines
2013-07-31wbclient: fix conversion logic in wbcSidToStringBufJeff Layton1-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>
2013-07-31wbclient: fix conversion logic in wbcStringToSidJeff Layton1-17/+20
Signed-off-by: Jeff Layton <jlayton@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
2013-05-17nsswitch: fix some typosChristian Ambach1-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
2012-12-21libwbclient: Fix null check in process_domain_info_string().Andreas Schneider1-5/+0
Found by Coverity. Signed-off-by: Andreas Schneider <asn@samba.org> Reviewed-by: Günther Deschner <gd@samba.org>
2012-12-21nsswitch: Fix wbclient BAIL macros.Andreas Schneider1-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>
2012-09-21libwbclient: bump ABI to 0.11 as wbcAuthenticateUserEx now provides PAC parsingAndrew Bartlett3-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
2012-09-20winbind: Extend wbcAuthenticateUserEx to provide PACChristof Schmitt2-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>
2012-08-15libwbclient: Add test for wbcPingDc2Christof Schmitt1-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>
2012-08-15libwbclient: Add wbcPingDc2Christof Schmitt4-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>
2012-08-10nsswitch: add ABI checking and symbol versions to libwbclientAndrew Bartlett2-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
2012-05-16libwbclient: Fix an invalid free()Volker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vl@samba.org> Autobuild-Date: Wed May 16 00:00:00 CEST 2012 on sn-devel-104
2012-04-23build: Remove support for system libwbclientAndrew Bartlett1-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
2012-04-20selftest: Add extra info on what is failing in wbclient testsAndrew Bartlett1-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
2012-04-20libwbclient: bump version to 0.9, and add this version to .pc fileAndrew Bartlett2-3/+7
2012-04-17waf: Add possibility to build with system libwbclient.Andreas Schneider2-9/+28
2011-10-27nsswitch: Disable uid_wrapper in libwbclient.Andreas Schneider1-0/+1
This way we don't have to link against it in the autoconf build.
2011-10-11lib/param move source4 param code to the top levelAndrew Bartlett1-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
2011-09-23build: avoid util.h as a public header name due to conflict with MacOSAndrew Bartlett1-1/+1
2011-09-23libwbclient: added support for WBC_ID_TYPE_BOTHAndrew Tridgell2-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>
2011-09-08nsswitch: make the wbcSidsToUnixIds() parser more robustAndrew Tridgell1-2/+2
this allows it to handle new types of responses Pair-Programmed-With: Andrew Bartlett <abartlet@samba.org>
2011-08-21wbclient: Add pkg-config file.Jelmer Vernooij2-0/+12
2011-05-05More const fixes for compiler warnings from the waf build.Jeremy Allison1-1/+1
2011-05-05Clean up some const and other compiler warnings.Jeremy Allison1-8/+8
Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu May 5 00:59:40 CEST 2011 on sn-devel-104
2011-04-13libwbclient: Add wbcSidsToUnixIdsVolker Lendecke2-1/+124
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-04-13libwbclient: Add wbcLookupSidsVolker Lendecke2-0/+193
Signed-off-by: Jeremy Allison <jra@samba.org>
2011-03-30s3: Fix Coverity ID 2217: RESOURCE_LEAKVolker Lendecke1-1/+1
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Wed Mar 30 10:45:44 CEST 2011 on sn-devel-104
2011-03-27s3: Fix Coverity ID 2200: NULL_RETURNS (cut&paste error)Volker Lendecke1-1/+1
2011-03-16s3: Fix Coverity ID 2148, FORWARD_NULLVolker Lendecke1-3/+2
Further down we unconditionally reference *info
2011-03-15libwbclient: CID 2199 -- NULL pointer returnVolker Lendecke1-0/+4
Autobuild-User: Volker Lendecke <vlendec@samba.org> Autobuild-Date: Tue Mar 15 12:08:48 CET 2011 on sn-devel-104
2011-03-10libwbclient: Remove a pointless checkVolker Lendecke1-1/+2
2011-03-05libwbclient: Use wbcSidToStringBufVolker Lendecke3-55/+11
2011-03-05libwbclient: Add wbcSidToStringBufVolker Lendecke2-16/+50
2011-02-18nsswitch: make libwbclient a public library again.Günther Deschner1-1/+1
Guenther
2011-02-10libwbclient: doxygen: mark wbcSetGidHwm deprecatedMichael Adam1-0/+3
Autobuild-User: Michael Adam <obnox@samba.org> Autobuild-Date: Thu Feb 10 14:42:24 CET 2011 on sn-devel-104
2011-02-10libwbclient: doxygen: mark wbcSetUidHwm deprecatedMichael Adam1-0/+3
2011-02-10libwbclient: doxygen: mark wbcRemoveGidMapping deprecatedMichael Adam1-0/+3
2011-02-10libwbclient: doxygen: mark wbcRemoveUidMapping deprecatedMichael Adam1-0/+3
2011-02-10libwbclient: doxygen: mark wbcSetGidMapping deprecatedMichael Adam1-0/+3
2011-02-10libwbclient: doxygen: mark wbcSetUidMapping deprecatedMichael Adam1-0/+3
2011-02-10Revert "libwbclient: remove two unused defines"Michael Adam1-0/+4
This reverts commit 58bf6f9ff0b29df14eee2900fb847b96ef28411f. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcSetUidMapping() - not implemented any more"Michael Adam2-0/+16
This reverts commit 25a0dc44f7e180d96dcccb8701e9817ecfd54955. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcSetGidMapping() - not implemented any more"Michael Adam2-0/+16
This reverts commit 52e1be2139d370bf0ce99371bc9ab73db41c6236. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcRemoveUidMapping() - not implemented any more"Michael Adam2-0/+16
This reverts commit 1ed5961df2da73b61666a4565d0633e34f72d04d. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcRemoveGidMapping() - not implemented any more"Michael Adam2-0/+16
This reverts commit 393c866c517636e94b48ca6030a57b712892d568. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcSetUidHwm() - not implemented any more"Michael Adam2-0/+15
This reverts commit 6558323c84cdd929716c59ba66d2ae6b699931d2. Undo the library version bump.
2011-02-10Revert "libwbclient: remove wbcSetGidHwm() - not implemented any more"Michael Adam2-0/+15
This reverts commit 68a9b726be84aaaaa340f19e175da448409430b3. Undo the library version bump.
2011-02-10Revert "libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed ↵Michael Adam1-10/+3
symbols)" This reverts commit 128bed20c4570fa23bea4d0d49deae811a67a624. Undo the library version bump.
2011-02-10Revert "nsswitch: libwbclient has vnum 1 now."Michael Adam1-1/+1
This reverts commit c9cb42a27634a0a711d48762c779c6b2f7c338e2. Undo the library version bump.
2011-01-31nsswitch: libwbclient has vnum 1 now.Günther Deschner1-1/+1
Michael, please check. Guenther
2011-01-27libwbclient: bump version to 0.6 -> 1.0 due to ABI change (removed symbols)Michael Adam1-3/+10