diff options
Diffstat (limited to 'source3')
-rw-r--r-- | source3/Makefile.in | 2 | ||||
-rw-r--r-- | source3/libads/ads_proto.h | 2 | ||||
-rw-r--r-- | source3/libads/ads_utils.c | 28 |
3 files changed, 1 insertions, 31 deletions
diff --git a/source3/Makefile.in b/source3/Makefile.in index fac4e0be5e..6d08f43590 100644 --- a/source3/Makefile.in +++ b/source3/Makefile.in @@ -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 \ 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 <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; -} |