From 0a89722671aa7fba8d7befa530dc69bb67260919 Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Tue, 17 Aug 2010 06:40:38 -0400 Subject: s3-ads: Remove unused function and file --- source3/libads/ads_proto.h | 2 -- source3/libads/ads_utils.c | 28 ---------------------------- 2 files changed, 30 deletions(-) delete mode 100644 source3/libads/ads_utils.c (limited to 'source3/libads') diff --git a/source3/libads/ads_proto.h b/source3/libads/ads_proto.h index aedd23f1c5..b9240346f6 100644 --- a/source3/libads/ads_proto.h +++ b/source3/libads/ads_proto.h @@ -9,8 +9,6 @@ ADS_STRUCT *ads_init(const char *realm, bool ads_set_sasl_wrap_flags(ADS_STRUCT *ads, int flags); void ads_destroy(ADS_STRUCT **ads); -const char *ads_get_ldap_server_name(ADS_STRUCT *ads); - /* The following definitions come from libads/disp_sec.c */ void ads_disp_sd(ADS_STRUCT *ads, TALLOC_CTX *mem_ctx, struct security_descriptor *sd); diff --git a/source3/libads/ads_utils.c b/source3/libads/ads_utils.c deleted file mode 100644 index ec3efa8550..0000000000 --- a/source3/libads/ads_utils.c +++ /dev/null @@ -1,28 +0,0 @@ -/* - Unix SMB/CIFS implementation. - ads (active directory) utility library - - Copyright (C) Stefan (metze) Metzmacher 2002 - Copyright (C) Andrew Tridgell 2001 - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -#include "includes.h" -#include "ads.h" - -const char *ads_get_ldap_server_name(ADS_STRUCT *ads) -{ - return ads->config.ldap_server_name; -} -- cgit