Change the default email domain for SendMail / Ctrladdr / Nagios From Email

Hi,

I was searching to send Nagios alert email from a CentOS box. Normally when you setup your sendmail using a smart relay. The default email it’s always :
username@linux_hostname_fqdn. or nagios@nagiossrv.domain.local

to replace the @nagiossrv.domain.local. The only way I figure it out.

I modified the *** modify the hostname to have your domain name
/etc/sysconfig/network
HOSTNAME=nagiossrv.cyberblogue.com

change the cyberblogue.com for your domain name.

Now I modified the Host File.
/etc/hosts
127.0.0.1 cyberblogue.com nagiossrv.cyberblogue.com localhost …..
::1 cyberblogue.com nagiossrv.cyberblogue.com localhost …..

I added my domain first, after my server name.

Restart the server

Test your Nagios notification, this should be now from : nagios@cyberblogue.com (or in your case nagios@yourdomain.com

This should work.

8560w Windows 8 and Docking Station sounds issue

After a clean install of Windows 8 I was not able to have sound from external speakers connected to a docking station.

Install drivers from HP, reboot.

From the HP website I downloaded the drivers IDT Sound drivers but the installation return : Not a compatible Hardware.

2 options.

Option 1 :
In device management / Sound Video and Game Controller I deleted the High Definition Audio
Inject a driver from softpedia,
http://drivers.softpedia.com/progDownload/IDT-High-Definition-Audio-Driver-61064290-for-Windows-8-x64-Download-188054.html

Option 2:
In device management / Sound Video and Game Controller I deleted the High Definition Audio and try the installation of HP.

All is good.

Regenerate Self Signed Certificate Exchange 2007 / 2010

Hi,

To Regenerate the Self Signed Certificate for Exchange this might be a bit tricky.

Open the Exchange Power Shell.

For SBS Server the names of the certificates it’s sites, you need to get the certificate name to be able to regenerate.

Get-ExchangeCertificate -domain “Sites” | fl

Note the ThumbPrint Value.

Generate the New Certificates

Get-ExchangeCertificate -thumbprint “D1B3829EC891FD53C1F87FF8359FFBEE8E3FB412” | New-ExchangeCertificate

Answer A to All

Enable Exchange Certificate for all the services

Enable-ExchangeCertificate -thumbprint “D1B3829EC891FD53C1F87FF8359FFBEE8E3FB412” -services IIS

After the certificate renew, you might receive on the server and the workstation

“This Ca Root Certificate Is Not Trusted. To enable Trust, Install This Certificate In The Trusted Root Certification Authorities Store”

Go to the Default Web Site in IIS and remove the Self Signed Cert **** The old one **** Check the certificate Date. Right click the Default Web Site, Directory Security, Server Certificate, Next, and Remove the cert.

Open Certificates in MMC. Go to Run, MMC. File Add Remove Snap In, Add Certificates; Computer Account; Local Computer and Click OK.

Copy the new cert to the Trusted Root Certification Authorities Certificates.

Go back to the Default Website in IIS, Properties, Diretory Security, Server Certificate. Assign an existing certificate and choose the new cert that was created.

Open a prompt : IISRESET

Sage CRM 7.1 Installation Tips – Avoid creating the database during the install – Tips in a Clustering Install

Hi,

If you want to install Sage CRM to another Server and skip the creation of the database (if the CRM database already exist and in use in production the Setup will failed and Rollback).

This can be usefull if you want to transfer the CRM to another server or deploy a new CRM install in a Clustering Mode.

From a command prompt (cmd.exe) start the CRM Setup setup.exe with the option nodb

setup.exe nodb

Have Fun deploying several Node !

Service Pack :

“There’s no need for the nodb option for Service packs. Yes service packs might update the metadata, but it doesn’t affect the database if you re-run the same patch more than once. ” From Sage Support Level 3

Enterprise Activation on Blackberry Device Software 4 – 5 – 6 – 7

The BlackBerry smartphone user can start the wireless activation process after receiving the password by completing the following steps:

For BlackBerry Device Software 4.1 to 5.0:

  1. On the BlackBerry smartphone, click Options > Advanced Options > Enterprise Activation.
  2. Enter the email address associated with the BlackBerry smartphone user account in the Emailfield.
  3. Enter the Activation Password provided by the administrator.
  4. Press the Menu key and select Activate.

For BlackBerry 6 to 7:

  1. On the BlackBerry smartphone, click Options > Device > Advanced System Settings >Enterprise Activation.
  2. Enter the email address associated with the BlackBerry smartphone user account in the Emailfield.
  3. Enter the Activation Password provided by the administrator.
  4. Press the Menu key and select Activate.

LikeWise Ubuntu Login (including xRdp)

Adding users to sudoers

We will be editing /etc/sudoers file for this:
sudo gedit /etc/sudoers

Look for the following line:
# Members of the admin group may gain root privileges
%admin ALL=(ALL) ALL

Add a lines as explained below:

If you have set default domain
username ALL=(ALL) ALL # Allow specific account to sudo
domain^admins ALL=(ALL) # Allow admin group
domain^users ALL=(ALL) ALL # Allow all domain users

if you are not using default domain then you have to include the domain name:
%mydomain\yourusername ALL=(ALL) ALL
%mydomain\domain^admins ALL=(ALL) ALL
%mydomain\domain^users ALL=(ALL) ALL

Add domain username to login screen user list

sudo gedit /etc/gdm/custom.conf
Add the greeter part at the end of the file. Add your domain username to include section and any other you want to exclude.

[greeter]
Include=domainusername,domainusername2
Exclude=administrator,guest,nobody

Reference : http://www.krutant.com/2011/05/how-to-use-ubuntu-at-workplace.html

Sage CRM 7 Fileit issue Return a script error in the Page (Internet Explorer Error)

Hi,

In Outlook even if it’s 2010, 2007 and you use the Sage CRM Outlook Plug In : File it, you might receive an error look like :

 

To fix this issue, check the security profile in CRM for the users, in my case my issue was related to the Opportunity Security was set to “No Access”. I set a value of “View” and Magic, the user is able to do the File It.