summaryrefslogtreecommitdiff
path: root/source3/param/loadparm.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2016-02-27 04:23:58 +0100
committerStefan Metzmacher <metze@samba.org>2016-04-12 19:25:26 +0200
commit57b04e805d1b6a8857547d511d551637c49d3d32 (patch)
tree4900f064752dc6a38b3d6d1ef5ed48e476bd01c9 /source3/param/loadparm.c
parentb6debbcfec1dd87028a37027539f0480e09080be (diff)
downloadsamba-57b04e805d1b6a8857547d511d551637c49d3d32.tar.gz
CVE-2016-2115: s3:winbindd: use lp_client_ipc_{min,max}_protocol()
BUG: https://bugzilla.samba.org/show_bug.cgi?id=11756 Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Ralph Boehme <slow@samba.org>
Diffstat (limited to 'source3/param/loadparm.c')
-rw-r--r--source3/param/loadparm.c9
1 files changed, 0 insertions, 9 deletions
diff --git a/source3/param/loadparm.c b/source3/param/loadparm.c
index a893c5db939..e251a988c55 100644
--- a/source3/param/loadparm.c
+++ b/source3/param/loadparm.c
@@ -4438,15 +4438,6 @@ int lp_client_max_protocol(void)
return client_max_protocol;
}
-int lp_winbindd_max_protocol(void)
-{
- int client_max_protocol = lp__client_max_protocol();
- if (client_max_protocol == PROTOCOL_DEFAULT) {
- return PROTOCOL_LATEST;
- }
- return client_max_protocol;
-}
-
int lp_client_ipc_min_protocol(void)
{
int client_ipc_min_protocol = lp__client_ipc_min_protocol();