Update User Password using PowerShell

In PowerShell type: Set-ADAccountPassword

cmdlet Set-ADAccountPassword at command pipeline position 1
Supply values for the following parameters:
Identity: john
Please enter the current password for ‘CN=john,OU=world,OU=Service Accounts,OU=Users,OU=IT,DC=com,DC=acme,DC=net’
Password:
*****
Please enter the desired password for ‘CN=john,OU=world,OU=Service Accounts,OU=Users,OU=IT,DC=com,DC=acme,DC=net’
Password:
*****
Repeat Password: ****

Unable to change R_VERSION_LABEL using DFC

Until Documentum Foundation Classes version 22.4 using Java 17.5 it’s not possible using DFC to change/append to the R_VERSION_LABEL (and several other attributes) even as an superuser/administrator.

To fix below you have to the java VM Arguments:

-Djava.locale.providers=COMPAT,SPI –add-opens=java.base/java.lang=ALL-UNNAMED –add-opens=java.base/java.lang.invoke=ALL-UNNAMED

Then you are able to update any attribute on an object

New Webhosting

I have shifted to a new webhosting provider.

The old one increased the price 4 times, so it goodbye Servage.net and hello NordicWay.dk.

First impression is it seems the performance of NordicWay.dk is much faster.

I like their control panel, it’s easy to use and there is lots of apps to install.

The transfer went smooth except I forgot to change the name server and had to create a support incident.

They were nice even when I complained that things wasn’t working and I had paid them to move the Web site.

They pointed out to me that I haven’t read the instructions and the mails they had send to me. During the move they didn’t change the name server because then my current Website would stop working and I should do it myself when I was ready to switch over to them.

They showed me how to change the name server and everything is working fine now.

It nice to know that the support is working when you need it.

We are up to a good start!

Got a Chromebook

My Laptop crashed during Christmas due to a beer in the keyboard ­čÖü So I had to get a new.

I only use the Laptop for Browsing/Social Media so I didn’t want to buy a new Windows PC.

I was thinking about an Android tablet but I hate not having a keyboard.

But you can get a keyboard for a tablet as well so that was fine forme. I have tried these before and was not impressed.

Of Course all the tablets I liked was sold out ­čÖü

A Chromebook representative got hold of me and recommended a Chromebook and it was cheaper than a tablet.

You can run Android Apps so all your apps on your phone will work and there is Office apps to write letters, make budget etc.

I got a Lenovo Chromebook IdeaPad Flex 5 and am I happy? Ohh yes, it’s great. Nice screen and great speed.

No, it can’t run Windows apps but it run most Linux apps just fine, so it fulfill all my needs.

One think I found after a week of use is there is no Delete key on the keyboard. I was like WHAT??? and found out it’s by design ­čÖü There is an alternative to the Delete key and that is to use the <ALT><BACKSPACE> key. I can live with that but it does bug me a bit ­čśë

If I find anything that bugs me or find solutions to problems I will let you know.

Happy New year.

Google is slow on Kubuntu 18.04

I upgrade from Kubuntu 16.04 to 18.04 and after was Google Chrome really slow at starting. It took about half a minute to start and this annoyed me a bit.

As I always do when an app is in trouble I start it from Konsole and got this error:

Failed to call method: org.freedesktop.Notifications.GetCapabilities: object_path= /org/freedesktop/Notifications: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

I search the net but could only find information about the notifications-demon and I tried to install it with the recommendation from others (https://askubuntu.com/questions/52960/notify-send-does-nothing-yet-libnotify-is-installed#53644) but still Google Chrome was slow.

At a site I read something about the notification widget was not added to the desktop panel or desktop (sorry – lost the reference) and right after I added the notification widget to the panel Google Chrome start right away.

Warning during apt-get update: perl: warning: Setting locale failed.

I have an Ubuntu server 14.04 and got the message during system update:

?> sudo apt-get -y dist-upgrade
...
perl: warning: Setting locale failed.
perl: warning: Please check that your locale settings:
LANGUAGE = (unset),
LC_ALL = (unset),
LC_TIME = "en_US.UTF-8",
LC_MONETARY = "en_US.UTF-8",
LC_ADDRESS = "en_US.UTF-8",
LC_TELEPHONE = "en_US.UTF-8",
LC_NAME = "en_US.UTF-8",
LC_MEASUREMENT = "en_US.UTF-8",
LC_IDENTIFICATION = "en_US.UTF-8",
LC_NUMERIC = "en_US.UTF-8",
LC_PAPER = "en_US.UTF-8",
LANG = "en_US.UTF-8"
are supported and installed on your system.
perl: warning: Falling back to the standard locale ("C").
locale: Cannot set LC_CTYPE to default locale: No such file or directory
locale: Cannot set LC_MESSAGES to default locale: No such file or directory
locale: Cannot set LC_ALL to default locale: No such file or directory
...

To solve this you will have to compile the locale definitions:

?> sudo locale-gen en_US en_US.UTF-8

and then reconfigure the locale setup:

?> sudo dpkg-reconfigure locales

Problem solved!

LibreElec 7.0 and MCE remote

I just bought my self a ODroid C2 to be my LibreElec Media Center (http://libreelec.tv).

LibreElec don’t have an image for my new ODroid but an image can be downloaded from the ODroid forum (http://forum.odroid.com/viewtopic.php?f=138&t=20415&hilit=ir+remote).

On Linux you will have to use the dd command to wrote the image to an eMMC/SD module:

?> sudo dd if=<image filename> of=/dev/sdx bs=4M

?> sudo sync

Be careful to write to the correct device or you might loose all data on a disk drive (use the lsblk command to list all disk drives).

Then insert the eMMC/SD module in the the ODroid C2 and connect HDMI, mouse, keyboard and at last the power.

LibreElec should boot up and be ready to use except for your MCE remote.

There is a hole big process to record IR signals from your remote but thats not very easy and my results have not been good.

The easiest way is the get Lirc MCE config file from a standard installation and copy it to the /storage/.config folder on the ODroid C2.

Either install Lirc on an computer and find the file lircd.conf.mceusb or download the file :lircd.conf

To copy it to the ODroid C2 do:

?> scp lircd.conf.mceusb root@libreelec:/storeage/.config/lircd.conf

Reboot the ODroid and the MCE remote should be working now.

W: There is no public key available for the following key IDs: ‘XXXXX’

Have you seen this during a apt-get update:

?> sudo apt-get update
Ign http://dk.archive.ubuntu.com trusty InRelease
Hit http://ppa.launchpad.net trusty InRelease
Hit http://security.ubuntu.com trusty-security InRelease
Hit http://dk.archive.ubuntu.com trusty-updates InRelease
Ign http://extras.ubuntu.com trusty InRelease
......
Reading package lists... Done
W: There is no public key available for the following key IDs:
1397BC53640DB551

Then you are missing a public key in the database.

To solve the problem do:

?> sudo -i bash
[sudo] password for <username>:

?> apt-get install debian-keyring debian-archive-keyring

?> gpg --keyserver keyserver.ubuntu.com --recv 1397BC53640DB551
gpg: requesting key 640DB551 from hkp server keyserver.ubuntu.com
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key D38B4796: public key "Google Inc. (Linux Packages Signing Authority) <linux-packages-keymaster@google.com>" imported
gpg: no ultimately trusted keys found
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)

?> gpg --export 1397BC53640DB551 | apt-key add -
OK

?> exit

Now will it be possible to update the package system.