From fffb304fecdd26fd4410fc077afd43ff927407e8 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Mon, 14 Apr 2008 15:47:30 +0200 Subject: net: the success of secrets_init is checked by libnetjoin now. Guenther (This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1) --- source3/utils/net_ads.c | 6 ------ 1 file changed, 6 deletions(-) (limited to 'source3/utils') 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; } -- cgit