net: the success of secrets_init is checked by libnetjoin now.
authorGünther Deschner <gd@samba.org>
Mon, 14 Apr 2008 13:47:30 +0000 (15:47 +0200)
committerGünther Deschner <gd@samba.org>
Mon, 14 Apr 2008 13:47:30 +0000 (15:47 +0200)
Guenther
(This used to be commit 0a6a5d082426ca82accf18fffa7740683a42cac1)

source3/utils/net_ads.c

index 28ae7d7cedcd70df372063b7dac6d22e298470ba..9c8d1fbb1f41db1c06b7a45f5fff08bae5545ba8 100644 (file)
@@ -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;
 }