Author: Ted Salmon

  • Managing SSH Keys Stored in Active Directory

    In a [[https://blog.laslabs.com/2016/08/storing-ssh-keys-in-active-directory/|previous blog post]] we discussed how we can allow users to store their keys in Active Directory and automatically deploy those keys. Now, we will explore how we can allow users to manage SSH keys stored in this manor. First, we need to allow users to update their own `sshPublicKeys` attribute. Allowing self-write…

  • Run external scripts inside Odoo’s environment

    Run external scripts inside Odoo’s environment

    You may run into a situation where you want to script actions in Odoo but do not necessarily want to run them within Odoo or its shell. To this end, we have devised a way to load and interact with the Odoo environment within a Python script. Our use case was a [[https://github.com/laslabs/server-tools/tree/release/9.0/auto_backup/auto_backup|slow executing backup…

  • Storing SSH keys in Active Directory for easy deployment

    Storing SSH keys in Active Directory for easy deployment

    Public key authentication has long been considered one of the most secure methods of remote SSH authentication. However, using the same key-pair for more than one machine can pose security risks, especially if that key is not secured by a passphrase but managing unique keys for each system a user has access to can be nightmare inducing. For this…