We help IT Professionals succeed at work.

Golang

644

Solutions

1K

Contributors

Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.

In the toast pop ups, the firewall being disabled notification will keep popping up despite every effort to disable it - via policy, via registry hack.....anyone have any insight to this?
0
hi got server 2016 as Active directory.
i want to know about a particular user"Ä", in which computer he has lastly logged on to or which computer he was using ? how do i find it out from active directory ? ?


got more than 100 computers in domain, cannot go into each computer and search for his user profile. so is there any way to find out which particular computer the user "ä" has used lastly ?
0
Hi

 

current setup.

1. login to 3rd party web app using ADFS

2. WIA works from domain joined clients on LAN

3. all external clients login using forms based og login page on ADFS

4. internal non-domain joined clients and iPads/Macs won't fallback to username/password on internal LAN, and will somehow go directly to 3rd parties web app showing Accecss Denied

5. 3rd party web app is configured to use WIA when auth request comes from our LAN public IPs, and password protect when it comes from any other public IPs

 

Problem.

1. having non-domain joined clients, and non windows systems fallback to username/password auth when on LAN

 

Troubleshooting steps taken

1. get-AdfsGlobalAuthenticationPolicy

PrimaryIntranetAuthenticationProvider - (FormsAuthentication, WindowsAuthentication)

WindowsIntegratedFallbackEnabled - True

2. added Chrome iOS agent to supported agents (Mozilla/5.0 (Macintosh; Intel Mac OSX)

 

Will this have to be tweaked at 3rd party web app aswell?
We have other 3rd party systems configured and they work with WIA fallback
0
Here is a weird one for account lockouts.

We have a GPO (Server 2012 R2) that sets a user's SSID with RADIUS (EAP), it all works and the user connects with a W10 endpoint via a Meraki WAP (MR42). For about 10/475 endpoints/users constant lockouts happen. We have domain controller logging enabled (nltest /dbflag:0x2080ffff) on the DCs and it tells us its coming from our NPS server that handles the RADIUS authentications. I also see these EAP failures on the WAP logs for the specific workstation so I know its coming from the endpoints.

We've cleared out all the credentials on the workstations but we still find that NPS if locking it out.

We also go to the endpoint and test connecting via WiFI/SSID and it works just fine.

This happens for a few times in a row and then stops for hours.
We've even tried to turn off WiFi and still see these events happen.

I see the repeated log entry until it locks out:
11/07 14:40:32 [LOGON] [8732] -DOMAIN HERE-: SamLogon: Transitive Network logon of DOMAIN\nvega from  (via NPS01) Entered
11/07 14:40:32 [CRITICAL] [8732] NlPrintRpcDebug: Couldn't get EEInfo for I_NetLogonSamLogonEx: 1761 (may be legitimate for 0xc000006a)
11/07 14:40:32 [LOGON] [8732] -DOMAIN HERE-: SamLogon: Transitive Network logon of DOMAIN\nvega from  (via NPS01) Returns 0xC000006A

Open in new window


The lockout event:
11/07 12:51:47 [LOGON] [8388] -DOMAIN HERE-: SamLogon: Transitive Network logon of DOMAIN\nvega from  (via NPS01) Entered
11/07 12:51:47 [CRITICAL] [8388] NlPrintRpcDebug: Couldn't get EEInfo for I_NetLogonSamLogonEx: 1761 (may be legitimate for 0xc0000234)
11/07 12:51:47 [LOGON] [8388] -DOMAIN HERE-: SamLogon: Transitive Network logon of DOMAIN\nvega from  (via NPS01) Returns 0xC0000234

Open in new window


These log entries match-up with the DC's Event Viewer's security section.
0
Hi

We have been given Cisco Firepower 1010 firewall to use at a site and we need help with configuring site to site VPN.

Here is the current status

1. We don't have what's called the FMC, we only use FTD which is the built-in management web interface for the device. I know there is command line also available via terminal but I have no clue about how to use it. I am more of a GUI person.
2. I have managed to configure the basic settings so I can get on the Internet from behind the firewall.
3. I have also configured site to site VPN with the remote site. Remote site is using a Draytek Router and Draytek side it is showing that the VPN has been established. On Firepower side, I can't see the status in the GUI but command line (show crypto isakmp sa) is showing VPN to be up. I googled that command I don't know CLI commands for cisco.
4. So VPN is up but can't route traffic between the two sites either ways.

I am aware that in Cisco firewalls, just doing VPN isn't enough, you have to do firewall rules or policies etc. I don't know where to do it from GUI and I have a feeling it might not even be possible via GUI in this device. That's fine as long as someone can help me create those rules and policies using command line.

Need to go live next week so any urgent help will be greatly appreciated.
0
Hi,

 

Can you help on this?

 I am using .net 2017(4.5.2).

Rebex.Net.Sftp.dll is not working in Visual studio .net version 2017 (4.5.2) which was working fine in Visual studio .net version 2015 .

 

In 2015, the same dll was working fine without license key but in 2017 it is not working without license key.

 

please help to provide a similar dll which works in .net version 4.5.2 without license key.

 

Error message as below:

 

Trial license key for Rebex.Sftp not set. Please go to  https://www.rebex.net/support/trial-key.aspx to get one and start your 30-day trial period.

Can you please provide any other services to connect to remote server? which dlls i need to download also?
0
We have a Hybrid Exchange 2010 deployment. Our AD is on premise and we have AD-Cloud Sync.
 
We have 3 admins on our IT team. All 3 users have no issues with the on premise Exchange 2010 system. Users 1 and 2 have no issues with the online admin center. User 3 has a very strange issue with the admin portal.
 
User 3 can log in to the online admin portal without issue. The issues start when user 3 tries to make any changes via the Office 365 Administration Portal. Example ; If user 3 tries to forward someone's email, he can make the changes, but when he hits save, it spins and spins and finally errors out with "Couldn't update mailbox ‎email forwarding‎ info."  Users 1 and 2 can go in and forward that email without issue.
 
Another example: User 1 or 2 forwards someone's email. They save changes without issue. We test that email, and it is forwarding. If user 3 logs in to the admin portal and checks on that user, it shows no forwarding enabled.

Another example: If user 3 tries to initial a 'New-PSSession' in Powershell to start an 'Start-ADSyncSyncCycle', they get the Following Error:
New-PSSession : [ps.outlook.com] Connecting to remote server ps.outlook.com failed with the following error message :
[ClientAccessServer=BY5PR17CA0003,BackEndServer=,RequestId=f976645c-43f5-4fdb-9971-ffbc5a85abd1,TimeStamp=11/1/2019
5:17:43 PM] Access Denied For more information, see the about_Remote_Troubleshooting Help topic.
At line:1 char:13
+ $Session2 = New-PSSession 

Open in new window

1
Hello,

We are in the process of building a new server for all of our vessels. With the G8 DL380 we used all mechanical SAS drives in a raid 1 config with 2 arrays.

In order to duplicate the server (all our vessels run the exact same server) we would simply switch off the server and remove slots 1 and 3, place them in the new server and boot - no problem, worked every-time as long as you pressed F2 to accept that there was drives missing from the array. We would then put new drives in and mirror both arrays before being able to repeat the process.

Now with the new Gen 10 its not so simple it seems. When we have the drives in the new server it will recognize the the arrays, if we go into the array controller we can see that its aware of the missing drives and presumably would mirror OK however we have not tried. The problem is that it will not boot, even if we set what the boot volume is in the array controller. If we try to use Hirens boot USB with the array controller driver added it will see the SAS SSD (boot array, we use SSD for boot as the vessels need faster boot times in case of emergency) however the disk is not initialized and wont. The mechanical SAS is seen with a volume but its not accessible.

Does anyone know what process we should follow to move the array? We are making sure the source server is fully shutdown before we take disks 1 and 3 out. The drives are new HP drives. The process has been tried twice. Hirens boot USB can see the volume's OK on …
0
I have a problem with windows server 2008 r1 x64 not being able to update system center endpoint protection.

Looking at the logs I get
Event id 2001 source Microsoft Antimalware
It states The specified network name is no longer available. error code: 0x80070040 &  0x80072efd previous engine version: 1.1.16400.2. current engine version states nothing. I am able to go to the source path without any issues. the updated files are there.
0
I am trying to run VMFleet on a new Storage Spaces Direct Hyper-Converged cluster when I try to fun the create-fleet powershell script an internal hyper-v switch is added to both nodes they stay up for a few seconds then go partitioned if I remove on the other will come up same thing happens if I manually create an internal switch and the fleet VM's never get created any ideas?
0
Dear All,

   
    after updated latest version of Google Chrome, it shows below, try to go to setting, it doesn't doesn't response, any idea ?

Aw, Snap !
something went wrong while displaying this webpage;


Keith
0
I have a situation where I need to clone my existing hard drive to another hard drive and be able to boot from either drive at startup. The drive is running  running Centos 6.  I have cloned the disk successfully, and I then booted to rescue mode via dvd for each disk (only 1 sata plugged in at a time), and ran grub-install /dev/sda.  Now I can boot from either drive successfully if only 1 HD is plugged in.  How can I configure grub with both harddrives plugged in so I can choose which one I want to boot?  I think there is a layer of difficulty here because both drives are identical.  UUID's are same for the drives and /etc/fstab mounts the boot partition from "UUID"  /boot. Would I be able to change /etc/fstab to mount /dev/sda1 /boot on first drive and /dev/sdb1 /boot on second drive?  And how would I go about installing grub so it will boot successfully from either drive?
0
Hello,

I'm trying to figure out the best way to connect our current phone system to CRM.
Right now we are rocking with a block of DID’s on a PRI and our phones run through the internet on a dedicated PRI from Comcast.
We have an NEC PBX connected to the Comcast service with NEX UX5000 phones for the sales team.
I don't know where I would start to find a financially viable option that replaces our setup.
I want to keep our current phone numbers, Would I replace out PBX with a cloud PBX such as ring central which easily integrates with CRM's such as salesforce?
Would I replace everything including the Comcast PRI trunk service and go with an all in one package?
I have little phone system knowledge I just want a phone system that can integrate with CRM and has access to answer calls on a phone and see calls come up on the screen.
0
I have an Access database that has several users. The database uses mscomct2.ocx and comdlg32.ocx. Two weeks ago there were some enterprise-wide updates that were theoretically unrelated to the database (they were for Windows and SAP). However, something in the updates had the effect of deleting mscomct2.ocx from all the computers which caused problems for the Access database.

Once we discovered this, we reinstalled and re-registered mscomct2.ocx on all the machines (they're all Windows 10) and they are now all working fine except for one of them.

On the one machine, if I go in to VBA and Tools / References, I see that those controls are there and they aren't showing up as missing. The files are also where they should be (\windows\syswow64) and they're the same versions as on the other PC's.

But when Access tries to use either of those controls, we get the following error:

Run-time error '-2147319779 (8002801d)':
Automation error
Library not registered.


So we're unable to use the portions of the database that need those controls. But just on that one computer.

We've tried unregistering and re-registering the controls.

Any suggestions on how to resolve this problem?

James
0
Hello,
I'm trying to move to the next record of my table with this gadget I made but I realize that there are ID numbers that are missing (which have been deliberately deleted).
I can not therefore go to the next recording if it does not exist.
Do you have an idea?

For example :
Reference BC19000001 exists
Reference BC19000002 exists
Reference BC19000003 does not exist
Reference BC19000004 exists
I'm looking to go from 2 to 4 since 3 does not exist

<?php
$Stat2 = $pdo->query("SELECT MAX(Reference) AS Nb FROM tb_shop_recap");
$data2 = $Stat2->fetch(PDO::FETCH_ASSOC);

	if($data["Reference"] == $data2["Nb"]) {
	echo "<a class='btn btn-success' disabled>Suivant</a>";
	} else {
		$Reference = explode("BC", $data["Reference"]);
		$FA = $Reference[0];
		$NM = $Reference[1];
		$RF = "BC".sprintf('%08d', $NM + 1);

		echo "<a href='editer.php?page=".$RF."' class='btn btn-success'>Suivant</a>";
	}
?>

Open in new window

0
We recently had someone click on a corrupt e-mail attachment.  Since then others in the organization have been getting bogus e-mails that “look” like they are coming from this user; the users name is in the ‘To’ but the e-mail address is different from the real user’s e-mail address.  After examining the headers of several of these bogus e-mail’s, the ‘From’ e-mail address is always from the outside and not from inside our domain.

Real user: John Smith <jsmith@ourdomain.com>
Bogus user from: John Smith <muto.yasuhiro@hikkoshi-sakai.co.jp>

I am trying to setup a transport rule to:
Forward all e-mail from [John Smith] (or any real domain user) to a “support” e-mail address outside the domain.
Then delete the message without putting bogus e-mail message in the ‘To’ user’s inbox.

I have tried this but I can’t get the message to NOT go to the ‘To’ user’s inbox.
Exchange Management Console -> Organization Configuration -> Hub Transport
Rule:
Conditions
From users that are 'Outside the organization'
   and sent to users that are 'Inside the organization'
   and when the From address matches 'John Smith'
Actions
   redirect the message to 'support@otherdomain.com'
0
I have a client that wants to disable the way MS Office uses the last used printer as default when printing the next document.  

Example: Users default printer is HP, user opens any office product, goes to print, the default is HP, they choose Dell printer for this document, print, then go back to any office product and the printer is still on Dell, not the default HP.  

Other non-Microsoft programs do not behave this way.
0
I have a 6.7 standalone host configured for the following storage.


RAID 1 (SSD) - ESXi OS

RAID 5 (HDD) - VM Storage


I would like to put the VM swap files on the SSD. If I go to Host\Manage\System\Swap, I have the following configured



Enabled: Yes

Datastore: ESXi

Host cache: Yes

Local swap: Yes



Any issues putting the VM swap files on the same LUN that contains ESXi?
0
One of my Mac users can get to the internet due to a self-assigned IP address. I tried removing com.apple.airport.preferences.plist, NetworkInterface.plist but didn't see com.apple.network.identification.plist.  Initially, I removed com.apple.alf.plist and rebooted. The issue did not go away.
0
Hi experts,

I am trying To design a golang set of REST api to connect different applications to a single api endpoint.

Basicaly, i would like users to login once on the first api call (user to golang), and then use my go code to pass authentication To backend application that are also connected To keycloak.

Does anyone have experience / example / flows that match my needs ?

Best Regards.

Grégoire
1
Dear All,


           I have a WSUS server, and recently have update such as KB4511872 , 4512506, 4512486, 4511872, 4512506, some computer has installed this update, and cant boot into window and goes to repair mode, after repaired succeed, it loop back to window updates, and it goes to repair mode again, and I go to WSUS console and declined these update, but I realized these update still push back to computer, any idea how I can really declined these update ? any help would be appreciated


keith
0
In MS Word, when you want to print the page (in a long document) where the cursor currently is, its pretty easy you just go print current page.

How can you do the same in a Google document without having to look up what page you are on?
0
Windows 7 - 64 Bit.  Had been working fine.   When you click the icon, you get an hourglass for a couple of seconds and then it goes away.   You see two instances of Chrome in task manager, but they go away after about 30 seconds.

Here is what I have done all to no avail:

1.  Tried starting Chrome in Safe Mode
2.  Uninstalled & Re-Installed chrome (told it to delete the settings)
3,  Deleted Chrome registry entries and deleted the "Chrome" folder in both %appdata% and %localappdata%
4.  Tried running as administrator.   Also checked rights under security.
5.   Ran the netsh winsock reset routine
6.   Rebooted the computer multiple times.
7.   Turned off Anti-Virus and Firewall temporarily.
8.   System restore to a date/time where it was working.

Have tried running from a desktop shortcut, task bar & directly from the program folder.  Internet Explorer works fine, but we need Chrome as some websites we use don't render well under IE.
0
Hey all,

With the increased threat of threats out there, I am wondering if I am doing enough for my clients and would like some sort of input as to what I should be doing more of to combat the threat of cybercrime

My usual Firewall install for a client is a Sophos XG with Threat protection, IPS & AV enabled with SSL VPN setups for people accessing the network. I suppose I am one of those people who want to make sure I have done everything to protect a network and want to ask a stupid question.. when it comes to RDP brute force attacks, if we don't have any WAN>LAN rules to open RDP ports, are we safe or do we need to physically go in and disable RDP protocol on every machine.

I know the threat has been around for ages but I need to get some clarification on this so any serious answers accepted, please.
0
I'm trying to use Twilio to create a ringless voicemail with Twilio.

I'm using PHP to write this in ideally.

I'm open to other options as well.

Can anyone tell me how I would go about doing this?
0

Golang

644

Solutions

1K

Contributors

Golang, also called Go, is an open source programming language that is a statically-typed language with syntax loosely derived from C, adding automatic memory management, type safety, some dynamic-typing capabilities, additional built-in types such as variable-length arrays and key-value maps, and a large standard library. Go is a general-purpose systems programming language that aims to be efficient both for development and execution with a focus on fast compilation and increased maintainability of large projects. Go was originally targeted at systems programming tasks such as building server/web applications, high throughput middleware and databases.