summaryrefslogtreecommitdiff
path: root/source3/nsswitch/libwbclient
diff options
context:
space:
mode:
Diffstat (limited to 'source3/nsswitch/libwbclient')
-rw-r--r--source3/nsswitch/libwbclient/wbc_util.c4
-rw-r--r--source3/nsswitch/libwbclient/wbclient.h2
2 files changed, 3 insertions, 3 deletions
diff --git a/source3/nsswitch/libwbclient/wbc_util.c b/source3/nsswitch/libwbclient/wbc_util.c
index 69cad380da..a1b6626bd3 100644
--- a/source3/nsswitch/libwbclient/wbc_util.c
+++ b/source3/nsswitch/libwbclient/wbc_util.c
@@ -237,12 +237,12 @@ wbcErr wbcResolveWinsByName(const char *name, char **ip)
* @return #wbcErr
*
**/
-wbcErr wbcResolveWinsByIP(const char *ip, const char **name)
+wbcErr wbcResolveWinsByIP(const char *ip, char **name)
{
struct winbindd_request request;
struct winbindd_response response;
wbcErr wbc_status = WBC_ERR_UNKNOWN_FAILURE;
- const char *name_str;
+ char *name_str;
ZERO_STRUCT(request);
ZERO_STRUCT(response);
diff --git a/source3/nsswitch/libwbclient/wbclient.h b/source3/nsswitch/libwbclient/wbclient.h
index a444c91da4..d73ea297a3 100644
--- a/source3/nsswitch/libwbclient/wbclient.h
+++ b/source3/nsswitch/libwbclient/wbclient.h
@@ -426,7 +426,7 @@ wbcErr wbcAuthenticateUserEx(const struct wbcAuthUserParams *params,
* Resolve functions
*/
wbcErr wbcResolveWinsByName(const char *name, char **ip);
-wbcErr wbcResolveWinsByIP(const char *ip, const char **name);
+wbcErr wbcResolveWinsByIP(const char *ip, char **name);
/*
* Trusted domain functions