Uncategories

NextCloud – LDAP | Slow Login

1. Disable Brute force Protection 2. Delete this MySql data: DELETE FROM oc_bruteforce_attempts Source: https://help.nextcloud.com/t/11-0-2-incredibly-slow-login/9475/17  

Advertisements
Uncategories

Nextcloud – SSO | Null

https://github.com/nextcloud/user_saml/issues/208 Edit this file: /var/www/html/nextcloud/apps/user_saml/lib/Controller/SAMLController.php search for @NoSameSiteCookieRequired and edit this line: /** * @PublicPage * @NoCSRFRequired * @UseSession * // @OnlyUnauthenticatedUsers * @NoSameSiteCookieRequired * * @return Http\RedirectResponse|void */ public function assertionConsumerService() { $AuthNRequestID = $this->session->get('user_saml.AuthNRequestID'); // if(is_null($AuthNRequestID) || $AuthNRequestID === '') { // return; // }  

Uncategories

Windows Firewall – Configure Specific IP Address for Rules

n this scenario, you enable firewall but still need to use file sharing to share file. Step: Open Windows Firewall Click Start Open Control Panel and search for  "Windows Firewall" Click Advanced Settings Click Inbound Rule In the right pane, find the related rules,  right-click and choose Properties Click on Scope tab. Under Local IP… Continue reading Windows Firewall – Configure Specific IP Address for Rules

Uncategories

Windows Firewall – How to Allow Ping Request Only

In this scenario, you enable firewall but still need to use file sharing to share file. Step: Open Windows Firewall Click Start Open Control Panel and search for  "Windows Firewall" Click Advanced Settings Click Inbound Rule In the right pane, find File and Printer Sharing (Echo Request - ICMPv4-In) rules and and right-click each rules. Then,… Continue reading Windows Firewall – How to Allow Ping Request Only

Uncategories

Windows Firewall – How to Allow File Sharing only

In this scenario, you enable firewall but still need to use file sharing to share file. Step: Open Windows Firewall Click Start Open Control Panel and search for  "Windows Firewall" Click Advanced Settings Click Inbound Rule In the right pane, find the below rules and and right-click each rules. Then, choose Enable Rule File and… Continue reading Windows Firewall – How to Allow File Sharing only

Uncategories

Nextcloud – MIME Type Mapping

  Source: https://github.com/nextcloud/server/blob/master/resources/config/mimetypemapping.dist.json "3gp": ["video/3gpp"], "7z": ["application/x-7z-compressed"], "accdb": ["application/msaccess"], "ai": ["application/illustrator"], "apk": ["application/vnd.android.package-archive"], "arw": ["image/x-dcraw"], "avi": ["video/x-msvideo"], "bash": ["text/x-shellscript"], "bat": ["application/x-msdos-program"], "blend": ["application/x-blender"], "bin": ["application/x-bin"], "bmp": ["image/bmp"], "bpg": ["image/bpg"], "bz2": ["application/x-bzip2"], "cb7": ["application/x-cbr"], "cba": ["application/x-cbr"], "cbr": ["application/x-cbr"], "cbt": ["application/x-cbr"], "cbtc": ["application/x-cbr"], "cbz": ["application/x-cbr"], "cc": ["text/x-c"], "cdr": ["application/coreldraw"], "class": ["application/java"], "cmd": ["application/cmd"], "cnf": ["text/plain"], "conf": ["text/plain"],… Continue reading Nextcloud – MIME Type Mapping