Welcome to my website. I am always posting links to photo albums, art, technology and other creations. Everything that you will see on my numerous personal sites is powered by the formVistaTM Website Management Engine.

icon.linkedin.jpgicon.twitter.jpg

  • How to Configure a User Account in Active Directory So that the Password Never Expires
    06/09/2016 3:54PM

    Using ADSI Edit, navigate to the user in question.  Right-click on the user and select Properties.

    Then, scroll down to the 'userAccountControl' property and click the Edit button.

    Enter 66048 into the field and then click 'OK' and then 'Apply'.

    After closing the edit window, scroll to the right to confirm that the value indicates the following: '0x10200 = (NORMAL_ACCOUNT|DONT_EXPIRE_PASSWORD)'

  • How to Configure a Linux Client for Active Directory Authentication
    04/26/2016 9:06PM
    I am currently working on setting up multiple environments for a new project (DEV, QA, and PROD) and will be integrating all of the servers to an Active Directory Domain Controller for user management.

    Following are notes from when I configured a Fedora Core 18 laptop to integrate with an AD server.  It is likely things have changed some from then and I will update this as required for a current version of RHEL7/CentOS 7.

      Run the following commands as a local user with root priveleges:

      . Installed necessary packages:
        . # yum install sssd-tools adcli realmd
        . sssd will not have the /etc/sssd/sssd.conf file installed until you join a domain (see below) so do not try to configure it.

      . disabled selinux
        . Perhaps selinux can be re-enabled after joining and configuration?

      . search for a realm:
        . # realm discover -v
    # realm discover -v
     * Looking up our DHCP domain
     * Discovering for DHCP domain: somedomain.com
     * Searching for kerberos SRV records for domain: _kerberos._udp.somedomain.com
     * Searching for MSDCS SRV records on domain: _kerberos._tcp.dc._msdcs.somedomain.com
     * server1.somedomain.com:88 server2.somedomain.com:88 server3.somedomain.com:88
     * Found kerberos DNS records for: somedomain.com
     * Found AD style DNS records for: somedomain.com
     * Successfully discovered: somedomain.com
    somedomain.com
      type: kerberos
      realm-name: SOMEDOMAIN.COM
      domain-name: somedomain.com
      configured: kerberos-member
      server-software: active-directory
      client-software: sssd
      required-package: sssd-tools
      required-package: sssd
      required-package: adcli
      required-package: samba-common
      login-formats: SOMEDOMAIN\%U
      login-policy: allow-any-login

      . joined the domain:
        . # realm join -U admin --verbose somedomain.com

      . allowed all lotame users to login
        . # realm permit --realm somedomain.com --all

      . Add the home directory paths
        . # mkdir /home/SOMEDOMAIN

      . chkconfig on sssd:
        . # systemctl enable sssd

      . Log out from the local user account and then log in as a user in the domain:
        . uid: SOMEDOMAIN\uid
        . This will log you in as that user and create a home account in /home/SOMEDOMAIN/uid
  • Running Multiple Instances of Notepad++ Under Windows 7
    06/17/2014 4:51PM

    If you want to run multiple versions of Notepad++ under Windows 7 create a .bat file with the following:

     "C:\Program Files (x86)\Notepad++\notepad++.exe" -multiInst %1

    And simply run the bat file via a cmd prompt/ 

  • Pin a "Show Desktop" Link to the Task Bar in Windows 7
    05/19/2014 12:16PM

    To create a short cut and pin it to the task bar in Windows 7 do the following:

    1. Right-click on the Desktop and select New -> Shortcut.
    2. Enter the following in the field labeled "Type the location of the item:"  %windir%\explorer.exe shell:::{3080F90D-D7AD-11D9-BD98-0000947B0257}
    3. Click "Next" and name the shortcut and then click "Finish".
    4. Update the icon so that you will recognize it when you pin it to the task bar.  To do so, right-click on the shortcut and select "Change Icon"
    5. Paste the following in the "Look for icons in this file"  %SystemRoot%\system32\imageres.dll
    6. Select an appropriate icon and click "Apply" and then "OK".
    7. Right-click on the icon and select "Pin to Taskbar".
  • Internet Explorer Not Deleting Session Cookies
    09/06/2013 2:12PM

    If you are trying to delete session cookies, those cookies with an expires or max-age value of -1 or no value set for that property, in Internet Explorer, you will probably notice that deleting them from the controls in the browser, does not actually delete them.

    Evidently, the IE cookie implementation only writes persistent cookies to the file system and maintains the session cookies in RAM.  Moreover, when telling the browser to delete the cookies, it only deletes the cookies from the file system and does not delete them from RAM.

    To delete session cookies in IE, you will need to restart the browser.

  • 1 2 3 4 >>
Advanced Search

Categories

Archives