s3-ads: Remove unused function and file
authorSimo Sorce <idra@samba.org>
Tue, 17 Aug 2010 10:40:38 +0000 (06:40 -0400)
committerSimo Sorce <idra@samba.org>
Tue, 17 Aug 2010 10:48:56 +0000 (06:48 -0400)
source3/Makefile.in
source3/libads/ads_proto.h
source3/libads/ads_utils.c [deleted file]

index fac4e0be5e74006aa9cba57c05bb8153a6512a2d..6d08f43590adc0db330d69e0b5e6882e4a424848 100644 (file)
@@ -460,7 +460,7 @@ LIBADS_OBJ = libads/ldap.o \
             libads/kerberos_util.o \
             libads/ldap_user.o \
             libads/ads_struct.o libads/kerberos_keytab.o \
-             libads/disp_sec.o libads/ads_utils.o libads/ldap_utils.o \
+             libads/disp_sec.o libads/ldap_utils.o \
             libads/ldap_schema.o libads/util.o libads/ndr.o
 
 LIBADS_SERVER_OBJ = libads/kerberos_verify.o libads/authdata.o \
index aedd23f1c5d667e84c65a01d9e5ac4d4b088ffa8..b9240346f66686f1183a6c95898886bcaed9ee4c 100644 (file)
@@ -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 (file)
index ec3efa8..0000000
+++ /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 <http://www.gnu.org/licenses/>.
-*/
-
-#include "includes.h"
-#include "ads.h"
-
-const char *ads_get_ldap_server_name(ADS_STRUCT *ads)
-{
-       return ads->config.ldap_server_name;
-}