![]() ![]() ![]() When I try Enter-PSSession and connect to DC, every single command take several minutes to execute, for example if I run Get-Date, it take another 2-5 minutes to execute. Where $creds contains something like domain\lastname.firstname (also tried and password, it takes from 2 to 5 minutes to execute this command. When I use from linux server, it runs well too, however when I run something like this from linux server Invoke-Command -ComputerName 192.168.2.11 -Credential $creds -Authentication Negotiate -ScriptBlock I'm able to connect to DC from remote computer via putty and it runs smoothly. I've added the linux computer to trustedHosts on DC. On DC I added OpenSSH server and turned firewall off. I have installed latest versions 7.2 on both linux and domain controller. I'm trying to achieve this using powershell via ssh. I have LDAP only (because of some apps which are not supporting LDAPS), so I'm unable to set password directly from PHP. This application is running on Apache and Debian 11. I have PHP application to create user accounts in our Windows Active Directory.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |