summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-04-14 15:47:30 +0200
committerGünther Deschner <gd@samba.org>2008-04-14 15:47:30 +0200
commitfffb304fecdd26fd4410fc077afd43ff927407e8 (patch)
tree739fa8f80084684540ca635ed8c5275f9f2b1082
parente23911b0c30ef6dced054dac3518a99691a7c917 (diff)
downloadsamba-fffb304fecdd26fd4410fc077afd43ff927407e8.tar.gz
samba-fffb304fecdd26fd4410fc077afd43ff927407e8.tar.bz2
samba-fffb304fecdd26fd4410fc077afd43ff927407e8.zip
net: the success of secrets_init is checked by libnetjoin now.
Guenther (This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)
-rw-r--r--source3/utils/net_ads.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/source3/utils/net_ads.c b/source3/utils/net_ads.c
index 28ae7d7ced..9c8d1fbb1f 100644
--- a/source3/utils/net_ads.c
+++ b/source3/utils/net_ads.c
@@ -938,12 +938,6 @@ static NTSTATUS check_ads_config( void )
return NT_STATUS_INVALID_PARAMETER;
}
- if (!secrets_init()) {
- DEBUG(1,("Failed to initialise secrets database\n"));
- /* This is a good bet for failure of secrets_init ... */
- return NT_STATUS_ACCESS_DENIED;
- }
-
return NT_STATUS_OK;
}