auth: Remove linux_bigcrypt support from pass_check.c
[samba.git] / source4 / auth / ntlm / auth_unix.c
index 4cff61b60a9bdef782055efebdb5433f4cf7c1f9..d1f62858eae31c2350d79363052caf6e5ac75774 100644 (file)
@@ -542,14 +542,6 @@ static NTSTATUS password_check(const char *username, const char *password,
        
 #endif /* ULTRIX_AUTH */
        
-#ifdef LINUX_BIGCRYPT
-       ret = (linux_bigcrypt(password, salt, crypted));
-        if (ret) {
-               return NT_STATUS_OK;
-       } else {
-               return NT_STATUS_WRONG_PASSWORD;
-       }
-#endif /* LINUX_BIGCRYPT */
        
 #if defined(HAVE_BIGCRYPT) && defined(HAVE_CRYPT) && defined(USE_BOTH_CRYPT_CALLS)
        
@@ -650,15 +642,6 @@ static NTSTATUS check_unix_password(TALLOC_CTX *ctx, struct loadparm_context *lp
        }
 #endif
 
-#ifdef HAVE_GETPRPWNAM
-       {
-               struct pr_passwd *pr_pw = getprpwnam(pws->pw_name);
-               if (pr_pw && pr_pw->ufld.fd_encrypt) {
-                       crypted = talloc_strdup(ctx, pr_pw->ufld.fd_encrypt);
-                       NT_STATUS_HAVE_NO_MEMORY(crypted);
-               }
-       }
-#endif
 
 #ifdef HAVE_GETPWANAM
        {