mount webdav SSL at windows 10 - linux

I have a webdav server on my linux machine with SSL authentication. I can mount this webdav at localhost, at remote linux machine and also at remote MacOS machine. It ask to accept the certificate and it mount.
Now I am trying to mount at windows 10. First, windows does not show any certificate to be accept. I transfer the certificate created on some remote linux machine like this: echo -n | openssl s_client -connect 145.117.144.230:443 | sed -ne '/-BEGIN CERTIFICATE-/,/-END CERTIFICATE-/p' > /etc/irods/ssl/145.117.144.230.crt and installed at the windows 10. I have installed at local machine for all users. The Certificate store I have used was "Trusted Root Certification Authorities". I also have used "Intermediate Certification Authorities". All that I use shows that the certificated was imported successfully. So I try to map the network drive https://ugp-repmed.fedora20.ebiocloud.amc.nl with credentials user/pass and show this message:
The mapped network drive could not be created because the following error has occurred: Mutual Authentication failed. The server's password is out of date at the domain controller.
If I try to connect through the browser I can accept the certificate and I can access, but read-only. I need to map the network drive and this error is stucking me. Does anybody know how to solve? Thanks

Is the authenticaton to the WebDAV server BASIC or DIGEST? With Windows 10 I believe the redirector only support DIGEST unless you modify the registry.
Try setting a DWORD BasicAuthLevel in HKLM\SYSTEM\CurrentControlSet\Services\WebClient\Parameters to "1"
Values are 0 (default) - 2
0 - Basic authentication disabled
1 - Basic authentication enabled for Secure Sockets Layer (SSL) shares only
2 or greater - Basic authentication enabled for SSL shares and for non-SSL shares

Related

Register UnifiedAgentConfiguration Azure Migrate

I am trying to install Unified Agent for Azure Migrate remotely following this guide: https://learn.microsoft.com/en-us/azure/migrate/tutorial-migrate-physical-virtual-machines#install-the-mobility-service
But running this command:
UnifiedAgentConfigurator.exe /CSEndPoint <replication appliance IP address> /PassphraseFilePath <Passphrase File Path>
results in
Starting silent configuration.
Running configuration for VmWare
Starting registration for VmWare platform
CS endpoint for registration - 10.10.1.7
Passphrase file for registration - c:\Temp\passphrase.txt
Preparing for registration
Invalid configuration server IP or connection passphrase provided.
My passphrase.txt file just contains the passphrase strng.
When running UnifiedAgentConfigurator.exe interactively and adding the same IP and passphrase, configuration succeeds as expected.
Is the passphrase file supposed to be formated in some undocumented way or is encoding of the text tile important?
Encoding did it.
'MyPassPhrase' | out-file C:\Temp\passphrase.txt -NoNewLine -encoding default

How to join an BITMAIN Antminer to a Microsoft Windows Server 2008 Active Directory

Let's start with "WHY?":#nerdsLoveToStartWithWhy
I'm developing a customized software to manage a crypto-mining farm where we need to communicate with miners (BITMAIN Antminer) by their hostname instead of IP (just for ease of use).
I know! But I don't want to scan IP ranges, then either SSH to them or use API to pull out the information such as the hostname
My Solution:(please share if you have a better solution)
I've configured a Microsoft Windows Server 2008 Active Directory & DNS with a domain name as ts.facility.com and I'm trying to join my Antminers to this domain.
Scenario:
The SRV1 is my AC DC and visible to the miners. The miner with a hostname as antMinerThree which is running a linux Angstrom V2013.12 are getting reply from the ACDC with its FQDN. the ntpdate package is installed as perquisite:
command: #opkg install ntpdate
Problem:
The problem for now is that when to install required packages:
samba
krb5-config
krb5-user
winbind
libpam-winbind
libnss-winbind
I got the following error: bmminer.list
Failed to open //var/lib/opkg/info/bmminer.list: No such file or directory.
and when I created manually an empty file bmminer.list in the path /var/lib/opkg/info/ I still get this error message, unless it no longer complains about missing bmminer.list:
Question
Does any body know, how to install required packages to joint this miner running Linux Angstrom V2013.12 to a Microsoft Windows Active Directory 2008 in order that I could ping my miners by hostname instead of by their IP addresses?

FTP over TLS/SSL in Linux without installing external package?

We have a non-root account on a Linux server, so it can not install package
we have to ftps to another machine in this server.
If I try this :
>ftp [machinName]
after inserting username, it shows the following error:
534 policy requires ssl ftp
how can I handle FTP over SSL without external package such as lftp, curl, ...
My Linux: SUSE Linux version 11
Most *nix servers come with some scripting language installed. PHP or Python have FTPS (FTP over TLS/SSL) functions.
So you can write a PHP/Python script for your FTPS task.
PHP: How to Send File over secure FTP SSL Protocol.
Python: FTPES - FTP over explicit TLS/SSL in Python

Rsync from Linux to Windows SFTP Server

I'm trying to sync documents to an Windows SFTP server via RSYNC on a Linux Machine.
This is my command
rsync -e ssh /home/antony/Documents/Test user1#172.20.1.18:Test
This is the error
exec request failed on channel 0
rsync connection unexpectedly closed (0 bytes recieved so far)[sender]
rsync error: unexplained error (code 255) at io.c(226) [sender=3.1.0]
The above may happen for several different reasons.
Maybe the SSH subsystem of rsync is refusing the server key, but this is unlikely because from your description seems like the server is "cutting" the connection, not the client.
Another possibility is that there is no SSH/SFTP server listening on the default port on 172.20.1.18
Or maybe password authentication is not enabled on the server, and you need to authenticate via PKI using a key that you (on the client side) do not have...
In any case, the best thing to do is to double check with the administrator who has configured the server side.

fix file permission to read write access squid configuration via php code in linux server centos with lamp setup

For my new project i have to configure cent os linux server with lamp setup and install squid proxy server. Installed machine will act as a server in client side. The main purpose of the count the amount of bandwidth, their mac address , ip address will be logged in server it is will act like a proxy server. Every user will be assigned with bandwidth, total browsing hours, username, password etc.
Each user can access INTERNET via installed proxy server after logging with the username and password defined to them.
User management, mac address, ip addreess fetching all will be done using php code with linux command enabled for mac address from client machine and also for blacklist website filter.
For every action of this project have to access squid configuration file located in /etc/squid/squid.conf for enabling internet support with mac filter and even iptables.
But when my php code try to access the /etc/squid/squid.conf for processing . It is unable to access the file for read, write, append operation.
In my server side i have define the file permission for /etc/squid/squid.conf with read write access with the code executing in my linux server
chmod 777 /etc/squid/squid.conf
After assign the permission also the person logged in to the server unable to access the squid file for processing.
Even the tried
chmod 666 /etc/squid/squid.conf
but no help
How i have to configure my file permission for /etc/squid/squid.conf so even my i logged user via apache server can access the file for processing
is selinux running ? you can temporary disable it with
setenforce 0
selinux may block apache to read your squid config as they are in 2 differents context even if the file is 777 and apache was running as root(bad ideal) . Here some redhat documentation about squid and selinux doc

Resources