Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

libwbclient-sssd: update interface to version 0.14 #318

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/conf_macros.m4
Expand Up @@ -727,10 +727,10 @@ AC_DEFUN([WITH_LIBWBCLIENT],
if test x"$with_libwbclient" = xyes; then
AC_DEFINE(BUILD_LIBWBCLIENT, 1, [whether to build SSSD implementation of libwbclient])

libwbclient_version="0.13"
libwbclient_version="0.14"
AC_SUBST(libwbclient_version)

libwbclient_version_info="13:0:13"
libwbclient_version_info="14:0:14"
AC_SUBST(libwbclient_version_info)
fi
AM_CONDITIONAL([BUILD_LIBWBCLIENT], [test x"$with_libwbclient" = xyes])
Expand Down
3 changes: 3 additions & 0 deletions src/sss_client/libwbclient/wbclient.exports
Expand Up @@ -150,3 +150,6 @@ WBCLIENT_0.13 {
wbcUnixIdsToSids;
wbcCtxUnixIdsToSids;
} WBCLIENT_0.12;

WBCLIENT_0.14 {
} WBCLIENT_0.13;
9 changes: 7 additions & 2 deletions src/sss_client/libwbclient/wbclient_sssd.h
Expand Up @@ -74,9 +74,11 @@ const char *wbcErrorString(wbcErr error);
* 0.11: Extended wbcAuthenticateUserEx to provide PAC parsing
* 0.12: Added wbcCtxCreate and friends
* 0.13: Added wbcCtxUnixIdsToSids and wbcUnixIdsToSids
* 0.14: Added "authoritative" to wbcAuthErrorInfo
* Added WBC_SID_NAME_LABEL
**/
#define WBCLIENT_MAJOR_VERSION 0
#define WBCLIENT_MINOR_VERSION 13
#define WBCLIENT_MINOR_VERSION 14
#define WBCLIENT_VENDOR_VERSION "Samba libwbclient"
struct wbcLibraryDetails {
uint16_t major_version;
Expand Down Expand Up @@ -138,7 +140,8 @@ enum wbcSidType {
WBC_SID_NAME_DELETED=6,
WBC_SID_NAME_INVALID=7,
WBC_SID_NAME_UNKNOWN=8,
WBC_SID_NAME_COMPUTER=9
WBC_SID_NAME_COMPUTER=9,
WBC_SID_NAME_LABEL=10
};

/**
Expand Down Expand Up @@ -316,6 +319,7 @@ struct wbcChangePasswordParams {
#define WBC_MSV1_0_ALLOW_SERVER_TRUST_ACCOUNT 0x00000020
#define WBC_MSV1_0_RETURN_PROFILE_PATH 0x00000200
#define WBC_MSV1_0_ALLOW_WORKSTATION_TRUST_ACCOUNT 0x00000800
#define WBC_MSV1_0_ALLOW_MSVCHAPV2 0x00010000

/* wbcAuthUserParams->flags */

Expand Down Expand Up @@ -418,6 +422,7 @@ struct wbcAuthErrorInfo {
char *nt_string;
int32_t pam_error;
char *display_string;
uint8_t authoritative;
};

/**
Expand Down